freebsd-dev/usr.sbin
Garance A Drosehn 7f5b34d7c0 Major re-ordering of the steps that newsyslog will use when processing
files to rotate.  The new order will first rotate all files that need
to be rotated, and then send a single signal to each process which
needs to be signaled, and finally it will compress all the files which
were rotated.

This means daemons will be signaled once per run of newsyslog, instead
of once per file rotated.  Also, files will be compressed in order of
file-size (smallest to largest).  Also, it waits for each file to be
completely compressed before starting the next one (effectively as if
the 'w' flag is specified for all entries in newsyslog.conf).  This
avoids the situation of having 10 gzip's going at the same time (each
with a log.0 and a log.0.gz file active), and it also means that file
attributes can be reliably set on files after they are compressed.

NOTE: This commit does define NEWORDER (which you could get rid of if
you really don't trust this), but it does not flip the "-D neworder"
switch.  So, at the moment none of these changes happen unless you
request them (perhaps by adding '<debug> neworder' in newsyslog.conf).

PR:		bin/25070 inspired some parts of this
Submitted by:	parts from bin/25070 done by Helge Oldach
MFC after:	14 days
2004-06-07 02:10:10 +00:00
..
ac Add a check for wtmp records which have invalid values for ut_time. Wtmp 2004-03-08 20:02:23 +00:00
accton o split a sentence to make it more understandable 2004-04-16 09:31:17 +00:00
acpi Tidy up markup. 2004-06-06 17:49:57 +00:00
adduser Accept full path names in addition to base names for shells. 2004-06-06 17:55:55 +00:00
amd Removed unnecessary dependencies on librpcsvc. 2004-02-04 11:59:08 +00:00
ancontrol fix reference to sysctl variable: machdep.an_cache_mode -> hw.an.an_cache_mode 2004-03-05 08:42:15 +00:00
apm Check for >= 255 since sign extension from byte to u_int sometimes makes 2004-05-27 19:23:27 +00:00
apmd Mark APM manpages as i386-only. 2004-01-21 13:38:17 +00:00
arlcontrol Finish repo move arlconfig -> arlcontrol. 2004-06-01 07:38:11 +00:00
arp Massive cleanup of the code removing global variables to 2004-04-13 14:16:37 +00:00
asf Add a "-f" flag for asf(8) which performs a search to find the each module 2003-11-04 06:38:37 +00:00
atm Include <stdlib.h> for exit() and abort() prototypes. 2004-05-24 13:21:24 +00:00
authpf Add skeleton build dirs for pf userland: 2004-02-28 21:50:50 +00:00
bluetooth Markup nits. 2004-06-04 19:23:12 +00:00
boot0cfg Spelling nit. 2004-06-04 19:22:20 +00:00
boot98cfg Use ascii null char ('\0') instead of NULL. 2004-03-05 13:58:40 +00:00
bootparamd Make this compile cleanly. Switch to using rpcgen to generate 2003-10-26 05:51:51 +00:00
bsnmpd Install the MIBs and the definition file to the new location under 2004-04-15 08:56:06 +00:00
btxld Make this work on different endianness machines. 2003-03-11 13:48:58 +00:00
burncd Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) 2004-03-05 08:10:19 +00:00
cdcontrol If the user doesn't specify a device and we can't open any of the defaults, 2004-04-01 16:37:46 +00:00
chkgrp I don't normally use my middle name, so remove it from attributions in 2004-01-25 11:39:42 +00:00
chown Use uid_t. 2003-09-07 16:43:53 +00:00
chroot Allow the optional setting of a user, primary group, or grouplist 2003-06-07 10:56:12 +00:00
ckdist - Align the function prototype of the external `crc' function with 2003-03-13 23:34:18 +00:00
config Document the "files" directive. 2004-05-13 21:55:53 +00:00
cron Trim whitespace at EOL. 2004-06-04 19:24:21 +00:00
crunch Tell crunchide to deal with arm elf binaries as well. 2004-06-06 16:01:36 +00:00
ctm Use malloc() instead of alloca() to allocate a (potentially) large buffer 2004-01-26 04:27:22 +00:00
daemon Give daemon(8) the ability to create a pid-file. Since the target program 2004-06-02 06:48:13 +00:00
dconschat Use new eui64(3) functions to print EUI-64s and to allow access to nodes 2004-05-26 22:59:55 +00:00
devinfo Remove unused local variable. 2004-01-04 15:51:32 +00:00
digictl style.Makefile(5) 2003-04-04 17:49:21 +00:00
diskinfo Actually negative size is possible for file system, but not for disk. 2004-05-25 12:11:13 +00:00
editmap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
edquota o Fix typo: s/bslim/bhlim/. 2004-05-25 10:43:46 +00:00
eeprom Add eeprom(8), a utility to display and modify system configurations 2004-05-22 16:56:04 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Update lsextattr(8) to use the new extattr_list_*() APIs, rather than 2003-06-05 04:30:00 +00:00
extattrctl When giving examples of how to use extattrctl(8) to configure UFS1 2003-05-14 20:31:06 +00:00
faithd Reapply some local fixes that got lost with another NetBSD merge, 2004-06-04 19:24:35 +00:00
fdcontrol Fixed warnings (missing .Ed call). 2004-06-04 19:24:57 +00:00
fdformat Add PC98 supports. 2004-03-28 13:42:27 +00:00
fdread Add PC98 supports. 2004-03-28 13:42:27 +00:00
fdwrite Include <string.h> rather than <strings.h> for string function prototypes. 2004-05-30 08:59:10 +00:00
fwcontrol Nit. 2004-06-04 19:23:39 +00:00
getfmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
getpmac Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
gstat Added forgotten -d to the usage(). 2004-06-04 19:29:09 +00:00
i4b Disable constant merging in isdnd and isdnmonitor. This is a "make my 2004-01-21 16:49:05 +00:00
ifmcstat Include <net/ethernet.h> to have a prototype for ether_ntoa(). 2004-05-28 17:44:11 +00:00
inetd Remove the requirement that the "discard" service be defined in the 2004-04-20 23:34:39 +00:00
iostat Put libdevstat before libkvm, because the former depends on the latter. 2004-02-04 10:20:43 +00:00
ip6addrctl you have to use 'install' subcommand instead of '-c' option 2003-12-26 17:10:58 +00:00
ipftest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipresend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipsend Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
iptest Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
IPXrouted Markup nits. 2004-06-05 20:20:34 +00:00
jail Markup nits. 2004-06-05 20:27:10 +00:00
jexec Make jexec duplicate the actions of the shell searching for an 2003-07-04 19:14:27 +00:00
jls IP addresses can be up to 15 characters long, not 12. 2003-04-22 13:24:56 +00:00
kbdcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
kbdmap mdoc(7) police: bump document date for the C rewrite, nit. 2002-12-04 14:45:48 +00:00
kernbb Fix the type of struct bbf's arc_count member: according to gcc's 2004-05-29 01:22:53 +00:00
keyserv Remove spurious semicolons. Outside of functions they are actually errors but 2004-05-16 22:08:17 +00:00
kgmon Format nits. 2004-05-29 06:10:42 +00:00
kgzip Remove uneeded cast. 2003-06-11 21:37:19 +00:00
kldxref Fixed manpage's synopsis, and synchronized it with the program's usage(). 2004-06-01 09:34:04 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Removed redundant mdoc(7) macro calls. 2004-06-05 20:21:43 +00:00
lptcontrol Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
mailstats Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
mailwrapper Do not install SYMLINKS if both NO_MAILWRAPPER and 2004-01-17 23:58:23 +00:00
makemap Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol mdoc(7) police: markup fixes. 2002-11-27 15:31:08 +00:00
mergemaster In the case where /etc/rc.d/ is empty, do not bogusly ask the user if 2004-03-07 10:10:19 +00:00
mixer Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
mld6query Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 2003-10-24 18:26:30 +00:00
mlxcontrol
mount_nwfs style.Makefile(5): 2004-02-23 20:25:27 +00:00
mount_portalfs Include <string.h> rather than <strings.h> for string function prototypes. 2004-05-30 08:59:10 +00:00
mount_smbfs Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
mountd Markup nits. 2004-06-04 19:23:12 +00:00
moused Fix serious ugliness introduced in 1.61, which leads to long delay in boot 2004-01-10 13:09:21 +00:00
mptable Make this build and work on amd64 (sledge at least). 2003-09-30 04:09:21 +00:00
mrouted Include <string.h> for prototypes of various string functions. 2004-05-24 12:44:00 +00:00
mtest add FBSDID 2003-07-06 12:44:11 +00:00
mtree Added forgotten -w to the usage(). 2004-06-04 19:29:28 +00:00
named LANG->LC_ALL 2003-08-04 21:31:53 +00:00
named.reload
named.restart
ndc style.Makefile(5) 2003-04-04 17:49:21 +00:00
ndiscvt Add preliminary support for PCMCIA devices in addition to PCI/cardbus. 2004-03-07 02:49:06 +00:00
ndp Markup and grammar nits. 2004-06-05 20:21:58 +00:00
newsyslog Major re-ordering of the steps that newsyslog will use when processing 2004-06-07 02:10:10 +00:00
nfsd Add a cross reference to exports(5). While exports is not directly 2004-03-30 20:43:07 +00:00
ngctl Get rid of all (but one in write.c) static size buffers. 2004-01-27 21:52:52 +00:00
nghook Markup and punctuation nits. 2004-06-05 20:21:17 +00:00
nologin Add standard copyright notice; fix style bugs. (Reported by bde) 2004-03-13 04:41:40 +00:00
nslookup style.Makefile(5) 2003-04-04 17:49:21 +00:00
nsupdate
ntp Add missing spaces after "logconfig" in example lines. 2004-03-13 09:51:43 +00:00
ofwdump - Add a reference to eeprom(8). 2004-05-22 17:06:54 +00:00
pccard Some wordsmithing and mdoc(7) cleanup. 2004-05-21 21:38:17 +00:00
pciconf Update pciconf man page to indicate that only some of the functions 2004-01-06 20:23:20 +00:00
pcvt Call exit(0), not exit. 2003-04-29 19:53:00 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install Markup and punctuation nits. 2004-06-05 20:21:17 +00:00
pnpinfo Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
ppp Send RADIUS gigaword data when OctetsIn or OctetsOut go over UINT32_MAX. 2004-05-19 21:00:42 +00:00
pppctl Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variable 2004-01-31 17:28:09 +00:00
pppd o SIOCGIFCONF->getifaddrs(2) conversion. 2004-04-09 16:59:05 +00:00
pppstats
praliases Remove MAINTAINER= lines from individual Makefiles in favor of the 2003-07-07 03:54:04 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat -N without -M is pointless. 2004-03-26 09:28:03 +00:00
pw Shift file locking to source file instead of temp file. This fixes 2004-03-08 20:31:37 +00:00
pwd_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quot Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
quotaon Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rarpd While walking over the list of interfaces obtained from getifaddrs(3), 2004-04-20 13:58:14 +00:00
raycontrol Add FBSDID. err(3) changed to errx(3) because there is no errno message 2004-04-04 19:38:08 +00:00
repquota Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt There is no need to #include <sgtty.h> 2003-09-04 01:33:43 +00:00
route6d - need_trigger/idx should be u_int, not ssize_t. 2003-11-14 17:16:50 +00:00
rpc.lockd Remove spurious semicolons. Outside of functions they are actually errors but 2004-05-16 22:08:17 +00:00
rpc.statd Add FBSDID. Use getopt(3). 2004-04-04 19:46:14 +00:00
rpc.umntall Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2 2003-10-26 06:14:10 +00:00
rpc.yppasswdd Fix yppasswdproc_update_master_1_svc() too. 2003-06-15 21:24:45 +00:00
rpc.ypupdated Include <stdlib.h> for exit() and abort() prototypes. 2004-05-24 13:21:24 +00:00
rpc.ypxfrd Include <rpc/rpc_com.h> for a _rpc_dtablesize() prototype. 2004-05-24 12:28:27 +00:00
rpcbind Don't pass NULL as an integer. 2003-10-29 09:31:41 +00:00
rrenumd fix comment. 2003-10-26 10:30:17 +00:00
rtadvd Fixed a misspelling of 0 as NULL. 2004-03-10 08:46:39 +00:00
rtprio add FBSDID 2003-07-06 12:44:11 +00:00
rtsold Fixed a warning. 2004-03-17 20:10:59 +00:00
rwhod Replace ROUNDUP/ADVANCE with SA_SIZE 2004-04-13 11:24:43 +00:00
sa Userland signed char fixes for PPC build. Problems were using a char 2004-01-22 07:23:36 +00:00
sade Add latinamerican.iso.acc 2004-06-01 06:12:01 +00:00
sendmail Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it 2004-06-01 01:29:42 +00:00
setfmac Add "-q" argument to setfmac and setfsmac to allow the patient but 2004-02-18 05:40:15 +00:00
setkey Reapply traditionally lost fixes, fixed some more. 2004-06-05 20:22:15 +00:00
setpmac mdoc(7) police: Scheduled sweep. 2003-02-24 22:53:26 +00:00
sicontrol mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
sliplogin Include <netinet/in.h> for ntoh*() and hton*() prototypes. 2004-05-24 11:59:17 +00:00
slstat Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
smbmsg Fix an off-by-one error in the range check for the maximal -i or -o 2004-05-27 13:31:16 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
sysinstall Add latinamerican.iso.acc 2004-06-01 06:12:01 +00:00
syslogd Also terminate program names if we hit a '/' - this is to be slightly 2004-05-30 10:34:58 +00:00
tcpdchk Turn on the extended syntax, which TCP_wrappers has by default, as 2003-07-24 19:58:56 +00:00
tcpdmatch Drop MAINTAINER bits from here. 2003-06-04 15:58:03 +00:00
tcpdump Merge of tcpdump 3.8.3 from tcpdump.org. 2004-03-31 15:00:44 +00:00
timed Fix typo, s/transmitts/transmits/ 2004-02-04 21:59:29 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 Reapply traditionally lost fixes. 2004-06-05 20:22:31 +00:00
trpt Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
tzsetup Cosmetic fix: a message was mixed with a dialog box border line. 2003-11-28 20:44:25 +00:00
ugidfw Add an 'add' command to ugidfw(8), which permits specifying a new 2004-02-25 03:59:56 +00:00
usbd fix spelling of ATTACH 2003-10-25 22:03:10 +00:00
usbdevs Add option '-o' for one-line output in combination with '-d'. 2004-05-24 13:22:00 +00:00
vidcontrol Propagate ioctl() failure to exit status 2003-09-18 16:20:32 +00:00
vipw Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
vnconfig
watch Remove constant which makes the assumption that the length of 2004-05-29 21:03:00 +00:00
watchdogd Bump the copyright year since I forgot last time. 2004-05-03 21:41:02 +00:00
wicontrol Markup nits. 2004-06-05 20:20:34 +00:00
wlconfig This is i386-only. 2004-01-21 14:01:29 +00:00
yp_mkdb Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypbind Correct a spelling error. 2003-06-04 19:24:24 +00:00
yppoll Include <timeconv.h> for time conversion functions. 2004-05-24 16:10:57 +00:00
yppush Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
ypserv Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan). 2003-06-13 16:13:28 +00:00
ypset Fix a typo that stopped ypset's -h option from working with a 2004-02-09 00:10:18 +00:00
zic style.Makefile(5) 2003-04-04 17:49:21 +00:00
zzz add section name 2003-08-16 19:59:53 +00:00
Makefile Finish repo move arlconfig -> arlcontrol. 2004-06-01 07:38:11 +00:00
Makefile.inc