NetBSD/usr.sbin
jmc b2f782612f Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
..
ac Remove duplicate include, fixes PR bin/25017 from Jeff Ito. 2004-04-02 09:58:33 +00:00
accton Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
altq Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
amd Add more info that recent amd's want. XXX: this is not cross-build friendly. 2004-01-11 18:37:35 +00:00
apm Add missing "m" option in SYNOPSIS. 2004-03-31 12:00:57 +00:00
apmd Describe default polling rate correctly, from Jeff Ito in PR 25589. 2004-05-16 10:54:12 +00:00
arp Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'. 2003-09-07 16:22:20 +00:00
bad144 Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
bind Reference rndc(8) instead of bind8's ndc(8). 2004-06-03 15:05:45 +00:00
bootp Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
catman Undo a pointless instance of readlink(2) buffer termination. 2004-05-10 19:23:48 +00:00
chown Allow a numeric ID to be preceeded by '#' to avoid the name lookup. 2003-09-25 10:30:10 +00:00
chroot Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
chrtbl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
cnwctl
config Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
cron New sentence, new line; use Ev for environment variable; 2004-03-20 18:54:33 +00:00
dev_mkdb Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
dhcp Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
diskpart Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
dumpfs when printing alternate superblocks, cast result of 2004-06-14 07:22:04 +00:00
dumplfs Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
edquota Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
eeprom
envstat One r in the option string is enough; from Jeff Ito. 2004-06-03 16:48:53 +00:00
eshconfig realloc pedant 2003-09-19 06:22:03 +00:00
etcupdate s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
faithd fix a typo 2003-11-12 13:31:44 +00:00
fssconfig Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
grfconfig
grfinfo
gspa use An to markup names. 2003-11-12 13:33:24 +00:00
hilinfo
hprop split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se 2003-07-23 08:01:24 +00:00
ifmcstat
ifwatchd Add support to call scripts at carrier detect/drop time (on network 2004-01-04 22:19:51 +00:00
inetd note that hosts_allow does not affect internal services 2004-04-02 10:13:57 +00:00
installboot Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
iopctl
iostat for -x -I output, use just MB instead of MB/s in header 2004-02-25 03:39:14 +00:00
ipf Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
irdaattach
isdn Make "local-phone-dialout" optional. 2004-05-06 21:13:28 +00:00
iteconfig s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
kadmin
kdc libkrb depends on libdes, patch in private mail from 2003-08-23 23:03:42 +00:00
kgmon Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
kstash
ktutil
kvm_mkdb s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
lastlogin Fixed a bug that made lastlogin ignore the first user argument 2003-12-16 15:40:29 +00:00
link
lpr Really set "MKPRIVATELIB" and not "INTERNALLIB". 2004-05-23 14:05:39 +00:00
lptctl New sentence, new line. 2004-02-04 14:25:13 +00:00
mailwrapper
makefs Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
map-mbone Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mdconfig
mdsetimage
memswitch Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mld6query
mlxctl use bounded string op 2003-07-13 12:29:20 +00:00
mopd Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
mountd Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
moused s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
mrinfo Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
mrouted Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'. 2003-09-07 16:22:20 +00:00
mscdlabel
mtrace ignore non-AF_INET addrs. from openbsd 2003-09-23 10:50:51 +00:00
mtree Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
ndbootd With recent changes to BPF, pushing the default buffer size to 1MB, running 2004-04-10 17:53:05 +00:00
ndp close(2) missing. Andrey Matveev 2004-05-24 03:51:04 +00:00
netgroup_mkdb
nfsd Increase userspace (/usr/sbin/nfsd) limit on nfsd count from 20 to 1024. 2003-12-06 03:01:16 +00:00
ntp Make this a shell script (invoking awk), rather than an awk script, to 2004-06-07 18:48:29 +00:00
pcictl Update for new pci_devinfo(3) signature. 2004-04-24 13:41:51 +00:00
pkg_install Flags need Fl, not Ar. 2004-06-03 15:54:09 +00:00
powerd Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt]. 2004-05-03 14:23:12 +00:00
pppd PR/20066: John F. Woods: Supply a loadable lcpstatus command. 2004-05-13 19:37:58 +00:00
pstat Make pstat -f work on sparc by adjusting the offset of the buffer passed 2004-02-22 12:30:11 +00:00
pvcsif
pvctxctl
pwd_mkdb Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
quot Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
quotacheck fffv2 might not have FS_FLAGS_UPDATED set 2004-03-27 13:11:47 +00:00
quotaon Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
racoon sync w/ 20040617. 2004-06-17 03:42:55 +00:00
rarpd Fix handling of interface aliases if "rarpd" is not invoked with "-a". 2004-05-12 16:48:44 +00:00
rbootd With recent changes to BPF, pushing the default buffer size to 1MB, running 2004-04-10 17:53:05 +00:00
rdate Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
repquota Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rip6query Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rmt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
route6d Let it compile again on sparc/sparc64. 2003-10-31 10:09:55 +00:00
rpc.bootparamd Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
rpc.lockd Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
rpc.pcnfsd s/netbsd.org/NetBSD.org/i 2003-11-12 13:31:07 +00:00
rpc.statd init_file: copy status_info from static storage so that 2004-01-14 10:29:46 +00:00
rpc.yppasswdd Problem: rpc.yppasswdd didn't work if invoked with the "-noshell" option. 2004-05-12 08:25:53 +00:00
rpcbind Decrease log severity to debug if a protocol is not supported by the 2004-05-20 12:22:23 +00:00
rtadvd Don't compare an int to NULL. 2003-10-21 03:01:44 +00:00
rtsold backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
rwhod Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
sa Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
screenblank Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
sendmail
sesd s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
sliplogin Don't compare an int to NULL. 2003-10-21 02:53:57 +00:00
slstats
sntp "msntp"->"sntp, and adjust location of runtime data files 2003-12-09 11:15:18 +00:00
spray
sunlabel Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
sup Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
sushi s/the the/the/ (only in sources that aren't regularly imported from 2004-04-23 02:58:27 +00:00
syslogd use "volatile sig_atomic_t" for gothup; Havard Eidnes 2004-03-06 20:29:25 +00:00
tadpolectl use bounded string op 2003-07-13 12:08:28 +00:00
tcpdchk use bounded string op 2003-07-14 09:07:22 +00:00
tcpdmatch
tcpdump Rework how MAKEVERBOSE operates: 2003-10-21 10:01:19 +00:00
timed s/transmitts/transmits/ 2004-02-09 15:43:05 +00:00
tpctl Fix some typos. 2004-02-24 15:12:18 +00:00
traceroute do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
traceroute6 do not disclose endian/pid. henning@openbsd 2004-04-22 01:41:22 +00:00
trpt no need for explicit '?'; openbsd 2003-09-19 08:24:07 +00:00
trsp Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 11:25:11 +00:00
unlink
usbdevs Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
user Add -S argument to useradd, usermod and userdel, which allows the use of 2004-01-14 09:35:33 +00:00
videomode use bounded string op 2003-07-13 12:08:28 +00:00
vipw Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
vnconfig Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
wiconfig Re-add support for wiconfig wiX -A #, which chooses between OpenSys and 2004-01-23 02:32:52 +00:00
wsconscfg Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
wsfontload Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
wsmoused though -> through. 2004-06-08 03:28:42 +00:00
wsmuxctl Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
ypbind Homogenize usage messages: make the 'usage' word all lowercase, as this seems 2004-01-05 23:23:32 +00:00
yppoll John Brezak (now jbrezak at windows dot microsoft dot com) kindly 2003-12-10 17:10:34 +00:00
ypserv Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and 2004-05-23 02:24:50 +00:00
ypset Modify the licences of code written by Theo De Raadt from a 4-clause 2003-12-10 12:06:25 +00:00
zdump
zic
Makefile Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
Makefile.inc