Commit Graph

4850 Commits

Author SHA1 Message Date
wiz a0bbd28ed1 Drop trailing dot in .Nd, sort SEE ALSO, use standard headers, format AUTHORS
section.
2002-01-15 14:19:27 +00:00
lukem 92a4d3d477 pwd_mkdb doesn't need a private version of getpwent.o any more. 2002-01-15 11:41:43 +00:00
wiz 633ece12e5 Update re getopt()ing of sunlabel. 2002-01-15 01:58:45 +00:00
wiz 0690e2497a Add sunlabel(8). 2002-01-15 00:57:27 +00:00
manu e1ef443282 Enable clockctl 2002-01-13 15:49:11 +00:00
yamt 59998d6154 check if timeout already expired before select.
from OpenBSD/FreeBSD.
2002-01-12 02:42:58 +00:00
itojun dad921a24e daemon(3) has to be called prior to file descriptor initialization. 2002-01-11 05:33:22 +00:00
itojun 5f38ec918c daemon(3) has to be called prior to file descriptor setups. 2002-01-11 04:35:52 +00:00
itojun 4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
christos 03dae382df - KNF... Add NetBSD copyright, pass lint, getopt, modernize, blah. 2002-01-10 21:43:10 +00:00
martin 7b6f872d11 Add, #ifdef SPPP_IF_SUPPORT, special case treatment for sys/net/if_spppsubr.c
based interfaces. Note: all other interface types work the same as before,
and no names are hardcoded.

When a if_spppsubr.c based interface is marked IFF_UP, but has not yet
reached phase NETWORK (i.e. it didn't connect yet or authentication has not
yet completed) do not call the ip-up script for it on the initial pass
over all IFF_UP interfaces.

This fixes a race condition on startup when ip-up/ip-down are statefull
and need to be called pairwise (for example if ip-up adds and ip-down
removes a default route).
2002-01-10 20:21:50 +00:00
martin 0f93714245 Pass the remote address (or broadcast addres) to the up/down scripts as
well. This is very usefull for setting up the right routes ;-)

Thanks to Bjoern Labitzke for pointing out this missing feature.
2002-01-10 19:38:51 +00:00
mrg 4ef0e6e1a3 - add a -h option
- kill warnings
- use getmaxpartitions()

XXX: consider renaming options to more standard names and use getopt(3).
2002-01-10 16:26:01 +00:00
mrg 3b989ef166 makefile for sunlabel. 2002-01-10 16:24:41 +00:00
mrg 2c57f36327 der Mouse's sunlabel.doc 2002-01-10 16:15:37 +00:00
agc cfa115fedf Explain a bit more fully the collating sequence which pkg_info(1) uses when
comparing package versions strings.
2002-01-10 10:46:28 +00:00
lukem bf7e120361 setprogname(argv[0]) 2002-01-10 05:31:07 +00:00
agc b85b4de6a6 Bump version number to reflect the pkg_info version number recognition
changes.
2002-01-09 18:50:17 +00:00
agc 2afa28bf02 Pull in a much simplified version of the vtest functionality. This new
functionality adds recognition of '_' and "pl" as pseudonyms for '.',
so that 1.2p2 == 1.2.2, and adds recognition of "pl" and "rc" strings,
which stand for "patchlevel" and "release candidate" respectively.

In addition, this version should handle alphabetic characters properly
(so that 1.2e == 1.2.5)

Normal NetBSD revision number processing has been retained (and is always
compared after all other tests have been performed).

64-bit integers are used internally for each component of the version
number.
2002-01-09 16:17:08 +00:00
mrg 6659b0b88f der Mouse's sunlabel 2002-01-09 12:59:29 +00:00
lukem 3d76579746 need ufs/ufs/dinode.h for ufs/ffs/fs.h 2002-01-08 06:00:14 +00:00
lukem ee3c027c25 need ufs/ufs/dinode.h for ufs/ffs/fs.h 2002-01-08 05:32:45 +00:00
lukem 944794a509 add "ffs/ufs_inode.h" with a minimal struct inode, to replace
<ufs/ufs/inode.h>, since the latter has a lot of cruft we don't need
and it #include's way more stuff in <sys/*> (etc) than is needed here.
yet another nail in the "let's make makefs a proper host tool" coffin.
2002-01-07 16:56:26 +00:00
lukem 557afc6071 - pull in <ufs/ufs/dinode.h> before <ufs/ffs/fs.h>
- #include <ufs/[uf]fs/*.h> instead of "ufs/[uf]fs/*.h", and don't bother
  with -I../../sys; we'll solve the hostprog problem another way and
  unconditionally pulling in NetBSD-current's usr/src/sys on a host system
  could be a Bad Thing.
2002-01-07 16:27:22 +00:00
lukem d74b2fc0ea fix bugs reported by matt green:
- when calculating file size, round up to frag size not block size
- #define FFS_EI in makefs.h, and include that before [uf]fs/*.h

other stuff:
- round up final size to next block (instead of next sector)
- protect makefs.h from multiple inclusion
2002-01-07 05:07:50 +00:00
mrg b78ea217a6 build this as a host prog. 2002-01-05 07:37:45 +00:00
mrg 2218533d73 build this as a host tool. 2002-01-05 07:00:56 +00:00
martin 4ec800ca5a Adapt to new if_sppp.h ioctls.
Remove limits on names and password length.
2002-01-04 12:24:33 +00:00
ad 6face02d69 Also dump the LCT header, not just the entries. 2002-01-04 10:17:20 +00:00
thorpej b1b955b60f Simply rid ourselves of the evil cpp tricks being done here. The
fact that one version couldn't be made to work on two different versions
of the cpp says something about how portable the code was.
2002-01-01 06:31:49 +00:00
thorpej 6b3e0a100a Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl
from CPPFLAGS.
2001-12-31 20:04:47 +00:00
thorpej bf0e32f7fc Remove unneeded/unused TREE_ISEMPTY() (which also happens to clash
with the TREE_ISEMPTY() in menutree.h, which gcc 3.1 correctly warns
about).
2001-12-31 20:00:40 +00:00
thorpej c31bd4704c Fix gcc 3.1 printf format warnings generated by extra arguments being
passed to varargs CPP macros.
2001-12-31 19:52:45 +00:00
thorpej dbaa175ee7 Add comment delimiters around the token after an #endif 2001-12-31 19:46:57 +00:00
thorpej 1b1d20a895 Need <strings.h> for ffs() prototype (noticed by gcc 3.1). 2001-12-31 19:45:03 +00:00
thorpej aa38e62655 Need <stdlib.h> for abort() prototype (noticed by gcc 3.1). 2001-12-31 19:44:27 +00:00
thorpej 82f66ec4a0 Add -I${.CUDRIR} to CPPFLAGS. 2001-12-31 19:41:37 +00:00
thorpej 429c29847e Statements must follow labels. 2001-12-31 19:33:58 +00:00
thorpej d5b972580e Need <string.h> for strcmp() prototype (noticed by gcc 3.1). 2001-12-31 19:31:23 +00:00
hubertf 75b2df2eee don't hardcode "tar"'s program name, use TAR_FULLPATHNAME instead 2001-12-30 04:46:21 +00:00
wiz 654780212e client, not clinet. 2001-12-27 13:22:01 +00:00
abs dd94d9b295 Convert some 'long's to 'uint32_t's. Now rdate works against an LP64 box. 2001-12-26 17:01:39 +00:00
wiz 3cb5c6721b Typo and grammar fix. 2001-12-26 15:13:57 +00:00
mason 8f3eeb9b40 fix typo - meant to get this in last commit, forgot 2001-12-26 15:10:57 +00:00
mason 0e1a977737 fix typo - s/unltimate/ultimate/ 2001-12-26 15:08:46 +00:00
lukem 28073e3899 - use snprintf() instead of sprintf() when printing strerror.
(from openbsd via freebsd)
- use strtoll instead of strtoq()
2001-12-24 00:54:28 +00:00
thorpej e6d41917cc Newlines in string literals are not supported by ANSI C, and some
preprocessors complain bitterly when they are encountered.

For now, terminate all lines with \n (and make each line its own
string literal).  The author of this code can figure out how to
do the sed trick another way.
2001-12-23 22:41:27 +00:00
atatat 65ace4b729 Properly use $TMPDIR or /tmp for the temporary config file stuff,
instead of ".".  Read-only source trees are "good".
2001-12-21 19:09:43 +00:00
ad 9523ee5f87 First appeared in 1.5.3. 2001-12-18 13:28:42 +00:00
wiz c7acbbe729 Nuke syssrc/usr.sbin/dbsym, since it has been replaced by
gnusrc/gnu/usr.sbin/dbsym.
Ok'd by thorpej.
2001-12-17 22:33:11 +00:00