NetBSD/usr.sbin
hubertf 764307a5a1 Keeping my kernel config files under RCS control, I always wished to
have a way to embed the revision number into the kernel's "uname -v"
output. The patch below does this, by generating a new keyword "ident"
that can be followed by any string, e.g.

        ident   "NOON-$Revision$"

will lead to
                                           vvvvvvvvvvvvvvvvvvvvvv
        char version[] =     "NetBSD 1.4P (NOON-$Revision: 1.21 $) #37: Thu Jan
20 02:01:23 MET 2000\n    feyrer@noon:/usr/cvs.local/src-current/sys/arch/i386/c
ompile/NOON\n";

This will lead to a version of "MYMACHINE-$Revision$" instead of the
kernel config file name. If "ident" is not present, the current behaviour
of using the kernel config file's name as identifier is used.

Implement by writing the ident to a file ("ident") in the compile dir,
which newvers.sh will pick up for generating the ident.
2000-01-23 23:37:42 +00:00
..
ac notice "dty" as well as "tty". 1999-10-11 11:44:59 +00:00
accton More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
amd In real_plog() change vsprintf() to vsnprintf() to be sure we'll never overflow 2000-01-15 15:51:54 +00:00
apm Document -s option. Fixes PR 6759 by me. 1999-08-08 16:15:17 +00:00
apmd Add 'l' to getopt-checked flags 2000-01-13 16:04:53 +00:00
arp More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
bad144 More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
bind More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
bootp Need <sys/param.h> for MAXHOSTNAMELEN. 1999-09-26 10:27:40 +00:00
catman Use uname(3) to determine MACHINE type. 2000-01-09 04:54:53 +00:00
chown Since our gcc doesn't warn about NULL format strings anymore, we can 1999-11-09 15:06:30 +00:00
chroot More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
chrtbl
cnwctl nope, those are unsigned long longs; correct accordingly.. 1999-12-01 03:40:51 +00:00
config Keeping my kernel config files under RCS control, I always wished to 2000-01-23 23:37:42 +00:00
cron PR/7662: TheMan: crontab does not think the file changed if the editing session 1999-05-29 18:43:40 +00:00
dbsym change: 1999-04-06 04:54:19 +00:00
dev_mkdb
dhcp 'If it comes from a client that already knows its address and is not 1999-12-07 23:23:16 +00:00
diskpart More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
dumpfs Dump softdep mode. 2000-01-18 20:24:19 +00:00
dumplfs Reversed (corrected) sense of superblock timestamp comparison; added the 1999-05-02 00:26:01 +00:00
edquota Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
eeprom
eshconfig More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
faithd typo (sa_family must be sa_len) 1999-12-30 15:39:40 +00:00
gifconfig Remove bogus declarations of "errno". 2000-01-22 10:16:23 +00:00
greconfig fix title. noted by Danny Thomas <D.Thomas@cmcb.uq.edu.au> in [bin/8734] 1999-11-02 10:30:38 +00:00
grfconfig More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
grfinfo More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
gspa provide initialized C array output directly, rather than through postprocessor 1999-06-22 20:27:21 +00:00
hilinfo
ifmcstat sync with latest KAME. cleanup on interface type determination. 1999-12-09 15:34:19 +00:00
inetd call sigsetmask() on ipsec initialization failure. 2000-01-13 15:53:00 +00:00
iostat Don't unnecessarily check device names if "-x" is used. 1999-09-13 16:59:54 +00:00
ipf remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
iteconfig 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
kgmon More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
kvm_mkdb machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
lastlogin More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
link Add trailing newline to usage string. 1999-09-20 15:01:36 +00:00
lpr Fix null terminating the wrong buffer curtesy of similar variables 1999-12-23 02:10:07 +00:00
mailwrapper Use postfix as an example 1999-05-29 18:18:30 +00:00
map-mbone
mbrlabel Correct handling of extended partitions within extended partitions. 1999-09-23 15:21:12 +00:00
mdconfig mdconfig /dev/md0c rather than /dev/md0a in EXAMPLES. 1999-12-18 03:14:15 +00:00
mdsetimage machine/exec_coff.h -> sys/exec_coff.h 2000-01-07 09:40:33 +00:00
memswitch Add special methods for hw.serial and hw.srammode. 1999-06-28 08:49:15 +00:00
mld6query sync with recent KAME. 1999-09-03 04:34:34 +00:00
mopd fix bug that caused first load to fail - from jkunz@unixag-kl.fh-kl.de 2000-01-10 19:33:18 +00:00
mountd After some light testing, it worked for me, so... 1999-11-14 14:37:16 +00:00
mrinfo
mrouted Use pidfile(3). 1999-06-06 03:27:35 +00:00
mtrace Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
mtree code.c is no longer used, we use strsvis instead. Removed prototypes 1999-12-07 18:42:06 +00:00
ndp Remove bogus declaration of "errno". 2000-01-22 10:18:07 +00:00
netgroup_mkdb more gracefully detect _NG_ERROR 1999-11-28 04:40:21 +00:00
nfsd Per the documented behaviour in the man page, default to 1999-08-31 23:28:34 +00:00
nfsiod
ntp Update to 4.0.98f. fix last remaining references to xntp. 1999-11-16 03:53:21 +00:00
pim6dd write out dump file into /var/run, not /var/tmp. 1999-12-16 05:55:52 +00:00
pkg_install FTP wildcard depends code, initial commit. 2000-01-19 23:28:28 +00:00
portmap improve logging: tell whether a request was declined by the loopback 2000-01-23 15:54:31 +00:00
pppd inet_pton() error must be checked with 1. see inet_pton(3). 2000-01-20 04:55:52 +00:00
pstat fix the table of the STATE field of "pstat -t" 1999-12-08 22:01:53 +00:00
pvcsif adapt to NetBSD code tree. 1999-07-11 17:35:07 +00:00
pvctxctl adapt to NetBSD code tree. 1999-07-11 17:35:07 +00:00
pwd_mkdb Add explicit endianness overrides. 2000-01-23 19:59:32 +00:00
quot Typos (from OpenBSD) 1999-11-18 19:02:31 +00:00
quotacheck Update - quotacheck is run from rc, not rc.local 1999-03-30 23:58:46 +00:00
quotaon More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
rarpd Need <sys/param.h> for MAXHOSTNAMELEN. 1999-09-26 10:40:32 +00:00
rbootd Use pidfile(3). 1999-06-06 02:52:16 +00:00
rdate
repquota Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
rip6query add manpage, rip6query(8). 2000-01-19 06:35:22 +00:00
rmt Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
route6d write out dump file into /var/run, not /var/tmp. 1999-12-16 05:55:52 +00:00
rpc.bootparamd Use full month names with .Dd, as per mdoc.samples(7). 1999-09-12 18:47:10 +00:00
rpc.lockd Use pidfile(3). 1999-06-06 02:52:16 +00:00
rpc.pcnfsd
rpc.statd Tweak the usage output a bit, and exit after printing it. 1999-06-10 05:53:51 +00:00
rpc.yppasswdd Remove last traces of securenet and ypserv.acl 1999-06-28 01:21:51 +00:00
rtadvd grammar fix. sync with latest KAME. 2000-01-06 07:58:04 +00:00
rtsold Remove bogus declaration of "errno". 2000-01-22 10:05:13 +00:00
rwhod avoid memory leak on realloc() error. 1999-12-30 09:10:28 +00:00
sa 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
screenblank Reflect the recent support of wscons. 1999-08-16 20:10:37 +00:00
sendmail Add a .Xr to mailer.conf to these files.. so users might know that such 1999-08-21 06:51:44 +00:00
setkey improve description on ipcomp case. (sync'ed with kAME) 1999-09-07 06:49:37 +00:00
sliplogin
slstats Adapt printf formats for 64bit counters. 1999-11-19 10:45:23 +00:00
spray More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
sup Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
syslogd use sizeof(foo) instead of hardcoded value, to help synchronizing 1999-12-13 04:25:08 +00:00
tadpolectl Fix include. 1999-12-20 09:51:53 +00:00
tcpdchk Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
tcpdmatch Apply IPv6 support patch. 1999-08-31 13:58:58 +00:00
tcpdump avoid use of bitfield in packet format definition. it is non-portable 2000-01-02 13:15:53 +00:00
timed Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
traceroute configure IPsec policy on sending/receiving socket for bypassing IPsec. 1999-09-03 03:10:38 +00:00
traceroute6 Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
trpt IPv6 support. 1999-07-01 19:15:03 +00:00
trsp More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
unlink Append newline in usage(). 1999-09-08 01:33:39 +00:00
usbdevs Make output a little less confusing if run without root priviliges. 1999-09-08 02:39:36 +00:00
user Enhancements from Hubert Feyrer: 1999-12-31 21:58:14 +00:00
videomode
vipw More and more .Os cleanups. .Os is defined in the tmac.doc-common file, 1999-03-22 18:43:46 +00:00
vnconfig Define __POOL_EXPOSE for <dev/vndvar.h>. 1999-04-01 17:24:03 +00:00
wiconfig Clean this up. 1999-07-23 19:06:54 +00:00
wsconscfg print a nicer error message if a screen is already configured 1999-11-10 16:34:58 +00:00
wsfontload Update for changes to 'struct wsdisplay_font'. 2000-01-05 18:46:43 +00:00
xntp Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get 2000-01-21 17:08:33 +00:00
ypbind Spell "privilege" correctly (correct spelling from Jonathan Stone). 1999-08-16 02:59:22 +00:00
yppoll
ypserv Our db btree(3) implementation is tuned for ordered insertion, so pipe 1999-11-19 16:55:25 +00:00
ypset
zdump
zic
Makefile disable sysctl for now (avoid breakage during move from usr.sbin to sbin) 2000-01-17 02:29:48 +00:00
Makefile.inc