Commit Graph

6847 Commits

Author SHA1 Message Date
pooka
3c143ba9cd * Make isdnd unlearn that an isdn interface has two B channels, so that it
is possible to support 30-channel primary rate adapters.
  Mostly from jml@cubical.fi via FreeBSD.
* Follow kernel naming trend: bri => isdnif
2004-03-28 20:49:22 +00:00
mrg
9d85438b05 give explicit dependancies where needed.. 2004-03-28 09:35:26 +00:00
martti
93c07ca49d Remove generated iplang_l.c 2004-03-28 09:21:10 +00:00
martti
84f2cae1d0 Added missing deps 2004-03-28 09:17:33 +00:00
martti
09d643ce42 Added ippool and libipf 2004-03-28 09:03:38 +00:00
martti
621e9bac7f Sync with official IPFilter 2004-03-28 09:01:26 +00:00
dsl
c89c679638 fffv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:11:47 +00:00
dsl
893680a09a ffsv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:08:50 +00:00
dsl
709ea0150b Rework previous to avoid checking FS_FLAGS_UPDATED for ffsv2 2004-03-27 11:31:22 +00:00
mrg
1505f78b5b - move the row printing code into it's own function.
- pay attention to interval processing with row printing (-r -iN).

the latter fixes PR#24522.
2004-03-25 01:26:57 +00:00
garbled
59b0a9509c Move the "Form Page:" status over slightly. Suggested by Peter Postma 2004-03-24 22:03:17 +00:00
garbled
0c0dadc4d9 Apply patch from PR 24832 to allow line lengths longer than 80 chars in
sushi forms.  By Peter Postma.
2004-03-24 19:14:07 +00:00
garbled
732560ccbd Add patches from Peter Postma in PR 24755 to cleanup output in sushi:
* hide the cursor everywhere except in forms (looks nicer)
        * fix repaint with lists (from TODO)
        * fix the form page (removes XXX)
        * force a pos_form_cursor() after every keypress in the forms
          to ensure that the selected field got the focus.
        * tweak the status message a bit.
2004-03-24 19:10:58 +00:00
wiz
4db64d9590 Bump date for previous, and use Em for
emphasis instead of Sy for symbolic for marking up a warning.
2004-03-24 11:26:16 +00:00
fair
91a52bbfc3 Document that TCP wrappers do not work on UDP services, per PR 18960 2004-03-24 04:31:34 +00:00
jdc
4c3bfcd943 Change the "exact match" parameter of set_field_type() to TRUE, to match
the change to match_enum() in libform (src/lib/libform/type_enum.c:r1.8).
From Brett Lymn.
Fixes PR bin/24604.
2004-03-22 19:03:19 +00:00
wiz
eca6d46226 Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.
2004-03-22 11:42:51 +00:00
dsl
a78ca7231d When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 22:07:22 +00:00
dsl
43d718b987 When searching for the superblock, don't pick an ffsv1 superblock from the
location where we expect to find an ffsv2 superblock.
It could be the first alternate for a ffsv1 filesystem with 64k blocks.
Fixes part of PR kern/24809
2004-03-21 21:18:40 +00:00
martin
3259bd6456 Bail out with a proper error message when mandatory configuration entries
are missing. While there improve error messages slightly.
Inspired by PR kern/24807.
2004-03-21 16:31:22 +00:00
dsl
42e3b20f75 Fix PR kern/24809 properly... 2004-03-21 12:37:48 +00:00
mrg
057c3b737e in -r mode, if given "-s sensor_list", only list the given sensors instead
of always listing them all
2004-03-21 10:52:26 +00:00
wiz
08abac00be New sentence, new line; use Ev for environment variable;
use "its" where correct; use standard section headers; add missing .Os.
2004-03-20 18:54:33 +00:00
dsl
9d06a8cddd When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
2004-03-20 14:09:44 +00:00
jdolecek
ac4f86b471 log also the time when the job finishes (with CMD FINISH tag), and change
the tag for job start log to ``CMD START''

adresses PR bin/22201 by John Hawkinson
2004-03-20 10:42:00 +00:00
jdolecek
098027866f when encoding the command for printing in logs, use strvisx() instead
of homegrown code, and skip leading white space
2004-03-20 10:38:34 +00:00
jdolecek
580f716bfc document -x - adresses PR bin/22201 by John Hawkinson
reference rc.d framework instead of rc/rc.local
sprinkle couple more .Pa's
2004-03-20 10:04:13 +00:00
jdolecek
251e6a062a convert to mandoc, bump date 2004-03-20 09:18:03 +00:00
jmc
6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
keihan
21e07a3de8 s/netbsd.org/NetBSD.org/g 2004-03-16 14:31:15 +00:00
lukem
709e718d29 fix a typo in a comment, and expand the description of x86_boot_params. 2004-03-14 23:05:47 +00:00
wiz
46d960757a Add example to keymap description. Use more macros. Bump date. 2004-03-13 23:43:45 +00:00
dsl
7b024ef69c Add a -o keymap=zyz option that will set the boot keymap.
If a character in the map is typed, it gets replaced by the one following.
2004-03-13 22:51:50 +00:00
garbled
c5fb5d0d44 Apply patch from Peter Postma to fix the handling of nfsd_flags in rc.conf. 2004-03-10 19:03:16 +00:00
garbled
8a2d792237 Apply revised patch from bin/24647 by Peter Postma:
Adds a confirmation check before processing the data you have entered, or
sushi has entered for you on a form.
2004-03-09 20:26:24 +00:00
garbled
0f7c881113 Apply patch from Peter Postma on tech-userlevel:
I've made a patch for sushi(8) for setting environment variables at startup.
This might be useful when a user needs a different terminal type.
The patch also fixes the searchpaths when the config file does not
contain any.
2004-03-09 20:16:16 +00:00
garbled
0e2f4ba6c4 Apply patches from bin/24642 by Peter Postma to fix the "no help is
available" message from sushi's help system.
2004-03-09 19:22:22 +00:00
garbled
1c06ce13b0 Apply patch from PR bin/24559 to fix incomplete lines in some forms.
From Peter Postma
2004-03-09 19:10:20 +00:00
itojun
3e6b951d2a use "volatile sig_atomic_t" for gothup; Havard Eidnes 2004-03-06 20:29:25 +00:00
itojun
451af9862c make SIGHUP handler very small, and call init() from the main poll() loop.
should fix PR bin/24682.
2004-03-06 14:41:59 +00:00
itojun
26e2172ca7 MAX_IFS is no longer needed. Maxim Konovalov 2004-02-28 19:27:49 +00:00
enami
0790d0f46f Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are
interpreted as documented/expected rather than "0 0 1 1 0-7" /
"0 0 1 * 0-7" / "0 0 1-31 * 0" respectively.  Fixes PR#24547.
2004-02-27 23:22:09 +00:00
dbj
c4278791eb for -x -I output, use just MB instead of MB/s in header 2004-02-25 03:39:14 +00:00
wiz
d5d52b4515 Fix some typos. 2004-02-24 15:12:18 +00:00
jdc
d853cbbaf4 Make pstat -f work on sparc by adjusting the offset of the buffer passed
to sysctl in getfiles().

XXX: Possibly the correct fix is to make sysctl() not return an array which
contains structs with different alignment constraints.
2004-02-22 12:30:11 +00:00
lukem
804acb39e4 be more explicit in describing how the default local IP address is determined 2004-02-22 11:34:16 +00:00
wiz
e3fc4b66c3 Spell the plural of suffix "suffixes", not "suffices".
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
wiz
f582138c1b Uppercase CPU. 2004-02-13 10:11:56 +00:00
itojun
5d2c970d68 fflush(stdout) on -A. KAME-PR-584 2004-02-10 14:44:32 +00:00
wiz
d77d1962dd s/transmitts/transmits/
From Gavin Atkinson (FreeBSD bug 62346) via jmc@openbsd
2004-02-09 15:43:05 +00:00
jdolecek
c98a00090a minor constification 2004-02-07 12:31:15 +00:00
grant
47af3cdb37 no .Ek before .Bk. 2004-02-07 09:41:36 +00:00
jmmv
fb74f324b6 Use the correct size when clearing an array. 2004-02-05 16:11:31 +00:00
jmmv
046f9ce786 Print a new line after an information message. 2004-02-05 16:07:51 +00:00
wiz
d03fd459c0 New sentence, new line. 2004-02-04 14:25:13 +00:00
jdolecek
93ce8444b4 note DMA is only used in ECP mode, and only with enabled interrupts
also move the DMA section after the mode section
2004-02-03 21:50:27 +00:00
jdolecek
80b6d6890a make 'dma' yes|no as rest of the flags 2004-02-03 21:46:39 +00:00
jdolecek
e2ea95d4b0 support the new intr, prime and autolf flags, and update manpage
accordingly
2004-02-03 21:32:02 +00:00
jdolecek
223035c365 add RCS Id 2004-02-03 20:04:56 +00:00
jdolecek
bf888d66c5 adapt to changed lpt_mode_t elements, too 2004-02-03 20:04:10 +00:00
jdolecek
4330b5a40e adapt to ioctl interface changes, and g/c the verbose action messages 2004-02-03 20:00:22 +00:00
soren
12e7c81811 As pointed out by Dave Huang, revert back to using 273.15 rather than 273.16
when converting between kelvin and celsius.
2004-02-02 10:36:19 +00:00
soren
cf458c9f73 C = K + 273.16. 2004-02-02 07:55:14 +00:00
ross
4875c0a7d0 Handle new-style error return from mknod/pack_dev.c 2004-01-30 19:09:03 +00:00
reed
027c7dd739 Make sure that the Fake mode would give a Verbose message about
the package to be deleted.  (Previously, the Fake mode only mentioned
deinstalling other dependent packages but didn't say anything
Verbose about the package itself.)
2004-01-29 17:41:49 +00:00
reed
ab83e1a00d Improve explanations of the -R and -r options. This is partially
based on ideas from Greg A. Woods posted to netbsd-bugs list on
23/Jan/2004.
2004-01-29 01:56:17 +00:00
jdolecek
dac0c48d86 copyright police 2004-01-28 17:54:03 +00:00
jdolecek
e38936f913 simplify print_lpt_info() 2004-01-28 09:21:55 +00:00
lukem
041ddd7062 Fix dependency for .version.
Noted by Geoff Wing in [bin/24244]
2004-01-27 02:17:46 +00:00
seb
fb913be01a Add missing flags from the synopsis.
Fix pasto in -S flag description.

Approved by wiz@.
2004-01-26 09:28:10 +00:00
atatat
3e0cc7e92c Print device names and mount points, if at all possible, instead of
just printing device numbers.
2004-01-25 21:49:04 +00:00
cube
6894b27b47 Allow quoting using single or double quotes inside inetd.conf. Closes
PR 24192 by Tyler Retzlaff.
2004-01-25 10:00:17 +00:00
itojun
c0819ecd5d do not disclose endian/alignment by probe packet. from dreaadt@openbsd
via kame
2004-01-25 03:26:30 +00:00
wiz
27ccd5bd0f Remove trailing whitespace. 2004-01-23 20:55:19 +00:00
fair
60093a49f7 Commit patch from PR 22539 to document adding ".SYS" to filenames.
New sentence, new line. Change date. Expand "MOP" as Maintenance
Operations Protocol for permuted index.
2004-01-23 20:46:38 +00:00
wiz
e07bd1cab3 Use more macros; |fmt. 2004-01-23 19:56:07 +00:00
wiz
e6e47632f7 Drop trailing whitespace. 2004-01-23 19:51:26 +00:00
wrstuden
00675c7efd Re-add support for wiconfig wiX -A #, which chooses between OpenSys and
Shared Key authentication.

From discussions with dyoung regarding how to get my Prism-based Netgear
card working with my Airport base station. Latter now works with
wiconfig wi0 -A 2. :-)
2004-01-23 02:32:52 +00:00
bjh21
f782033436 Add RCSID comments. 2004-01-21 00:33:37 +00:00
matt
da824b22a2 Forgot to remove #include <stdbool.h> 2004-01-20 22:24:28 +00:00
matt
d6276d7620 Remove "bool" support for now since some platforms are still not able to
cope with it.
2004-01-20 22:11:02 +00:00
jdolecek
7b931f4e42 make standard userland Makefile and enable WARNS=3 2004-01-19 23:34:15 +00:00
jdolecek
8808fb2847 g/c some mdoc.template remains, add info to HISTORY and sprinkle
some .Pa
2004-01-19 23:32:42 +00:00
jdolecek
9062e24a41 some KNF, use err(), make some stuff static and get buildable
with WARNS=3
2004-01-19 23:31:18 +00:00
jdolecek
e23cd1a78a Import Gary Thorpe's netbsd-ppbus 1.3. This is NetBSD port
of FreeBSD Parallel Port Bus framework. Work in progress.
2004-01-19 23:22:23 +00:00
itojun
a69a0241a1 bump date 2004-01-16 02:28:42 +00:00
agc
478a76b17a At package creation time, record the targets of symbolic links which
are installed as part of the package.

Enable the verification of the integrity of any symbolic links
in the package in "pkg_admin check".

Add a check to pkg_delete to verify the integrity of the symbolic link
before deletion, and to act in the same way as an MD5 failure if the
symbolic link has been modified since package creation time.

Bump version number.

Addresses PR 23048 from Klaus Klein.
2004-01-15 09:33:38 +00:00
jlam
0c45ef07f3 Don't warn and abort if a package with the same ${PKGBASE} already exists
if we're installed a depoted package.
2004-01-14 23:32:36 +00:00
yamt
45717cbc50 init_file: copy status_info from static storage so that
statd doesn't always use the same "status" number.
2004-01-14 10:29:46 +00:00
yamt
65c4e197a1 reset_host: reset actual host infos rather than reset copies of them. 2004-01-14 10:28:17 +00:00
agc
f8d5e607b8 Add -S argument to useradd, usermod and userdel, which allows the use of
a trailing '$' character in user names.

Requested in PR 23922 by Takahiro Kambe.

Also, fix a bug in the previous fix to usermod.
2004-01-14 09:35:33 +00:00
itojun
bde9df6596 bump version string 2004-01-14 09:21:41 +00:00
agc
e75d2f492c Fixes from Todd Miller in PR 24070.
Revert fgetln/asprintf changes from rev 1.26 - fgetln(3) does not return
a NUL-terminated string, so using strchr(3) is inappropriate. As the entry
from the password file is a known size, there's no need to use fgetln(3),
just use fgets(3) for consistency. This also means that an inappropriate
cast to int from asprintf(3) is unneeded, which was apparently causing
problems on OpenBSD's sparc64 port - just be consistent and use snprintf(3).
2004-01-14 08:25:30 +00:00
grant
83867bd596 no need to include errno.h. 2004-01-14 01:50:06 +00:00
grant
99871d087e use ${MACHINE_ARCH} instead of what uname() puts into utsname.machine.
the former represents the CPU architecture, which is what is recorded
in binary packages.

also allow the OS name to be overridden, as pkgsrc doesn't always use
the value of utsname.sysname.

bump version to 20030113.
2004-01-13 08:30:34 +00:00
lukem
8c09d1d81a support MKSHARE=no 2004-01-12 01:18:12 +00:00
hannken
067a3b897d Update the file system snapshot driver:
- Document the kernel thread.
- Rename some functions and variables.
- Return EROFS where appropriate.
- Use shifts instead of 64-bit divide.
- Use a simple_lock to make it MP-safe.
- Add M_CANFAIL to malloc to avoid panic on large cluster size.
- Allow sparse file for backing store and use VOP_BALLOC() to allocate
  space. Default size of backing store is the size of the file system.
2004-01-11 19:05:26 +00:00
christos
9103779d38 Add more info that recent amd's want. XXX: this is not cross-build friendly. 2004-01-11 18:37:35 +00:00
christos
8baf088e39 PR/17103: FUKAUMI Naoki: Make this print the correct OS version and other
info. This breaks each time someone imports a new amd.
2004-01-11 18:37:01 +00:00
itojun
71ee6e8bea typo (struct member name - has to be rtm_addrs). from fujitsu 2004-01-08 06:56:25 +00:00
itojun
c257ec3afe backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
wiz
0d0f4c1fdd Fix MAX macro; from Jeff Ito in PR 24008. 2004-01-06 23:02:55 +00:00
wiz
b00ba831b1 Fix typo; new sentence, new line;
drop trailing spaces; add comma in enumeration.
2004-01-06 16:22:06 +00:00
hubertf
26d5e2165c Rework a bit to describe the pkg wildcards in their own
section, etc.
2004-01-06 16:15:06 +00:00
hubertf
81887c8837 update for -D being default now for pkg_info 2004-01-06 15:51:44 +00:00
hubertf
df32174c19 pkg_info(1) now also shows post-install message by default, if present 2004-01-06 15:48:47 +00:00
wiz
b6728a9600 Remove unused max macro. From Jeff Ito in PR 23995. 2004-01-06 13:30:56 +00:00
wiz
727fd51b35 Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995. 2004-01-06 13:29:55 +00:00
wiz
a2eb139ce9 getopt still looks for -c (killed long ago)
remove unneeded break; after usage();
From Jeff Ito in PR 23994.
2004-01-06 13:28:20 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz
6cd16c1552 New sentence, new line; sort options. 2004-01-05 18:46:44 +00:00
wiz
e055b80b2e Add -l to usage. 2004-01-05 18:46:33 +00:00
christos
f3e0632950 document -l, bump date, thanks wiz 2004-01-05 17:43:44 +00:00
christos
f2563a1a34 don't allow -l without -a 2004-01-05 17:43:25 +00:00
wiz
64b5cffc26 Collapse single letter options. Sort option descriptions. 2004-01-05 17:27:17 +00:00
wiz
d8ca651179 Add -q to usage. 2004-01-05 17:26:57 +00:00
jmmv
e9d1ef2910 Add the xconsole_delay property which specifies the number of seconds to
wait when returning from the X console before reactivating the mouse.
Some systems may require more than the default (or may want less to get
faster response).
2004-01-05 12:16:25 +00:00
jmmv
506d12cd39 Add 2004 to copyright notice because of previous change. 2004-01-05 12:04:46 +00:00
jmmv
d6a1e75dd8 Call wscons mode hooks before and after generic_wscons_event. This is to
allow the selection mode hide the mouse before the device is closed, thus
fixing a minor problem (the pointer remained visible when returning from
X for some seconds).
2004-01-05 12:01:52 +00:00
jmmv
033feda138 Fix xconsole handling (enable the mouse properly when returning from X).
Closes PR bin/23223 by FUKAUMI Naoki.
2004-01-05 11:17:14 +00:00
jmmv
1b5b2c057b fifo, ttystat and xconsole properties are generic (used by all modes), so
move them to their respective section.  Fixes part of PR bin/23223.
2004-01-05 10:59:19 +00:00
jmmv
4414164694 Recognize the "fifo" property (again) in configuration files. This was lost
in some previous commit...
2004-01-05 10:56:02 +00:00
christos
43c0378045 PR/23971: Robert Elz: Quotacheck fails when max uid is present and takes
forever if there are large gaps in the uid space. It also does not work
properly with the fsck preen code it uses.
2004-01-05 00:17:07 +00:00
martin
06eb7200cc Add support to call scripts at carrier detect/drop time (on network
interfaces that report this).
Basically from Brian Grayson, fixes his PR bin/23191.
2004-01-04 22:19:51 +00:00
jdolecek
0d3df21f35 use system() to spawn editor, so that it's possible to use EDITOR
setting which includes options; this reinstates functionality lost in rev 1.18
2004-01-04 09:09:56 +00:00
hubertf
d7b7063649 In the "quick depends pre-scan", first print all bad matching depends,
then exit (instead printing one conflicting pkg/version on each run).
2004-01-04 01:47:35 +00:00
dbj
1c29b89d88 add stddef.h include and remove shadowed local var. 2004-01-04 00:21:29 +00:00
lukem
f64aa6de5c Only build ntp-keygen if ${MKCRYPTO}!="no".
(There appears to be partial support in the ntp-keygen sources
for compiling without -DOPENSSL, but it's not functional).
2004-01-04 00:06:34 +00:00
lukem
5e982c6b1f Only define OPENSSL and use -lcrypto if ${MKCRYPTO}!="no" 2004-01-04 00:04:52 +00:00
wiz
7aab07409d Bump date for previous. 2004-01-03 21:05:21 +00:00
dbj
94c4dbf954 restore traditional output for older filesystems
add byte swapping support for inode printing
2004-01-03 19:32:58 +00:00
lukem
986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
lukem
922c63e0b6 use != "no" 2004-01-03 13:46:30 +00:00
wiz
d495306cc1 Bump date for pid file removal. 2004-01-03 13:10:27 +00:00
itojun
592be49540 remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code).  from kame
2004-01-03 06:16:40 +00:00
itojun
85d26f975b rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
2004-01-03 01:40:31 +00:00
dbj
f38b976b4c don't drop -v option when using other defaults 2003-12-29 14:25:07 +00:00
fredb
040043b21a Back out last, in favor of adding a trailing dot to "localhost", as
discussed on current-users.
2003-12-29 00:44:05 +00:00
dbj
5dacb54521 fix two bugs with argument parsing:
missing break statement caused -F to give usage
  -v argument caused default options to be dropped
2003-12-28 06:06:55 +00:00
dbj
9361c55211 add DPADD+=${LIBUTIL} 2003-12-28 06:04:23 +00:00
wiz
97129337d3 Immediately return from dhost() if host is localhost, to
avoid a warning from host(1).
From Nicolas Joly in PR 23897.
2003-12-27 00:58:35 +00:00
martin
25943be498 Use the new SPPPGETSTATUSNCP ioctl, if supported, to avoid reporting
intermitent changes on "volatile" interfaces based on if_spppsubr.c.
This interfaces used to cause ifwatchd to call the up and down scripts
with 0.0.0.0 addresses between entering PPP phase network and IPCP
completition.
2003-12-27 00:05:46 +00:00
wiz
8bdfbd91ec Fix typo ($stratum -> stratum), from Nicolas Joly in PR 23891. 2003-12-26 17:43:02 +00:00
wiz
92c9805148 server is an Ar, not a Fl. From Nicolas Joly in PR 23890. 2003-12-26 16:52:18 +00:00
wiz
c594b29834 bootparams, not bootparms. 2003-12-25 19:01:35 +00:00
wiz
d707a66aa2 Sort options; drop trailing spaces; fix wording of
a sentence.
2003-12-21 11:39:17 +00:00
agc
2bd28cbd5e Add a simple text menu-based binary package manager, bpm(1).
bpm uses ftp(1) and pkg_add(1) to allow a menu-based addition of
binary packages from a URL.  It first displays a list of categories,
and, within categories, binary packages, which can be added to the
local system simply by choosing them from a menu.

If no valid categories are found, a warning message will be displayed
(it is usually caused by people running NetBSD-current, and there are
rarely binary packages provided for such a fast-moving target, and the
"-r release" command-line switch to bpm(1) should be used).

Bump the pkg_install version number for this.
2003-12-21 11:31:46 +00:00
mrg
61b5ab403f bump date for previous 2003-12-21 02:52:02 +00:00
mrg
9bf440d20b support "-g" and "-m" as well as "-k" and "-h". swapctl & swaplist code
from Martin Weber, adapted for pstat by myself.
2003-12-20 13:31:42 +00:00
mrg
5fd013c40d add a "-h" (humanize_number(3)) option to swapctl(8) and pstat(8), from
Martin Weber in PR#23805.

ps: now we only need someone to do ls(1) :-)
2003-12-20 11:22:25 +00:00
grant
16fffca4df avoid uninitialized variable. noted by wiz. 2003-12-20 10:09:20 +00:00
grant
fc04f37975 crank version. 2003-12-20 03:41:31 +00:00
grant
dd46f97f58 use the --use-compress-program argument to tar and do away with
the file descriptor handling mess in lib/file.c.

also use --fast-read where applicable.

result of pkg_info -B on 1.5ghz pentium4, linux:

			before		after
mozilla-1.4nb1.tgz	1.96sec		0.04sec
mozilla-1.4nb1.tbz	18.66sec	0.21sec

866mhz pentium3, NetBSD:

			before		after
mozilla-1.4nb1.tgz	2.22sec		0.07sec
mozilla-1.4nb1.tbz	16.29sec	0.34sec

-rw-r--r--    1 grant    users    13816195 Dec 20 13:59 mozilla-1.4nb1.tbz
-rw-r--r--    1 grant    users    15814227 Dec 20 13:58 mozilla-1.4nb1.tgz

XXX fetches over ftp/http still read the whole file.
2003-12-20 03:31:56 +00:00
grant
683625bd0a suppress a diagnostic message unless -v is used. 2003-12-20 02:37:49 +00:00
grant
15fff85a6b always print an error when package addition fails (rather than only
when -v is used), tweak error.
2003-12-20 02:19:21 +00:00
grant
70ba7aa408 check the OS, architecture and version of a package against the host
and spit out a warning if any of them differ. bail if the OS or arch
differ. installation can be forced with -f.

sanity checked by simonb. fixes PR pkg/18966 from mrg.
2003-12-20 00:47:18 +00:00
wulf
4a58b169c3 Fixed a bug that made lastlogin ignore the first user argument 2003-12-16 15:40:29 +00:00
wiz
68c32a13a8 Drop trailing spaces; new sentence, new line; fix width
argument to avoid confusion (indent is only magic for -offset); add a comma
for easier reading.
2003-12-11 17:12:11 +00:00
jdolecek
662f5a1d48 John Brezak (now jbrezak at windows dot microsoft dot com) kindly
agreed to remove advertising clause from his code, so update
the licence accordingly.
2003-12-10 17:10:34 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
drochner
af7cac9798 "msntp"->"sntp, and adjust location of runtime data files 2003-12-09 11:15:18 +00:00
matt
3c12447a00 Make building IPv6 support controllable by MKINET6 2003-12-07 21:57:22 +00:00
scw
801bdc886f Gcc3 for sh5 gets an ICE compiling ns_main.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 19:57:39 +00:00
is
0534dcc9c5 Report read errors, too. 2003-12-07 16:50:43 +00:00
wiz
0b46b8198f Fix typo, reported by Soren Jacobsen in PR 23666. 2003-12-06 08:25:39 +00:00
jonathan
52315e5149 Increase userspace (/usr/sbin/nfsd) limit on nfsd count from 20 to 1024.
Jason Thorpe suggests removing the limit altogether; anyone who needs
more than 1024 nfsds can still do "nfsd -n 1024" multiple times, and
this provides _some_ saftey-net against nfsd (issued by root) from
eating all the avaiable process slots.
2003-12-06 03:01:16 +00:00
fredb
fd7b604de5 Fix my email address. 2003-12-05 21:24:10 +00:00
drochner
3b1892c380 remove orphaned files 2003-12-05 12:15:49 +00:00
drochner
b82a8746e3 put pid file to /var/run and saved state to /var/db 2003-12-05 11:34:58 +00:00
wiz
6c159667a9 Fix some nits.
XXX: This man page talks about msntp, not sntp....
2003-12-05 00:07:12 +00:00
drochner
2f4d5f72db also build the sntp (rfc2030) program which comes with ntp-4.2 2003-12-04 18:14:59 +00:00
drochner
43f2108cfd update the reachover build tree for ntp-4.2.0:
-adjust for new libs, programs and source files
-replace generated config.h and mkver
-add Frederick Bruckman's awk implementation of "ntptrace" as a
 replacement for the perl program in the original tree
2003-12-04 16:41:56 +00:00
is
2ee5b37e8f rewind() does an implicit clearerr(), as demanded by e.g. 1003.1. Thus,
we have to check for writing errors before rewind()ing.
2003-12-03 13:12:53 +00:00
lukem
c09971991d Be consistent in error messages, and don't use the <err.h> functions. 2003-12-02 05:11:42 +00:00
wiz
2f701eb7e9 Use Xr instead of Ic when suitable; NetBSD -> .Nx; add comma;
use Dq for a string.
2003-11-26 09:02:52 +00:00
lukem
f6d3e09d47 Provide an example for making a bootable FAT file system, and improve
some of the other examples.
2003-11-26 08:10:37 +00:00
rafal
8489e24b62 Make sure to also zero out structures put on local free lists so allocations
satisfied from those lists get zeroed memory back too.
2003-11-25 19:34:05 +00:00
christos
57a881013d Define ecalloc() and use it when initializing data structures. 2003-11-24 21:44:37 +00:00
wiz
e0cae3a80b Bump version for wait-for-child fix. 2003-11-21 22:05:06 +00:00
wiz
4e536677a2 Wait for decompress child before continuing.
Closes PR 23526 by Ron Roskens.
2003-11-21 22:04:32 +00:00
christos
717444998f Add long-long cast for cross-build printf portability. We could be using
PRI* macros, but that would be too much complexity for a host tool.
2003-11-19 21:10:27 +00:00
christos
bb4ed2e755 PR/23490: Jason Thorpe: 64-bit config(8) breaks negative RTC_OFFSET
Fixed by preserving the format of the input number and using it to format
the output number. This avoids the -10 < n < 10 kludge.
2003-11-19 18:06:13 +00:00
fvdl
dc7e96bea0 Use int64_t to store numeric values, so that values larger than 2^32
may be specified in options.
2003-11-18 18:47:36 +00:00
bouyer
6f4c1c24ee Apply patch proposted to tech-userlevel on Sun, 12 Oct 2003:
Remove dom_server_port from struct _dom_binding. It's never initialised
and used in only one place, where dom_server_addr.sin_port was probably
intended.
2003-11-17 21:29:21 +00:00
dbj
982688a7fd #include <util.h>
this is needed by fparseln on macos/darwin and is harmless on netbsd
2003-11-17 00:02:33 +00:00
jmc
e167e82b65 Don't use L_SET as it's not portable and this is a host tool 2003-11-16 22:47:07 +00:00
dyoung
18652e3785 From Steve Woodford (scw@): fix wi(4) and wiconfig(8) on big-endian
machines.
2003-11-16 09:41:01 +00:00
lukem
6b429c1c8a Disable hp300 support (again).
This code is not to be reenabled again until it is fixed to my satisfaction
(as a member of core and the person who ends up dealing with most of
the host tool build bugs)
2003-11-14 12:08:59 +00:00
dsl
d7d05c9ee2 roundup() write of hp300 boot code to a multiplr of the disk sector size.
and re-instate the hp300 code - seems to work.
2003-11-13 08:19:43 +00:00
grant
6b727993ff use An to markup names. 2003-11-12 13:33:24 +00:00
grant
2c571f8f4d fix a typo 2003-11-12 13:31:44 +00:00
grant
cacf2d0f45 s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
grant
f59b2fa174 use An and Aq for name/email address instead of \*[Lt] and \*[Gt].
s/netbsd.org/NetBSD.org/i
2003-11-12 13:27:39 +00:00
kleink
d9c0b26cbc <sys/fcntl.h> -> <fcntl.h> in previous. Also, remove inclusion of
<sys/file.h>, which seems to be the intention of the previous change.
2003-11-12 12:06:24 +00:00
matt
f851399943 O_* live in <sys/fcntl.h> not <sys/file.h>
Don't use TERMCAP if HOSTPROG.
2003-11-12 02:17:53 +00:00
matt
b91abd5ac8 Don't use _PATH_UNIX on non-NetBSD hosts. 2003-11-12 01:24:15 +00:00
dsl
c948aa4152 Ensure we use the target disklabel.h, not the host one.
Read the disklabel directly from sector 2 instead of using DIOCGDINFO.
Expect the label to be big-endian.
Support -o append for real files.
2003-11-10 10:48:30 +00:00
fvdl
8452757ae8 Comment out hp300 references. 2003-11-10 09:19:03 +00:00
fvdl
b770006d3b Disable the hp300 for now. 2003-11-10 09:14:58 +00:00
wiz
ee1b406595 Spell address with two d's. Inspired by similar changes in OpenBSD,
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
uwe
57f9d3f327 Don't use PRId64 in a host tool. Not all systems have the PRI*
macros (e.g. FreeBSD 4.x).  Cast to long long int instead.
2003-11-08 22:39:07 +00:00
dsl
6bf8729bd1 First cut of hp300 installboot, seems to DTRT on i386.
Maybe this code ought to know how to add a file to the LIF filesystem.
2003-11-08 16:44:35 +00:00
martti
c5a31d5210 Set ${MACHINE} and ${MACHINE_ARCH}. 2003-11-06 07:09:40 +00:00
perry
4d9c2f6d8f Clean up the i386 examples somewhat, adding an example of upgrading
the boot blocks on the existing mounted root file system, and
eliminating references to bootxx_ufs.

I referenced the a partition even though most other ports seem to
reference the c partition. I don't know if that's the most correct
way to do it, but it seems to work for me and no one can tell me what
the canonical method is. I'd let someone else fix the man page but no
one seemed to want to and it really needed the example.
2003-11-02 16:04:31 +00:00
christos
4576b16a9b Increase the buffer size for result strings. Reported by Sergey Svishchev
svs at ropnet dot ru
2003-11-02 08:54:06 +00:00
mycroft
e7e5d0f4f6 Don't display data for sensors with ENVSYS_FCURVALID not set.
Clean up a little.
2003-10-31 20:37:53 +00:00
hannken
101f03a0d5 Let it compile again on sparc/sparc64. 2003-10-31 10:09:55 +00:00
itojun
91ba57dca7 need_trigger/idx should be u_int. millert@openbsd 2003-10-31 00:31:53 +00:00
itojun
4101558b6e validate packet length. KAME-PR-517 2003-10-30 08:46:04 +00:00
fvdl
e183d65fc4 Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
code already did this).
2003-10-29 17:51:33 +00:00
mrg
00b48119d0 XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2 as GCC3
barfs on these for now.
2003-10-28 08:21:26 +00:00
wiz
3122f2a2f2 Grammar fixes in previous; use Nx in one place;
sort examples; replace < and > with \*[Lt] and \*[Gt] respectively.
Bump date for previous.
2003-10-28 00:26:17 +00:00
lukem
f4f2cda6de minor consistency tweaks 2003-10-27 22:38:39 +00:00
lukem
c176c56887 fix typo in comment 2003-10-27 22:29:59 +00:00
cl
e05d95b990 add next68k support to installboot 2003-10-27 16:51:05 +00:00
lukem
171d653219 Overhaul how `build.sh tools' are used:
*	Rename "config.h" to "nbtool_config.h" and
	HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
	This makes in more obvious in the source when we're using
	tools/compat/config.h versus "standard autoconf" config.h

    *	Consistently move the inclusion of nbtool_config.h to before
    	<sys/cdefs.h> so that the former can provide __RCSID() (et al),
    	and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
	#if HAVE_NBTOOL_CONFIG_H
	#include "nbtool_config.h"
	#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
mycroft
fc2aa2b3be Mention that we should be adding space for bitmaps. 2003-10-26 10:32:35 +00:00
mycroft
f8ab7a4906 Remove a strange multiplication which appears to be incorrect. 2003-10-26 10:31:44 +00:00
lukem
931c212f78 Now that <math.h> #defines INFINITY as HUGE_VALF (the float version)
(per C99 7.12 #4), we can't define it as HUGE_VAL (the double version).
Instead, just use HUGE_VAL directly.
2003-10-26 08:08:06 +00:00
fredb
cb7d2f351e Use ".Fl" consistently for option flags, and mdoc-ify the rest of that
paragraph, while we're in there. (There's still a long way to go...)
2003-10-25 12:32:55 +00:00
fredb
87d27207dc Clean up the flags section,
and note the existence of
.Fl d
Closes
PR misc/23254.
2003-10-25 12:27:08 +00:00
itojun
29d9058dc7 remove BIND crypto portion, as the license doesn't fit our policy and we do not
import those sources.
2003-10-22 05:56:36 +00:00
drochner
e342c5fcb3 Explain the font loading example a bit better, to avoid a misunderstanding
which caused PR misc/21069.
2003-10-21 14:43:23 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
agc
68f1651086 Tidy up the previous isdigit(3) boolean check. 2003-10-21 06:34:26 +00:00
fvdl
0526a13bc6 Don't compare an int to NULL. 2003-10-21 03:01:44 +00:00
fvdl
705a39bc93 Don't compare an int to NULL.
Some whitespace nits.
2003-10-21 03:00:41 +00:00
fvdl
1cb8eb7415 Don't compare an int to NULL. 2003-10-21 02:58:50 +00:00
fvdl
03de13db6e Fix a few cases where NULL was used as integral value. 2003-10-21 02:55:43 +00:00
fvdl
cddedd60f8 Don't compare an int to NULL. 2003-10-21 02:53:57 +00:00
fvdl
b6d9b01a54 Don't compare a char to NULL. 2003-10-21 02:53:02 +00:00
fvdl
c40a2514bd Don't pass NULL as an integer. 2003-10-21 02:51:37 +00:00
fvdl
bc6fdb757c Don't compare a char to NULL. 2003-10-21 02:50:41 +00:00
fvdl
e7e0e9e521 Don't return NULL for an integer. 2003-10-21 02:49:07 +00:00
fvdl
82ac6194ae Don't compare an int to NULL. 2003-10-21 02:48:07 +00:00
fvdl
7de4819e2c Don't assign NULL to an integer. 2003-10-21 02:43:37 +00:00
fvdl
5f002aff6f Add missing initializer field. 2003-10-21 02:37:22 +00:00
he
c42a239b5a Make this compile again. 2003-10-19 23:15:54 +00:00
lukem
8233be784c support MAKEVERBOSE 2003-10-19 06:12:07 +00:00
lukem
a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
lukem
6672bff7fc rework how cfparse.y is generated 2003-10-19 06:09:17 +00:00
lukem
eae82b3d06 #define _PATH_BIN_RCMD in common_source/pathnames.h rather than using
wacky Makefile rules to compile rcmd.c
2003-10-19 05:51:44 +00:00
lukem
8545f3b03c Switch back to using YHEADER instead of custom yacc rules.
We use build.sh to support hosting on older NetBSD releases...
2003-10-19 05:30:30 +00:00
lukem
fdffaa3fe5 Implement -r, which prevents syslogd from compressing multiple messages with
the same string into "last message repeated N times", and instead forces
syslogd to write out every message.

Based on '-c' in FreeBSD's syslogd, although a different option letter was
chosen because their syslogd requires '-c -c' to get this functionality,
and we don't have the support for logging to pipes which is what FreeBSD's
syslogd with a single '-c' is related to.
2003-10-17 01:39:25 +00:00
itojun
686afb7f65 safer use of realloc 2003-10-16 06:22:09 +00:00
itojun
33c55cb2ac make use of realloc(3) safe 2003-10-16 06:19:11 +00:00
itojun
a038ecb5ba poll() argument mistake. Tatoku Ogaito 2003-10-16 05:25:51 +00:00
itojun
94a111ae53 safer realloc.
sizeof() for malloc was mistaken in socksetup().
2003-10-16 03:03:04 +00:00
tron
d6dfcb09dd Don't try to compile "vprintf.c" because NetBSD has all the functions
defined there.
2003-10-14 11:49:52 +00:00
lukem
10e10fae7e Instead of requiring that the BPB is always the FAT32 one, check the
first three bytes to determine how much of the BPB to preserve.
Supported values:
	eb 3c 90        FAT16 BPB
	eb 58 90        FAT32 BPB
	(anything else)	don't preserve any BPB

This is because the BPB is generally only the FAT16 one except in the
bootxx_msdos case, where it's the larger FAT32 one.
2003-10-14 09:46:43 +00:00
agc
9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
dyoung
690ab87058 Use new 802.11 header files. 2003-10-13 08:02:02 +00:00
itojun
912235966a makeargv overrun. from openbsd 2003-10-13 06:14:04 +00:00
dsl
d597578896 Include filename in:
'existing entry for `sha1.h', type `file' does not match type `link'
2003-10-10 11:08:54 +00:00
lukem
58e13fba70 Fix compile error on powerpc. Noted by Juergen Hannken-Illjes in private mail. 2003-10-10 01:50:47 +00:00
lukem
1c33b4e6a4 Overhaul MBR handling (part 1):
<sys/bootblock.h>:
    *	Added definitions for the Master Boot Record (MBR) used by
	a variety of systems (primarily i386), including the format
	of the BIOS Parameter Block (BPB).
	This information was cribbed from a variety of sources
	including <sys/disklabel_mbr.h> which this is a superset of.

	As part of this, some data structure elements and #defines
	were renamed to be more "namespace friendly" and consistent
	with other bootblocks and MBR documentation.
	Update all uses of the old names to the new names.

<sys/disklabel_mbr.h>:
    *	Deprecated in favor of <sys/bootblock.h> (the latter is more
	"host tool" friendly).

amd64 & i386:
    *	Renamed /usr/mdec/bootxx_dosfs to /usr/mdec/bootxx_msdos, to
	be consistent with the naming convention of the msdosfs tools.

    *	Removed /usr/mdec/bootxx_ufs, as it's equivalent to bootxx_ffsv1
	and it's confusing to have two functionally equivalent bootblocks,
	especially given that "ufs" has multiple meanings (it could be
	a synonym for "ffs", or the group of ffs/lfs/ext2fs file systems).

    *	Rework pbr.S (the first sector of bootxx_*):
	    +	Ensure that BPB (bytes 11..89) and the partition table
		(bytes 446..509) do not contain code.
	    +	Add support for booting from FAT partitions if BOOT_FROM_FAT
		is defined.  (Only set for bootxx_msdos).
	    +	Remove "dummy" partition 3; if people want to installboot(8)
		these to the start of the disk they can use fdisk(8) to
		create a real MBR partition table...
	    +	Compile with TERSE_ERROR so it fits because of the above.
		Whilst this is less user friendly, I feel it's important
		to have a valid partition table and BPB in the MBR/PBR.

    *	Renamed /usr/mdec/biosboot to /usr/mdec/boot, to be consistent
	with other platforms.

    *	Enable SUPPORT_DOSFS in /usr/mdec/boot (stage2), so that
    	we can boot off FAT partitions.

    *	Crank version of /usr/mdec/boot to 3.1, and fix some of the other
	entries in the version file.

installboot(8) (i386):
    *	Read the existing MBR of the filesystem and retain the BIOS
    	Parameter Block (BPB) in bytes 11..89 and the MBR partition
	table in bytes 446..509.  (Previously installboot(8) would
	trash those two sections of the MBR.)

mbrlabel(8):
    *	Use sys/lib/libkern/xlat_mbr_fstype.c instead of homegrown code
	to map the MBR partition type to the NetBSD disklabel type.


Test built "make release" for i386, and new bootblocks verified to work
(even off FAT!).
2003-10-08 04:25:43 +00:00
itojun
fdd3180d27 minor KNFs 2003-10-06 09:43:27 +00:00
itojun
e45e8f9d58 use bouded string op as much as possible 2003-10-06 09:18:41 +00:00
lukem
420f3b76ba Replace BP_* with I386_BP_FLAGS_*, for consistency with other stuff in
<sys/bootblock.h>
(CONSDEV_ should be converted as well, but that's more intrusive...)
2003-10-06 05:24:54 +00:00
itojun
d8db5e11b1 sprintf -> snprintf. hints from Thorsten Glaser 2003-10-06 04:19:41 +00:00
lukem
b5589158f0 spelo in comment 2003-10-06 02:39:04 +00:00
grant
d5f2632867 minor style nit 2003-10-06 00:44:15 +00:00
bouyer
7b066791c8 Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
wiz
9445c4eef4 Sort names. 2003-10-04 00:53:12 +00:00
wiz
3683b30e87 Add me here, too. 2003-10-04 00:51:31 +00:00
wiz
c87a7072e8 Replace strnncpy calls with strlcpy calls. Remove strnncpy.
Ok'ed by agc and hubertf. Verified working with editors/mule package.
2003-10-04 00:50:34 +00:00
itojun
c4beb9648d sync w/ header file changes 2003-10-03 23:27:31 +00:00
wiz
e2b595e0ce Indent, and remove some #if 0-ed code. 2003-10-03 19:55:34 +00:00
wiz
f13972188c Bump date for previous (oops :) ). 2003-10-03 15:42:22 +00:00
wiz
297eaf11ad Bump version to 20031003 for added HTTP support. 2003-10-03 15:41:03 +00:00
wiz
38e730c27c Add HTTP support.
Thanks to dillo@ for extensive review and jmmv@ for testing.
Remaining bugs are, of course, mine.

Closes PR 10006.
2003-10-03 15:40:27 +00:00
lukem
4ab35bde4b Document the various bootxx_ variants seen on i386, since it's a FAQ.
Document /usr/mdec/biosboot.  (Arguably that should be renamed to
"/usr/mdec/boot" or "/usr/mdec/boot.i386" for consistency with other platforms)
2003-10-03 13:43:34 +00:00
mhitch
3400c43ec7 Add <string.h> include for memcpy. 2003-09-27 19:35:14 +00:00
dsl
44b926213e Add a -a option to dump all alternate superblocks 2003-09-26 07:02:43 +00:00
wiz
fb41fcc067 Make compile with STANDALONE defined. 2003-09-25 22:31:35 +00:00
wiz
c605c0c28e s/lukemftp/nbftp/, fix two typos. 2003-09-25 22:14:16 +00:00
dsl
e045a0f96e Allow a numeric ID to be preceeded by '#' to avoid the name lookup.
Update man pages to match.
2003-09-25 10:30:10 +00:00
wiz
1d02c95b43 Bump date for previous (hi antti!). New sentence, new line. 2003-09-25 09:37:32 +00:00
pooka
8ac798e2ed Document the controller/firmware keyword. 2003-09-25 09:21:48 +00:00
mycroft
fc24d6a197 Pull in libipsec. 2003-09-25 01:02:03 +00:00
agc
8dc14b2f96 Cast the type of argument printed, for sparc and arm platforms. 2003-09-24 06:18:16 +00:00
itojun
8c185a2af9 no need for "sdl = NULL" initialization on decl. cedric@openbsd 2003-09-23 18:15:50 +00:00
itojun
ed45a3ba48 simplify by using getifaddrs 2003-09-23 17:57:21 +00:00
christos
b3601bdfc6 reset values when malloc fails. 2003-09-23 15:07:43 +00:00
wiz
2095b365b2 Avoid shadowing err. 2003-09-23 14:55:01 +00:00
wiz
f220a7df77 Add prototype for remove_files. 2003-09-23 14:54:53 +00:00
wiz
161f3f684b Remove last vsystem caller and vsystem() itself. 2003-09-23 14:23:53 +00:00
agc
342644fea5 Add <sys/wait.h> so that we have a prototype for waitpid(3). 2003-09-23 14:18:01 +00:00
itojun
9beba21754 ignore non-AF_INET addrs. from openbsd 2003-09-23 10:50:51 +00:00
wiz
acbbe02c81 Add some free()s in error cases. 2003-09-23 09:47:20 +00:00
wiz
7e60425a84 Get rid of lots of system(3) (partly via vsystem) calls.
Previous version reviewed by agc.
Closes PR 20518.
2003-09-23 09:36:04 +00:00
grant
889c15684e bump PKGTOOLS_VERSION for identification purposes (despite the lack of
any functional change).
2003-09-23 07:10:53 +00:00
grant
fd9dca3d28 don't assume mtree is in BINDIR, allow it to be overridden by
MTREE_CMD.
2003-09-23 06:19:45 +00:00
grant
e37cded7b1 remove redundant comments about zoularis. 2003-09-23 05:39:41 +00:00
tron
01c3d246ff Add my name to the list of the culprits. 2003-09-20 17:17:40 +00:00
itojun
1ce85c4e12 plug memory leak. from kame 2003-09-20 13:04:07 +00:00
lukem
9c437ec754 Change LNFILES' to BUILDSYMLINKS', to more accurately describe its purpose.
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
wiz
137c968ad5 Initialize cnt; from Greg A. Woods in PR 22862. 2003-09-19 17:44:53 +00:00