freebsd-nq/usr.sbin
Simon L. B. Nielsen 872e964d07 Add support for creating the archived log filenames using a time-stamp
instead of the traditional simple counter.

Using the time-stamp based file-names, once a log file is archived, it
will not change name until it is deleted.  This means that many backup
systems will only perform one backup of the archived log file, instead
for performing a new backup of the logfile upon each logfile rotation.

This implementation is separate from the patches in the mentioned PR,
as I wasn't aware of the existence of the PR until after I had
implemented the same functionality as the patches in the PR provide.
Unlike the PR, this new code does honor the 'log count' in
newsyslog.conf so old logfiles are deleted.  This new code does not
currently support never deleting the archived logfiles.

PR:		bin/29363
MFC after:	3 weeks
2010-07-22 11:23:18 +00:00
..
ac Properly initialize the timestamp when using ac -w. 2010-04-02 14:30:56 +00:00
accton The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
acpi Merge ACPICA 20100702. 2010-07-06 20:57:28 +00:00
adduser mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
amd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ancontrol ANSIfy some more tools in usr.sbin/. 2010-01-02 11:05:34 +00:00
apm Garbage collect unused variable, missed in r200840 2010-05-19 08:52:59 +00:00
apmd - Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *) 2010-05-19 08:52:51 +00:00
arp Cache the last result from if_indextoname for printing. This speeds up 2010-06-11 19:35:05 +00:00
asf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
audit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
auditd Fixed static linkage. 2010-02-26 09:41:16 +00:00
auditreduce The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
authpf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
bluetooth mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
boot0cfg If a device can't be opened, don't keep going but display the error 2010-06-23 14:28:08 +00:00
boot98cfg
bootparamd Unbreak bootparamd when setting WITHOUT_NIS. 2010-01-04 18:08:16 +00:00
bsnmpd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
btxld The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
burncd mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cdcontrol This now passes a make universe with WARNS=6. 2010-01-07 09:40:34 +00:00
chkgrp The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
chown Plug resource leak. 2010-06-05 08:11:11 +00:00
chroot The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ckdist Constify return value of stripath and avoid unnecessary deconst 2008-11-19 00:09:01 +00:00
clear_locks mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
config Put warnings out to stderr rather than stdout. 2010-07-15 22:28:19 +00:00
cpucontrol Remove dead assignments, we overwrite the variable almost immediately. 2010-06-19 16:29:23 +00:00
crashinfo Set umask to 0x077 instead of the default. This prevents non-root user 2009-11-03 09:17:23 +00:00
cron List /var/cron/tabs in FILES and add descriptions for the other entries. 2010-05-14 01:25:30 +00:00
crunch Teach crunchide(1) about PPC ELF64. 2010-07-10 22:06:51 +00:00
ctm mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cxgbtool Add support for hardware filters to cxgb(4). The T3 chip can inspect 2010-05-05 00:41:40 +00:00
daemon Slightly improve wording. 2010-05-17 11:18:33 +00:00
dconschat mdoc: .Ud has attitude, it takes no argument! 2010-05-27 13:56:40 +00:00
devinfo mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
digictl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
diskinfo The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-dsfromkey The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keyfromlabel The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keygen The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-signzone The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dumpcis The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
editmap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
edquota The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
eeprom The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
extattr extattr: Fix a signed/unsigned issue 2010-05-12 21:25:05 +00:00
extattrctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
faithd Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
fdcontrol mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
fdformat mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fdread mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fdwrite mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fifolog Fix reading of empty fifolog files. When we don't have anything 2010-07-10 11:40:31 +00:00
flowctl mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
freebsd-update Update some release version numbers. The patch is based on the one 2010-07-14 16:01:43 +00:00
ftp-proxy Add missing newline in last line of file. 2010-02-16 09:10:21 +00:00
fwcontrol Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
getfmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
getpmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
gssd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
gstat The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
i2c mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
ifmcstat Merge final round of MLD changes from p4: 2009-05-27 18:57:13 +00:00
inetd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
iostat Cleanup manpage as suggested by jhb@ to start new sentences on a new line. 2010-05-24 16:42:53 +00:00
ip6addrctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ipfwpcap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
IPXrouted Make IPXrouted compile using Clang by using ANSI function declarations. 2009-03-04 18:36:48 +00:00
jail Change the current working directory to be inside the jail created by 2010-05-27 03:15:04 +00:00
jexec The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
jls Properly recognize a number followed by non-digits as a jail name. 2010-07-08 19:22:52 +00:00
kbdcontrol ANSIfy some more tools in usr.sbin/. 2010-01-02 11:05:34 +00:00
kbdmap - fix path for locale.alias 2009-04-28 20:20:13 +00:00
kernbb The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
keyserv Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
kgmon
kgzip
kldxref various cleanups including: 2009-01-06 14:23:38 +00:00
lastlogin Don't forget to catch realloc() errors. 2010-04-11 12:07:03 +00:00
lmcconfig The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
lpr Modernize scandir(3) and alphasort(3) interfaces according to the IEEE 2010-01-04 15:40:17 +00:00
lptcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailstats The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailwrapper Sync with OpenBSD: 2010-03-30 21:54:25 +00:00
makefs - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
makemap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
manctl
memcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mergemaster Hide the creation and population of the temproot 2010-05-14 19:12:06 +00:00
mfiutil Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
mixer mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
mld6query The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mlxcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mount_nwfs mount_nwfs(8): make WARNS=6 clean 2010-03-04 16:07:14 +00:00
mount_portalfs mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
mount_smbfs The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mountd o Fix typo: sepcify -> specify. 2010-07-12 04:21:50 +00:00
moused When Emulate3Button is active, do not set select() timeout in states when 2010-06-15 19:19:04 +00:00
mptable mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
mptutil Syntax, commas and stuff. Comments from jhb. 2010-06-21 18:01:57 +00:00
mtest mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
mtree Wording fixes. 2010-05-14 01:45:05 +00:00
named The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named-checkconf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named-checkzone The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named.reload
ndiscvt ANSIfy some more tools in usr.sbin/. 2010-01-02 11:05:34 +00:00
ndp The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
newsyslog Add support for creating the archived log filenames using a time-stamp 2010-07-22 11:23:18 +00:00
nfscbd More mdoc nitpicking to improve compatibility to mdocml 2010-06-11 06:04:07 +00:00
nfsd mdoc: Garbage collect unused/unneeded macros 2010-05-27 13:56:27 +00:00
nfsdumpstate Fix handling of the "-l" argument for nfsdumpstate(8). 2010-07-20 00:32:11 +00:00
nfsrevoke Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
nfsuserd Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
ngctl Add volatile to sig_atomic_t where it was missing. 2009-06-14 21:39:52 +00:00
nghook The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
nologin
nscd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
ntp Add a sentence to the man page explaining that the -d option 2010-05-18 18:14:12 +00:00
nvram The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ofwdump The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pc-sysinstall Add support for packages. 2010-07-13 23:47:12 +00:00
pciconf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
periodic mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
pkg_install mdoc: use mdoc spelling of Umlauts 2010-05-27 13:56:53 +00:00
pmcannotate mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
pmccontrol mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
pmcstat Fix warnings found by Coverity. 2010-06-05 22:57:53 +00:00
pnpinfo The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
portsnap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
powerd Freq sysctls are quite heavy due to set of malloc()/free() calls. Avoid 2010-06-16 15:09:45 +00:00
ppp Need to set the proper flag bit when inserting ARP 2010-03-18 00:23:39 +00:00
pppctl mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
praliases The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
praudit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
procctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pstat The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pw The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pwd_mkdb The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
quot Make `quot -a' work when we've got slashes in the device name. 2008-09-14 11:50:19 +00:00
quotaon IFH@204581 2010-03-04 13:35:57 +00:00
rarpd
repquota Debugging nits found while testing the new 64-bit quota code. 2010-03-16 06:12:30 +00:00
rip6query The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rmt The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rndc The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rndc-confgen The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
route6d The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.lockd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.statd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.umntall The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.yppasswdd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.ypupdated The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.ypxfrd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpcbind Revert bogus change that snuck into r203972. 2010-02-17 06:11:05 +00:00
rrenumd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rtadvd mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
rtprio mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
rtsold mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
rwhod Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
sa mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
sade Remove the reference to DD mode, and replace with Expert mode. Also, make 2010-04-21 19:03:34 +00:00
sendmail Lower WARNS for sendmail. 2010-01-03 15:32:25 +00:00
service mdoc nitpicking: the title argument shall be uppercase 2010-06-11 06:03:47 +00:00
services_mkdb Fix compilation error on amd64. 2010-04-04 15:21:09 +00:00
setfib Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setfmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
setpmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
smbmsg mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
snapinfo mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
spkrtest
spray
sysinstall - Add Latinamerican keymaps to sysinstall's Makefile so that it can 2010-07-19 20:22:21 +00:00
syslogd Port all applications in usr.sbin/ from libulog to utmpx. 2010-01-13 18:17:53 +00:00
tcpdchk The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdmatch The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdrop The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdump The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
timed Initialise the "trials" variable to zero earlier in case we unexpectedly 2010-06-19 17:04:01 +00:00
traceroute Correct spelling. 2010-01-09 15:37:24 +00:00
traceroute6 The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
trpt Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
tzsetup Fix support for chrooted installs. 2010-07-19 16:38:45 +00:00
uathload The -d flag is non-optional. 2010-05-12 01:33:51 +00:00
ugidfw In ugidfw(8), print the rule number and rule contents (as parsed and then 2008-12-24 22:40:13 +00:00
uhsoctl - Fixed automatic detection of the control serial port. 2010-07-20 03:11:26 +00:00
usbconfig Print error messages to stderr. 2010-01-10 19:21:23 +00:00
usbdevs The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
vidcontrol Print memory model of the video mode except for planar memory model. 2010-03-29 20:12:44 +00:00
vipw The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wake Anything that casts struct sockaddr * to struct sockaddr_foo is safe 2010-02-09 17:16:13 +00:00
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd Staticify local variables. 2010-07-20 17:42:13 +00:00
wlandebug The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wlconfig The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wpa - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay 2010-07-01 20:50:12 +00:00
yp_mkdb The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ypbind The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
yppoll The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
yppush The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ypserv Simply ignore unsupported protocols listed in /etc/netconfig and 2010-01-20 16:50:13 +00:00
ypset The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
zic wollman@ has OK'd dropping his maintainership of zic(8) 2010-03-20 11:05:11 +00:00
zzz
Makefile Build some powerpc-specific utilities on powerpc64 as well. 2010-07-20 07:27:36 +00:00
Makefile.inc The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00