Commit Graph

6950 Commits

Author SHA1 Message Date
wiz c10c98a855 Add -n and -N to usage. 2005-01-17 15:20:35 +00:00
wiz 70ac99c9d7 Add -N to SYNOPSIS; bump date for new -N flag; sort options. 2005-01-17 15:20:09 +00:00
thorpej f82a7cafe9 Don't exit if we can't read the exports file; we can still reload it
after a SIGHUP.
2005-01-14 16:16:28 +00:00
thorpej a25a23d58b Add a -N option that causes all exports to have "-noresvport -noresvmnt"
added to them.
2005-01-14 16:12:46 +00:00
martin 112b49392d Avoid a NULL pointer dereference. From Karim Ayad in PR bin/28958. 2005-01-14 07:41:34 +00:00
peter 51cfa88873 Add a message to the catalog. 2005-01-12 17:53:45 +00:00
peter 273a7df369 Use bailout() to exit (restores the screen).
Close the message catalog in bailout.
2005-01-12 17:47:07 +00:00
peter 138a7b7812 s/select/poll/ 2005-01-12 17:41:56 +00:00
peter cc5f6766b3 ANSIfy & KNF. No functional changes. 2005-01-12 17:38:40 +00:00
wiz 1c849ffcd5 New sentence, new line; add an article. 2005-01-12 14:50:36 +00:00
peter c6a8ff8f46 Open the message catalog before calling parse_config, we might need it there.
parse_config: Check return values, simplify some code, realloc with correct
size, remove a redundant malloc, initialize searchpaths to NULL.
2005-01-12 00:05:20 +00:00
peter 643d5451e5 de-__P 2005-01-11 23:11:05 +00:00
peter 16da96235b Fix some typos. 2005-01-11 23:07:12 +00:00
peter fba8313e60 If a description is too long in a form, then show which one it is. 2005-01-11 22:51:26 +00:00
skrll 70f6d0ab0f NetBSD RCSID 2005-01-11 18:49:05 +00:00
skrll 9c6591fd9c Descend into iwictl 2005-01-11 18:31:12 +00:00
skrll a597ec910b iwictl(8) - configure Intel PRO/Wireless 2200AG/2915ABG (iwi(4)) network
adapter.

Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/
2005-01-11 18:28:37 +00:00
lukem 1e281ed227 Only #define HAVE_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:11:17 +00:00
lukem a390dfa659 Only #define WANT_IPV6 if ${USE_INET6} != "no".
(Otherwise #define ISC_PLATFORM_NEEDIN6ADDRANY.)
2005-01-10 03:03:28 +00:00
lukem b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
lukem 7157011597 Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem d2c46a1477 remove unnecessary comment 2005-01-10 02:45:35 +00:00
christos de883a09a8 Abolish the magic 7, and count iovectors explicitly. 2005-01-09 00:07:27 +00:00
agc 3697624477 Always echo the command about to be executed to standard output, not
just when the verbose flag is specified - we are, after all, normally
executing these commands as root.

Bump version to 20050106
2005-01-06 11:59:35 +00:00
agc 524f4f2bcf Address PR 28826 from Tyler Retzlaff - when extracting files from a binary
package addition by ftp, preserve the modes of the entries in the binary
package.
2005-01-06 11:56:39 +00:00
martti b8573ca389 Install ipmon.5 2005-01-05 10:00:29 +00:00
martin a0b2159af7 On sparc64 u_quad_t (unsigned long) and %qd (long long int) are not
printf-format-compatible according to gcc. Add -Wno-error for printstate.c.
2005-01-03 20:49:06 +00:00
lukem 772de66405 Set -Wno-error on a per-source basis instead of the NOGCCERROR sledgehammer. 2005-01-01 13:56:21 +00:00
grant 52d13a428a when generating maps, use -n argument to stdhosts(1) so ipv6 addresses
are allowed.
2004-12-29 13:08:24 +00:00
agc 6e58e2a640 Introduce a new abstraction in the C code, called MaxPathSize. All
previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed
to use MaxPathSize instead.

If MAXPATHLEN is not defined, then assume a default value of 1024
(this is primarily for use on the Hurd).

The reason for this is that some older platforms define FILENAME_MAX
to be 14, although MAXPATHLEN is 1024. On BSD-derived systems,
FILENAME_MAX And MAXPATHLEN are both 1024.

Bump pkg_install version to 20041226.

These modifications have been tested so far on a NetBSD-current bulk
build.
2004-12-29 11:34:59 +00:00
christos 36e8d2b792 PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core
in crontab -l.
The problem is that the skip_header code has a side effect of trying to
write to the new temporary cron tab if we run out of comments. Since we
don't have an output file in -l, we core-dump trying to fputc to NULL.
Simplify the logic so that we don't write in the skip_header function,
and we always return the first character after the comment lines to the
caller, skipping the '\n'.
2004-12-22 00:49:14 +00:00
christos 03cbcf1149 check error return from malloc and bail. 2004-12-21 16:20:09 +00:00
christos ce14df22e4 Get rid of the data resource limit, since we are going to be using a lot
of memory.
2004-12-21 16:19:50 +00:00
christos ff8b4faf02 Use strdup() instead of home-grown version and exit on error. 2004-12-21 16:19:09 +00:00
jmc 2406596e11 Refactor the filesystem specific portions out of makefs.c/makefs.h completely.
Instead of extending fsinfo_t it now holds a void * to file system specific
data. This is then setup/cleaned up by the additional of 2 additional
callbacks. Makes adding new filesystems simpler as almost no code has
to be updated in the generic makefs code now.
2004-12-20 20:51:42 +00:00
christos b30695cd1d Use the array of dtype names instead of hand-rolling our own. 2004-12-18 08:43:35 +00:00
agc bdb22860c3 Attempt to improve the English in one sentence. 2004-12-15 17:20:25 +00:00
wiz 513f71684b Use more markup. 2004-12-15 17:17:51 +00:00
wiz 2183efae3e Bump date for double -u. Update paths to use 2.0 as release name
instead of 1.5. New sentence, new line. Fix a typo.
2004-12-15 17:12:09 +00:00
christos 31c88148c1 PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX.
While I am there, pass WARNS=3
2004-12-12 05:57:03 +00:00
erh 6c1b54e56a Sync with pkgsrc to get double -u feature. Bump version to 20041209.
Add note in README explaining that changes should be made here first,
then merged to pkgsrc.
2004-12-10 21:49:31 +00:00
snj edb93b858a Bump date for last, new sentence, new line, and kill an extra space. 2004-12-09 06:57:19 +00:00
matt d337725eb3 When dumping the file entry, print the usecount and iflags too. 2004-12-09 01:14:59 +00:00
matt c7914c97fe Make syslogd automatically recover from full disks by noticing that the
write error was ENOSPC and either wait for a successfull write or a
different errno.
2004-12-09 00:56:47 +00:00
christos 37d722af2b Now that ppp is a cloning interface, detect if we have support for it in
the kernel by examining if it is in the list of cloning devices.
2004-12-05 04:16:22 +00:00
lukem 24e1167471 In replacenode(), don't strunvis() a NULL pointer. (Fixes bug in previous.) 2004-12-01 23:27:36 +00:00
christos ce1320fc34 use cloning bpf. 2004-12-01 23:18:20 +00:00
christos 70ab7c8528 Mention cloning device. 2004-12-01 23:16:02 +00:00
christos c438716d36 Use cloning bpf. 2004-12-01 23:15:08 +00:00
christos fb5ec6aa33 Use cloning /dev/bpf 2004-12-01 23:13:09 +00:00
christos 5b59015f94 remove backwards compatibility with non-cloning bpf. 2004-12-01 23:12:11 +00:00
christos e13c309dd3 Use /dev/bpf, if _PATH_BPF is defined. 2004-12-01 23:04:58 +00:00
lukem 507e9f7256 strsvis(3) encode & decode the "link=" value (symlink target). 2004-12-01 10:07:56 +00:00
christos a0d7588f62 Simplify code a bit, and whitespace. 2004-11-28 05:40:47 +00:00
lukem 3d10694e7c "doc" SUBDIR needs config_local.h from "libamu", so reorder former after .WAIT. 2004-11-28 01:11:17 +00:00
lukem 0f4ca6a061 Use "${CPP} -P ${CPPFLAGS}" instead of "cpp -P". 2004-11-28 01:10:00 +00:00
lukem 52e85685ca Support MAKEVERBOSE.
Improve build_version.h dependency, based on native Makefile.
2004-11-28 00:07:15 +00:00
he 04ecec855d Not only get_args.o depends on build_version.h -- get_args.d does as well.
Add a dependency reflecting that.
2004-11-27 14:30:46 +00:00
christos f2a03aeb65 Adapt to b5. 2004-11-27 01:39:23 +00:00
christos 845189a2e2 Consider framebuffers in text emulation mode as regular ttys. Should fix
a few PRs.
2004-11-25 20:23:36 +00:00
christos 8526cbfc67 WARNS=3 2004-11-25 20:23:09 +00:00
wiz c79a26d6f8 Sort options in SYNOPSIS. 2004-11-25 16:05:11 +00:00
wiz 56c0f8cbac Bump date for previous; new sentence, new line. 2004-11-25 16:04:30 +00:00
martin 4d3b851c60 Document that carrier scripts are run at starttime. Bump date. 2004-11-25 15:55:29 +00:00
martin 59ca47f545 In the initial interface scan at start time, query the link status of
the interfaces and call the CARRIER script if a link is already there.
This allows me to boot my notebook with the cable pluged and
fixes PR bin/26830.
2004-11-25 06:57:38 +00:00
atatat c8c0bfb574 Put the rest of the -f description in the right place, while adjusting
the wording and starting a new sentence on a new line.

My turn to play wiz and fix the man page he broke.  :)
2004-11-25 01:41:51 +00:00
thorpej 9e47f7b6ef Fix typo that caused priories to compare incorrectly. PR bin/28376 and
bin/28380.  Fix from Geoff Wing.
2004-11-23 14:19:57 +00:00
grant 0bfb4106b0 no trailing comma at end of enum. 2004-11-20 06:40:01 +00:00
christos e1816fa337 Use sockaddr_snprintf() 2004-11-19 21:43:40 +00:00
snj 8ff9670d60 Remove a superfluous word. From David Krinsky in PR bin/28358. 2004-11-19 21:19:24 +00:00
wiz 4483c473cb Make HTML-save. 2004-11-19 18:48:43 +00:00
wiz 6c1d7355a3 Fix typo, and make HTML-save. 2004-11-19 18:48:29 +00:00
wiz 1dae5724d8 -u changed to -U when porting from FreeBSD; update comment. 2004-11-19 18:48:18 +00:00
thorpej f30d060939 We have to read the config file the first time after we allocate the
kqueue descriptor, because we set up events after we parse the file.

Unfortuntately, this means that we also have to do the chroot before
we read the config file.  But this is OK -- the config file has to be
in the chroot environment anyway, because it has to be able to get to
it after SIGHUP.

Grrr, all because stupid kqueue descriptors are not inherited across
a fork.  LAME.
2004-11-19 02:51:18 +00:00
thorpej 83f70aba69 Merge the thorpej-syslogd-hack-branch down to the trunk. Enhancements
include:

- Extend the syntax of syslog.conf to allow selections of log destinations
  by comma-separated lists of program name (including kernel-generated
  messages) and originating host name.
- Ability to pipe selected messages through arbitrary filter commands.
- Ability to specify priority comparison operations.
- Improvements to domain name handling.
- Conversion to use kqueue for communication and signal events, eliminating
  all unsafe signal handlers.
- Allow spaces as well as tabs in syslog.conf.
- Log kernel printfs at LOG_NOTICE instad of LOG_CRIT.
- Ability to log facility/priority with a log message.
- Reliability improvements.
2004-11-19 02:18:11 +00:00
wiz 98b8f0e005 Sort options. Second part of PR 26533. 2004-11-17 14:54:47 +00:00
hira 5d59c3c005 usage: Add -d and -r. Use getprogname().
Reviewed by uebayasi@.  This closes PR bin/26686.
2004-11-17 13:35:32 +00:00
hira b1440f782d usage: Add -d. Use getprogname().
Reviewed by uebayasi@.  This closes PR bin/26685.
2004-11-17 13:32:16 +00:00
hira c79d0a54ae usage: Add -f and -m. Use getprogname(). Print to strerr.
Reviewed by uebayasi@.  This closes PR bin/26535.
2004-11-17 13:28:31 +00:00
hira 75febfe0c8 usage: Print program name. Whitespace nit.
Reviewed by uebayasi@.  This closes PR bin/26534.
2004-11-17 13:21:09 +00:00
itojun bb4eb5b8cd NI_WITHSCOPEID was not picked up by IETF standardization 2004-11-16 06:00:37 +00:00
itojun b95181fc9b NI_WITHSCOPEID was not picked up by IETF standardization process. 2004-11-16 05:59:32 +00:00
yamt 057eb0b30f don't use variable arg macro, which is not supported by gcc2. 2004-11-16 05:14:12 +00:00
yamt 2918ba1f0d handle configinstall target correctly. 2004-11-14 20:27:13 +00:00
yamt 23c8222edb merge after importing pf from openbsd 3.6. (userland part)
some files were imported to the different places from the previous version.
v3_5:
	etc/pf.conf
	etc/pf.os
	etc/spamd.conf
	share/man/man4/pf.4
	share/man/man4/pflog.4
	share/man/man5/pf.conf.5
	share/man/man5/pf.os.5
	share/man/man5/spamd.conf.5
v3_6:
	dist/pf/etc/pf.conf
	dist/pf/etc/pf.os
	dist/pf/etc/spamd.conf
	dist/pf/share/man/man4/pf.4
	dist/pf/share/man/man4/pflog.4
	dist/pf/share/man/man5/pf.conf.5
	dist/pf/share/man/man5/pf.os.5
	dist/pf/share/man/man5/spamd.conf.5
2004-11-14 11:26:43 +00:00
he f5ee27d652 Add casts to unsigned char for the arguments to ctype.h functions. 2004-11-13 14:32:14 +00:00
he b659e3ae0f The size_t type isn't necessarily an int (on arm it's an unsigned int),
so add casts to int before using as a printf field width specifier.
2004-11-13 00:11:03 +00:00
wiz 1a496846ae Sort options, fix Xr, some nit fixes. 2004-11-12 02:39:21 +00:00
christos cd0f7573f1 Add support for lastlogx output. Unfortunately not many programs use it
yet.
2004-11-11 20:17:36 +00:00
yamt b1ef71d369 move common fragments into Makefile.inc. 2004-11-11 12:03:53 +00:00
yamt 096fec04a9 move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.
before:
	sbin/pfctl
	usr.sbin/authpf
	usr.sbin/spamdb
	libexec/ftp-proxy
	libexec/spamd
	libexec/spamd-setup
	libexec/spamlogd
after:
	usr.sbin/pf/pfctl
	usr.sbin/pf/authpf
	usr.sbin/pf/spamdb
	usr.sbin/pf/ftp-proxy
	usr.sbin/pf/spamd
	usr.sbin/pf/spamd-setup
	usr.sbin/pf/spamlogd
2004-11-11 11:54:51 +00:00
he ab248774f6 For the sh5 target, reduce optimization level for two files so that
BIND compiles on that platform.
2004-11-11 00:34:05 +00:00
agc 03ad6dc16c Document the "pre" magic string just added, and bump date for this. 2004-11-10 17:40:41 +00:00
wiz 95fafbc9a3 Recognize "pre" as pre-release version. Bump version to 20041110. 2004-11-10 16:51:16 +00:00
dsl 9d34a2e458 More fallout from removing the (int) casts from ctype.h
Should fix PR/28082
2004-11-08 08:05:20 +00:00
christos 4614af85f7 We control threaded or not from the Makefile 2004-11-07 02:54:55 +00:00
christos 1a8b79bc27 Add netbsd id 2004-11-07 01:13:32 +00:00
christos b1454ec955 - add netbsd id
- define that we have threads
2004-11-07 01:13:18 +00:00
christos 74786d7691 - add netbsd id
- use endian.h to determine endianness
2004-11-07 01:12:56 +00:00
christos 008f1a9208 includes for bind-9-3-0 2004-11-07 01:07:26 +00:00