Commit Graph

6834 Commits

Author SHA1 Message Date
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
christos
d434bff667 Unsigned char casts for ctype functions. 2004-11-06 18:18:33 +00:00
mason
0418d87f4b fix typo in comment 2004-11-05 18:07:27 +00:00
wiz
2add0ff922 Sync usage with man page; sort options. 2004-11-03 14:01:04 +00:00
wiz
624de60311 Bump date for -N; sort options; add N to SYNOPSIS. 2004-11-03 13:58:23 +00:00
erh
7d7fb3bdbc As the comment says, not all files may be present in the tar file,
so don't attempt to extract the (usually) non-existant +PRESERVE file.
2004-11-02 01:03:29 +00:00
erh
4f022501ab Merge version 20041101 from pkgsrc. 2004-11-02 00:38:23 +00:00
grant
0e29cab3fe don't explicitly call gunzip, just pass the right arguments to tar. 2004-10-31 02:45:37 +00:00
dsl
78f35b774e Add (unsigned char) cast to ctype functions
Add fpurge(stdin) before prompt - unexpected question.
for usr.bin/crontab
2004-10-30 17:14:36 +00:00
dsl
3cca093e74 Add (unsigned char) cast to ctype functions 2004-10-30 15:51:20 +00:00
dsl
9122339b9f Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
dsl
c4670c4ec7 Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
dsl
e2f49bd9e2 Add (unsigned char) cast to ctype functions 2004-10-30 15:15:37 +00:00
dsl
9efede97a9 Add (unsigned char) cast to ctype functions 2004-10-30 15:04:45 +00:00
dsl
3ab2c084c9 Add (unsigned char) cast to ctype functions 2004-10-30 14:31:45 +00:00
dsl
e7df4576bb Add (unsigned char) cast to ctype functions 2004-10-30 08:56:00 +00:00
dsl
03f1c17583 Add (unsigned char) cast to ctype functions
The argument rules suck.....
2004-10-30 08:54:51 +00:00