Commit Graph

10255 Commits

Author SHA1 Message Date
ru
44504bfcfe Ask that "make cleandepend" be run before "make depend", now that
we don't do this automatically.

Suggested by:	bde
2005-04-22 17:42:50 +00:00
suz
c5878c0103 plugged memory leak
Obtained from: KAME
MFC after: 2 days
2005-04-21 13:21:48 +00:00
marcel
20299da114 Build pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-)
Ok'd by: jkoshy@
2005-04-20 20:51:37 +00:00
jkoshy
0099b6af80 Remove superfluous CFLAGS lines. Use the conditional '?=' construct
for WARNS lines.

Submitted by:	ru
2005-04-19 14:43:59 +00:00
jkoshy
e4bccc0bab Remove superfluous CFLAGS additions. Make 'make checkdpadd' work.
Use '?=' for the WARNS line.

Submitted by:	ru
2005-04-19 14:40:50 +00:00
jkoshy
e1b64a256f Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".
Pointed out by:	ru.
2005-04-19 14:27:43 +00:00
jkoshy
8561b9852a Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by:	alc, jhb (kernel changes)
2005-04-19 04:01:25 +00:00
mdodd
e217465822 Support for the GTCO Digipad. 2005-04-13 07:25:45 +00:00
mdodd
ed315b8449 Add the -S flag which produces the -s output without
mixing field separators.
2005-04-13 07:11:54 +00:00
hrs
3ff751d8da Add -S option which allows to change the pathname of the privileged
socket /var/run/logpriv.

Reviewed by:	glebius and kensmith
MFC after:	2 days
2005-04-13 03:19:41 +00:00
thomas
cfb0b173df (handler): When exitting upon an abnormal signal, yppush_exit() should not
attempt to clear its pending jobs list, as this could trigger another
signal, and cause an infinite recursion. What yppush_exit() tests
in order to determine whether to flush pending jobs is the
yppush_joblist chained list, so this is what needs to be cleared
in that case (not the yppush_jobs counter).

Reviewed by:	audit@ (no objection)
MFC after:	2 weeks
2005-04-12 15:02:57 +00:00
jhb
16a451fc32 Explicitly install linux_base 8 to make sure the right version is
installed.

PR:		bin/74593
Submitted by:	Matteo Riondato rionda at gufi dot org
MFC after:	3 days
2005-04-12 01:05:50 +00:00
dds
b6c6edad0f Remove wrong -unfilled .Bd argument implied by -literal.
MFC after:	1 day
2005-04-11 16:56:52 +00:00
njl
3bfc89fbb2 Drop the default running value to 60% from 80%. Testing shows that we
cycle too much, wasting power if we trigger a jump to full speed too
easily.  CPU-bound tasks quickly push idle below this level.
2005-04-10 20:42:55 +00:00
njl
a3f1ddca31 Add support for recording the total energy used (in joules) when in
verbose mode.  This is useful for profiling new adaptive algorithms
in performance (via time(1)) and total energy consumed for a given
workload.
2005-04-10 19:02:29 +00:00
stefanf
efcbd0fe51 Remove an unused variable and a useless getuid() declaration. 2005-04-09 15:00:51 +00:00
stefanf
26c68ab576 Remove unused variables. 2005-04-09 14:59:10 +00:00
scottl
f8a82a3bbe Document how to make boot0cfg work on mounted disks. 2005-04-07 20:04:55 +00:00
imp
a01423a533 Allow one to specify a second parameter to the machine line. This
allows us to specify the machine_arch as well as machine.  If
specified then a second link will be made, similar to machine, from
$MACHINE_ARCH to $S/$MACHINE_ARCH/include.

This is for ports where MACHINE != MACHINE_ARCH (pc98 today, others in
the future?).

Reviewed by: arch@, nyan@
2005-04-01 22:54:22 +00:00
imp
6413f98a26 Since there are now more than a couple exceptions to the i386 rule,
group them better.
2005-04-01 01:45:03 +00:00
imp
c2b9bdf860 There's no wl cards for PC98. These are ISA only, and no cbus
versions exist, much less having support for it in the wl driver.
Therefore, don't build wlconfig.
2005-04-01 00:57:22 +00:00
imp
223ab51d57 pcvt doesn't exist on pc98, so don't build pcvt routines that have no
value.
2005-04-01 00:32:45 +00:00
imp
2512e77ee2 There's no acpi in pc98 machines, nor do we build it into the kernel.
Therefore, don't build the acpi userland binaries either.

OK'd by: nate
2005-04-01 00:30:42 +00:00
imp
90e5c9cefe style(9) nits 2005-03-30 21:45:08 +00:00
nyan
6542b132f4 Add over 32GB disk support on pc98 (userland part).
Submitted by:	Hirokazu WATANABE
2005-03-30 13:03:33 +00:00
wpaul
7f2b859b08 Attach ndiscvt(8) to the amd64 build. 2005-03-30 02:44:46 +00:00
anholt
e8916542f2 Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of
"%" PRIu64 "x".
2005-03-29 20:17:47 +00:00
tobez
456eaef987 Adds sha256 support. While it is a good idea to also add sha384 and
sha512, I did not do that since it is not entirely clear where "the one
true place" to hold their implementations is going to be.  Sha256 is
different since mtree already links against libmd.

Make recommended procedure for integrity checking in the manpage
consistent.

Fix a bug with -f spec1 -f spec2 comparison, which prevented
test/tes03.sh from running successfully.

Reviewed by:	phk, cperciva
2005-03-29 11:44:17 +00:00
jhb
55776e6957 Change the Romania NTP server to point to a working server.
Submitted by:	Ion-Mihai Tetcu itetcu at people dot tecnik93 dot com
MFC after:	3 days
2005-03-28 22:24:32 +00:00
glebius
e9647d892f Check that supplied facility is not bigger than LOG_NFACILITIES.
PR:		bin/79260
Submitted by:	Shuichi KITAGUCHI
2005-03-28 10:59:19 +00:00
des
b096447f43 Unstaticize config. It was being optimized away.
MFC after:	3 days
2005-03-27 13:44:00 +00:00
jmg
f1c38252e6 add some additional pci classes and sub-classes..
Reviewed by:	imp (almost 6 months ago)
2005-03-26 20:31:09 +00:00
kensmith
5120c302cc Update parsing of the ports INDEX file to accomodate some new
fields that got added to it recently-ish.  While here document
what each of the fields is based on discussion with portmgr@.

Patch from:     murray (slightly adapted)
MFC after:	1 day
2005-03-24 23:03:39 +00:00
mdodd
696b713c3a POWERSTATECHANGE was misspelled. 2005-03-24 01:26:40 +00:00
glebius
2a7075d2d6 Implement "verbose" optional keyword for "show" command. This is analog
of Cisco's "show ip cache verbose flow" command.
2005-03-23 09:40:18 +00:00
keramida
86c5197f62 Use a designator for initializing only one member of the nlist
structs, making pstat WARNS=3 clean on i386, sparc64 and amd64.

Bump WARNS level to 3.

Approved by:	sam, pjd
2005-03-21 18:11:31 +00:00
keramida
41e10827fa - Add a -h flag to pstat to print swap sizes in "human readable"
format, with humanize_number(3).

- Move the common parts of the code that prints the sizes for a single
  swap device and the total to a single function to avoid repeating
  the humanize_number() stuff all over the place.

- Change the type of CONVERT() from intmax_t to int64_t, since this
  makes calling humanize_number() easier but cast the values to
  intmax_t before printing them, to make use of the %jd format that
  printf() supports.

- Document the new -h flag in the manpage and bump its date.

Approved by:	pjd
Useful tips:	brooks
MFC after:	2 weeks
2005-03-21 16:36:05 +00:00
marcus
f2a863a630 Change the PATH for pkg_add to be the same used for pointyhat package builds.
This will give our users and porters a more consistent experience between
installing ports and installing packages.

Discussed with:	portmgr
2005-03-19 19:20:19 +00:00
murray
a7a295d1ee Add Central European and Slovak keymaps to sysinstall.
PR:		misc/78701
MFC after:	1 week
2005-03-19 02:28:02 +00:00
marius
c053ae6d4f When disarming a watchdog by using an interval of WD_TO_NEVER a non-zero
return value of the ioctl doesn't indicate that the command has failed
so don't let watchdog(8) return an error in this case.

MFC after:	3 days
2005-03-19 01:46:37 +00:00
murray
2d062030c3 Use the correct variable name for the description of multi-volume
support in cdrom.inf.  Should be CD_VOLUME.
2005-03-18 01:05:46 +00:00
murray
d647fc4c15 Recover gracefully if the user puts in the wrong CD volume after being
prompted to insert another CD for a package.

MFC After:	3 days
2005-03-18 00:55:12 +00:00
cognet
64b8fa6ad4 Consumers of nfslockdans() seems to think it should return 0 on success, so
make it so.
2005-03-16 23:55:48 +00:00
philip
296f33fea9 time_t is signed, so s/uintmax_t/intmax_t/g. Has anyone got an extra pointy
hat for me?  I'm running out of them.

Spotted by:	des
Pointy hat to:	philip
2005-03-15 14:52:11 +00:00
philip
1771f7ae01 Cast time_t to uintmax_t so they can be printed as %ju without breaking on
various architectures.  This should appease tinderbox on alpha and not break
it anywhere else.

Suggested by:	harti
2005-03-15 10:45:42 +00:00
philip
2000fd782c Make this compile properly on 64bit machines.
Pointy hat to:	philip
2005-03-14 23:01:25 +00:00
philip
7fbb2694d3 Add snmp_pf, a bsnmpd module for monitoring (not managing!) pf firewalls.
Currently implemented are most things related to states and interfaces, todo
are address tables and altq.  I've tried to keep this roughly in sync with a
project implementing this for net-snmpd.

Reviewed by:	harti, dhartmei
MFC after:	1 month
2005-03-14 22:16:39 +00:00
harti
f1adba120a Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules.
These modules are modules for the daemon, not for the library so
they should be where the daemon is.
2005-03-14 17:32:16 +00:00
maxim
9d06ca9fce o Improve the example a bit.
Submitted by:	hrs
2005-03-14 14:12:29 +00:00
maxim
de44efa64d Sort xrefs 2005-03-14 12:24:34 +00:00