Commit Graph

4068 Commits

Author SHA1 Message Date
scw eee03f150e No need to initialise a global to zero. 2000-12-13 23:00:32 +00:00
ad ad2150de6f Remove debug printf. 2000-12-13 12:34:02 +00:00
enami f0f66cd139 ..., and fix new warning on i386. 2000-12-13 11:07:16 +00:00
mrg e7d5c1b188 fix LP64 warning. 2000-12-13 10:56:43 +00:00
enami 2285fa8eab Print address of lower vnode of layered fs vnode. 2000-12-13 05:50:33 +00:00
enami 7ec21d4438 Use va.va_type instead of va.va_mode to determine if a nfs vnode is a
deivce node or not, since latter contains permission bits only.
2000-12-13 05:34:55 +00:00
hubertf 3d76df0ee0 Strip not only .tgz but also .tbz etc. (missed from last commit) 2000-12-13 03:49:56 +00:00
hubertf 5382dffae7 * Accept ".tbz" as an alternative pkg suffix to ".tbz" for pkg_add and
pkg_info
 * In pkg_create, compress with bzip2 if a .tbz suffix is given
 * Fix pkg_info to work via ftp, either via URL specified on command line
   or via one made up from PKG_PATH (if set)

XXX ALWAYS tacks on ".t[bg]z", NOT ".t[gb]z" !!!
2000-12-13 03:17:53 +00:00
lukem ea03d7ba8e change KERNEL_foo -> _KERNEL_foo, as suggested by matt green 2000-12-12 17:49:20 +00:00
lukem f125ced5a1 Add option `KERNEL_foo', where `foo' is the basename of the build directory.
This will get added to the Makefile's IDENT= as -DKERNEL_foo.
2000-12-12 08:46:02 +00:00
ad 3998cc1155 Nits. 2000-12-11 19:33:55 +00:00
ad c87303f168 Put back missing line break. 2000-12-11 14:38:43 +00:00
ad d299ad2a0f Fix compiler warnings. 2000-12-11 13:58:46 +00:00
ad 18900b7349 Note a bug. 2000-12-11 13:55:16 +00:00
ad 9af5448e0a Add a basic control program for iop devices. 2000-12-11 13:48:52 +00:00
thorpej 1c3d23d12c More IPv6-friendliness. 2000-12-09 22:39:12 +00:00
thorpej c7b5409a74 Rewrite this to use getaddrinfo(), and to use the canonical name of the
host rather than the hostname as returned by gethostname() if the hostname
does not appear to be fully qualified.
2000-12-09 00:47:57 +00:00
tron 7ebe3b4a17 Add a new "-d" option which allows to define the directory of the
password file as the "-d" options of "pwd_mkdb" and "vipw".
2000-12-08 22:23:14 +00:00
tron f937707eab Improve description of "-d" option. 2000-12-08 22:21:44 +00:00
tron 6deb512a7c The "-m" option makes onyl sense with at least one argument. So enforce
that and update the documentation accordingly.
2000-12-08 21:51:21 +00:00
tron 48698d8229 Remove obsolete "domake" variable. 2000-12-08 21:24:16 +00:00
tron e5d0716506 Fix broken argument parsing:
- "-m" shouldn't option be passed to "make".
- Avoid buffer overflow while construction shell command to invoke "make".
2000-12-08 21:09:37 +00:00
thorpej e0d4418a25 Convert to TI-RPC, modeled after mountd(8) since we do host-based
access checking (via libwrap) like mountd(8) does.

Also, garbage-collect a bunch of stuff that is normally created by
rpcgen(1) that we'll never use in this program.
2000-12-08 20:08:43 +00:00
wiz 89d963e947 Don't try to create or move directory if only '-d' is given (man page
says '-m' is needed for that). Problem reported by Johnny C. Lam.
2000-12-07 17:44:03 +00:00
tron f4136e8234 Document ``/'' as default directory to avoid confusion of the users. 2000-12-07 12:55:06 +00:00
tron d78c1c9e2d Back out last change on sugestion by Klaus Klein:
While it was technically correct it was confusing for the user.
2000-12-07 12:53:14 +00:00
tron 32a56dbd39 Add a new "-d" option which allows to specifiy the root directory of the
password database.
2000-12-06 14:04:25 +00:00
tron 1bfef38d9b The default directory is "", not "/". 2000-12-06 13:54:08 +00:00
itojun aac23d3263 correct pathname 2000-12-04 16:11:56 +00:00
itojun 1b5622c854 correct location of config file 2000-12-04 16:11:07 +00:00
itojun c9236bb0cc $KAME$ cleanup. address PR 11615 (CMSG_SPACE should be CMSG_LEN).
lots of stabilization/spec cleanup.  sync with kame.
2000-12-04 07:09:35 +00:00
itojun b1ba1c6a53 $KAME$ cleanup. address PR 11616 (CMSG_SPACE should be CMSG_LEN).
couple of stability/protocol conformance fixes.  sync with kame.
2000-12-04 07:05:47 +00:00
itojun a2ca80c86b $KAME$ cleanup. address PR 11616 (CMSG_SPACE should be CMSG_LEN).
sync with kame.
2000-12-04 07:04:37 +00:00
itojun 8b87a48e0e $KAME$ cleanups. sync with kame 2000-12-04 07:03:17 +00:00
matt a2877b394c Don't emit MACHINE/MACHINE_ARCH. Instead emit a TARGET_MACHINE=machine
instead.
2000-12-03 07:06:15 +00:00
matt 5cde4cf735 If a port-specific Makefile.<port> doesn't exist, try a arch-specific
Makefile.<arch>.
Emit MACHINE=<port> and MACHINE_ARCH=<arch> to the emitted Makefile.
2000-12-02 23:01:54 +00:00
is e077acfb61 Document that text (console) modes need a depth field of 4. 2000-12-02 21:58:10 +00:00
hubertf 1e2914d00b Document that the path to the configuration file given on the command
line must be absolute, unless the -d option is given on the command line.
2000-12-02 02:15:34 +00:00
simonb 0833efd07d Remove extern variables and functions now declared in dkstats.h. 2000-12-01 02:10:22 +00:00
simonb 80bd9216d2 ANSIfy. 2000-11-30 23:59:03 +00:00
hubertf 4b8a7a0e49 Fix pkg_info w/ URLs (*sigh*) 2000-11-30 10:09:15 +00:00
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
sommerfeld 057fcccd0c Default crontab size limit is 256k, not 32k; correct documentation to
match code.
2000-11-28 14:06:13 +00:00
mycroft 9ff73e166a Oops; the increment needs to be in check1pkg() for the case where the user
specifies a list.
2000-11-28 05:23:35 +00:00
mycroft 23451da968 pkgcnt was incremented twice during a `check'... 2000-11-28 05:21:57 +00:00
hubertf fc8a285aa2 Fix timeout in expect():
The FTP coprocess formerly wrote the output of the "get | tar vxf -" pipe
to stderr, which resulted in no output to the feedback pipe (stdout), and
thus the timeout was not updated for any line printed by the "tar" process.
This was now changed to also feed back the chars to the expect() routine,
updating the timeout handler. The "also" part is implemented by passing
the output through "tee /dev/stderr".

At least NetBSD and Solaris have this, so no problem there.

Thanks to Frank van der Linden for helping me to debug this.
2000-11-28 01:16:01 +00:00
mycroft 04adf420b1 Don't terminate the loop after getting a short packet, either. 2000-11-27 17:36:19 +00:00
mycroft a23cc61626 For BPF, we must loop on receive_packet(). BPF may return multiple packets at
once, and we obviously won't get a select() hit for each one in that case.
2000-11-27 17:33:02 +00:00
mycroft 33515cb532 Make sure to BPF_WORDALIGN() the buffer pointer for each packet, as BPF does in
the kernel.  Otherwise the pointers get out of sync and dhcpd goes nuts.
2000-11-27 17:08:16 +00:00
hubertf ec58d85250 Don't mkdir("/usr/tmp") in a desperate try to get some space.
If it's there, use it. If it's not there - bad luck.

Pointed out by Simon Burge <simonb@wasabisystems.com>.
2000-11-26 03:12:01 +00:00