freebsd-dev/usr.sbin
Doug Barton 8d54ee3c0b Add some patches contributed by jhb:
1. Don't prompt the user for "-U but no db" error if we're using -a
2. Add an option to delete stale rc.d files automatically if the user
has DELETE_STALE_RC_FILES in their rc file. Lack of command line option
for this is not an oversight.
3. Add []'s around the terminal $ for the $FreeBSD$ test for -F

For one bug raised by jhb I did a more thorough solution:
There were a lot of things that "snuck in" between the end of the test
for -r and the start of the comparison. One of them is the creation of
the mtree db, as pointed out by jhb. Fix this problem more thoroughly
by moving the end of the test down to where it should/used to be, right
before the comparison. As a result, indent the interloping code to match.
2009-12-30 23:14:03 +00:00
..
ac Sort sections. 2005-01-18 20:02:45 +00:00
accton Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
acpi Merge ACPICA 20091112. 2009-11-16 21:47:12 +00:00
adduser The original adduser/rmuser scripts in Perl used to modify the PATH 2008-07-30 18:37:21 +00:00
amd Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
ancontrol Remove duplicate headers <sys/socket.h> 2008-04-21 07:25:26 +00:00
apm apm(8) is no longer linked to zzz(8), catch up. 2009-12-22 14:21:08 +00:00
apmd getopt(3) returns -1, not EOF when out of args. 2007-02-05 07:35:23 +00:00
arp The proxy arp entries could not be added into the system over the 2009-12-30 21:35:34 +00:00
asf Make grammar a bit more consistent in this document. 2006-12-20 06:21:51 +00:00
audit Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both 2008-12-02 23:26:43 +00:00
auditd Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
auditreduce auditreduce now requires OpenBSM's config/config.h, so add that to the 2006-09-25 11:56:20 +00:00
authpf Do not bypass WARNS machinery by hadcoding -Werror into CFLAGS. 2006-09-21 18:16:22 +00:00
bluetooth Teach btpand(8) to recognized Bluetooth device node names. 2009-05-18 16:00:18 +00:00
boot0cfg Write the MBR by using the bootcode verb of the gpart class. 2009-03-02 04:35:52 +00:00
boot98cfg Correct typo in usage message. 2007-12-19 03:31:44 +00:00
bootparamd Remove a useless cast. 2008-08-02 00:10:02 +00:00
bsnmpd Let the snmp_hostres module use utmpx. 2009-12-24 17:55:47 +00:00
btxld The boot loader is a FreeBSD a.out binary for x86, not a VAX binary. 2009-09-10 00:47:32 +00:00
burncd Add support of using environment variable BURNCD_SPEED to specify 2009-12-21 19:27:52 +00:00
cdcontrol When run() returns an error, print the error message also in 2009-10-07 13:25:22 +00:00
chkgrp Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on 2005-08-25 17:01:06 +00:00
chown In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
chroot In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
ckdist Constify return value of stripath and avoid unnecessary deconst 2008-11-19 00:09:01 +00:00
clear_locks Add missing library dependency. 2008-03-29 18:07:06 +00:00
config ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
cpucontrol ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +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 Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap 2009-11-25 15:12:24 +00:00
crunch Remove extra space introduced by the previous commit. 2009-12-29 20:30:50 +00:00
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
cxgbtool This adds a new "stdio" mode to cxgbtool - it's an interactive mode 2009-06-24 22:28:48 +00:00
daemon Unbreak rev 1.7's getopt usage. The -f switch does not take an argument. 2007-04-19 16:43:30 +00:00
dconschat Include <sys/wait.h> and <signal.h> for wait() and kill(). 2009-06-14 12:44:09 +00:00
devinfo Collapse devinfo_state_t with device_state_t in order to avoid a 2009-11-15 16:44:43 +00:00
digictl Sort sections. 2005-01-18 20:02:45 +00:00
diskinfo Make diskinfo report disk stripe size and offset. It should help users to 2009-12-24 21:39:30 +00:00
dnssec-dsfromkey Update BIND to version 9.6.1rc1. This version has better performance and 2009-05-31 05:42:58 +00:00
dnssec-keyfromlabel Update BIND to version 9.6.1rc1. This version has better performance and 2009-05-31 05:42:58 +00:00
dnssec-keygen Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
dnssec-signzone Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
dumpcis Move sys/pccard/*.h here. 2009-02-15 03:21:37 +00:00
editmap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
edquota Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
eeprom ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
extattr Invoke err() with a format string rather than directly with a passed 2008-07-15 16:07:34 +00:00
extattrctl Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
faithd Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
fdcontrol Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdformat Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdread Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdwrite Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fifolog ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
flowctl Get the other NG_PATHLEN while I'm here too :(. 2009-06-09 05:24:06 +00:00
freebsd-update Disable SSL renegotiation in order to protect against a serious 2009-12-03 09:18:40 +00:00
ftp-proxy Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
fwcontrol Remove reference to phy_delay from fwcontrol. Thanks for the catch! 2009-02-17 23:56:16 +00:00
getfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
getpmac Style tweak. 2009-07-30 09:51:04 +00:00
gssd - Remove superfluous comment 2009-01-30 15:28:56 +00:00
gstat o Turn the batch mode on if stdout is not tty. 2009-03-12 13:17:46 +00:00
i2c Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
ifmcstat Merge final round of MLD changes from p4: 2009-05-27 18:57:13 +00:00
inetd Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap 2009-11-25 15:12:24 +00:00
iostat iostat: add a bit of space between tty in/out columns 2009-08-15 17:57:21 +00:00
ip6addrctl Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
ipfwpcap Several cleanups to ipfwpcap(8). 2009-05-31 20:59:20 +00:00
IPXrouted Make IPXrouted compile using Clang by using ANSI function declarations. 2009-03-04 18:36:48 +00:00
jail - New style of jail(8) usage requires "-c" argument to create a jail. 2009-11-26 03:26:59 +00:00
jexec Add libjail, a (somewhat) simpler interface to the jail_set and jail_get 2009-06-24 18:18:35 +00:00
jls Don't free jail parameter values after printing them - jail_param_get 2009-12-12 21:59:30 +00:00
kbdcontrol Make the keyboard layer Unicode aware. 2009-09-19 17:56:26 +00:00
kbdmap - fix path for locale.alias 2009-04-28 20:20:13 +00:00
kernbb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
keyserv Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
kgmon Correct a typo 2006-06-29 09:18:16 +00:00
kgzip Sort sections. 2005-01-18 20:02:45 +00:00
kldxref various cleanups including: 2009-01-06 14:23:38 +00:00
lastlogin ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
lmcconfig Include string.h for strncpy prototype 2009-02-19 19:45:49 +00:00
lpr Fix using lp(1) without the new -t option after r194171. 2009-09-29 21:28:32 +00:00
lptcontrol Remove useless mode argument to open(). 2005-01-25 14:25:18 +00:00
mailstats Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
mailwrapper Markup fixes. 2006-09-29 17:57:04 +00:00
makefs Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
makemap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
manctl
memcontrol Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of 2005-03-29 20:17:47 +00:00
mergemaster Add some patches contributed by jhb: 2009-12-30 23:14:03 +00:00
mfiutil Update the man page for manual section 8 2009-08-17 06:15:08 +00:00
mixer mixer(8) is WARNS=6 clean since 1.25. 2008-03-16 08:06:36 +00:00
mld6query - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:59:34 +00:00
mlxcontrol Make mlxcontrol work with more than one system drive: 2008-09-12 17:40:17 +00:00
mount_nwfs Use sysctlbyname() instead of sysctl 2006-05-11 17:23:57 +00:00
mount_portalfs Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
mount_smbfs Convert mount_smbfs to use nmount(). 2005-11-16 02:47:12 +00:00
mountd Description of steps required to setup NFSv4 server is in nfsv4(4); 2009-12-03 19:16:40 +00:00
moused Improve the virtual scrolling mechanism to make middle clicking less 2008-05-15 15:05:02 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mptutil Update the mptutil man page for FreeBSD 8.0 2009-08-17 06:15:44 +00:00
mtest Merge IPv6-capable mtest(8) from MLDv2 branch. 2009-04-29 09:50:04 +00:00
mtree Write timestamps with exactly 9 digits after the period. 2009-01-31 05:17:28 +00:00
named Add support for the build options that are currently in the port: 2009-06-01 21:58:59 +00:00
named-checkconf Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
named-checkzone Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
named.reload Switch from BIND 8 to BIND 9. 2004-09-21 19:01:48 +00:00
ndiscvt Integrate the NDIS USB support code to CURRENT. 2008-12-27 08:03:32 +00:00
ndp We use gmt2local code from tcpdump and gnuc.h is no longer being used 2009-12-13 04:08:04 +00:00
newsyslog Don't consider non-existence of a PID file an error, we should be able 2009-12-21 20:12:01 +00:00
nfscbd - Include rpcv2.h before other NFS includes. That allows nfscbd to 2009-06-20 08:46:40 +00:00
nfsd ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
nfsdumpstate Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +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 Sort sections. 2005-01-18 20:02:45 +00:00
nologin Update nologin(5) to match the modern reality of login.conf(5) and PAM. 2007-05-10 11:22:24 +00:00
nscd Remove "extern" from function prototypes, and fix some (but not all) 2009-06-13 14:12:55 +00:00
ntp Disable the unneeded inclusion of <utmp.h>. 2009-12-26 18:32:35 +00:00
nvram Revise markup. 2006-09-30 19:07:03 +00:00
ofwdump De-sparc64-ify (now that it's also installed on PowerPC). 2008-01-31 14:58:55 +00:00
pciconf - Add a few more register defintions for the PCI express capability 2009-04-17 19:07:44 +00:00
periodic - The weekly periodic runs occur on Saturday mornings, not on Sunday mornings 2007-09-07 21:54:45 +00:00
pkg_install Add missing `void' keywords. 2009-12-29 22:33:53 +00:00
pmcannotate ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
pmccontrol Ignore absent CPUs when listing the current state of PMC hardware. 2008-11-16 04:26:38 +00:00
pmcstat (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
pnpinfo Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
portsnap Add undocumented 'portsnap alfred' command, which runs (fetch|cron) 2009-12-30 06:28:47 +00:00
powerd ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
ppp Don't refer to pppd(8). 2009-12-28 09:37:33 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
praliases Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
praudit Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
procctl
pstat - Avoid overflowing the swap size counters in human-readable mode 2009-08-15 14:39:33 +00:00
pw Make pw(8) build without <utmp.h>. 2009-12-06 01:27:28 +00:00
pwd_mkdb Verify that the username length is smaller than MAXLOGNAME when 2009-05-20 08:32:25 +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 Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rarpd Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
repquota Don't depend on <utmp.h>. 2009-12-06 01:29:49 +00:00
rip6query Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
rmt Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
rndc Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
rndc-confgen Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
route6d This main goals of this project are: 2008-12-15 06:10:57 +00:00
rpc.lockd Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
rpc.statd Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
rpc.umntall Let umount build with -Wold-style-definition. 2009-12-30 06:36:42 +00:00
rpc.yppasswdd yppasswdd assumed that a struct x_master_passwd is type punable to a 2009-02-18 22:27:46 +00:00
rpc.ypupdated Kill blank line at EOF. 2007-02-15 02:45:14 +00:00
rpc.ypxfrd o There is no securenets(5) man page, refer to ypserv(8). 2006-11-02 07:36:33 +00:00
rpcbind No network addresses in the system isn't a good excuse 2008-02-14 20:12:23 +00:00
rrenumd - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:58:25 +00:00
rtadvd Properly convert bit value to a bit field. Before we were storing 2009-02-19 16:30:11 +00:00
rtprio Sort sections. 2005-01-18 20:02:45 +00:00
rtsold Add support for ND6_IFF_IFDISABLED and ND6_IFF_ACCEPT_RTADV to 2009-09-12 22:14:58 +00:00
rwhod Let rwhod use libulog. 2009-12-27 21:14:55 +00:00
sa ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
sade Convert syscons on i386 to TERM=xterm. 2009-11-13 11:28:54 +00:00
sendmail This FFR is no longer needed in sendmail 8.14 2007-04-09 01:45:52 +00:00
service Update the "-l or -r" usage to better conform to the standard 2009-12-27 23:15:23 +00:00
setfib Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setfmac An average consumer of fts(3) that avoids keeping pointers to old 2008-01-29 17:50:29 +00:00
setpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
smbmsg Force the use of the tbl(1) preprocessor. 2006-10-25 10:44:59 +00:00
snapinfo Imagine a situation where: 2007-03-16 12:36:54 +00:00
spkrtest
spray
sysinstall Don't let sysinstall depend on <utmp.h>. 2009-12-09 19:46:56 +00:00
syslogd Let syslogd use utmpx. 2009-12-24 18:05:33 +00:00
tcpdchk Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdmatch Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdrop o) Restructure tcpdrop(8) to provide a facility to try to drop all established 2009-06-01 06:49:09 +00:00
tcpdump Add new build targets for tcpdump 4.0.0. 2009-03-21 18:40:38 +00:00
timed Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
traceroute Add AS lookup functionality. On each hop we query a whois server to 2008-02-20 23:29:53 +00:00
traceroute6 - Add AS lookup functionality to traceroute6(8) as well. 2009-08-23 17:00:16 +00:00
trpt Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
tzsetup - Add support for chrooted installs. 2009-10-21 20:55:04 +00:00
uathload add uathload.8 2009-04-08 06:51:58 +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
usbconfig Add more verbose output when dumping the configuration descriptor. 2009-11-02 23:50:12 +00:00
usbdevs Add missing -o to usage output. 2008-12-29 14:59:22 +00:00
vidcontrol Add a new flag to vidcontrol, -T, that allows terminal mode switching. 2009-11-11 08:39:57 +00:00
vipw s/insure/ensure/ in previous commit. My dictionary and m-w.com say they 2005-10-28 22:47:40 +00:00
wake Fix wake(8) synopsis to make it clear that at least one lladdr is required 2009-12-26 18:03:16 +00:00
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd ANSIfy almost all applications that use WARNS=6. 2009-12-29 22:53:27 +00:00
wlandebug add mesh support 2009-07-17 21:11:08 +00:00
wlconfig Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
wpa Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly 2009-08-23 16:04:10 +00:00
yp_mkdb Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ypbind Don't rely on private RPC data structures when there is a perfectly good 2008-09-15 14:01:40 +00:00
yppoll Include <timeconv.h> for time conversion functions. 2004-05-24 16:10:57 +00:00
yppush Remove unsafe use of asynchronous I/O (the SIGIO handler could cause 2006-08-16 12:58:41 +00:00
ypserv (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
ypset Increase helpfulness in diagnostic message - ypbind running without -ypset or 2007-02-28 22:49:12 +00:00
zic MFV of tzdata2009t, r200831 2009-12-22 11:17:10 +00:00
zzz Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
Makefile The service command is an easy interface to the rc.d system. 2009-12-20 01:34:12 +00:00
Makefile.inc