NetBSD/sbin
lukem efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
..
atactl Sort sections. 2001-11-16 11:21:37 +00:00
badsect Sort sections. 2001-11-16 11:21:37 +00:00
bim Wrap a long line, some other minor KNF. 2001-11-22 23:24:44 +00:00
brconfig Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
ccdconfig Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
chkconfig Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
clri
disklabel The sun2 also requires partitions in integer cylinders. 2001-12-14 23:36:25 +00:00
dmesg
dump Fixes from FreeBSD: 2001-12-25 12:06:26 +00:00
dump_lfs One '\' too many. 2001-12-07 19:50:20 +00:00
edlabel MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
fastboot Sort SEE ALSO. 2001-11-16 11:31:30 +00:00
fdisk MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
fsck Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
fsck_ext2fs Sort SEE ALSO. 2001-11-16 11:31:30 +00:00
fsck_ffs Don't use the pendinginodes and pendingblocks fields in alternate 2001-12-19 10:05:20 +00:00
fsck_lfs Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
fsck_msdos Allow check to proceed with bad backup boot block if we're doing a readonly 2001-12-22 17:25:20 +00:00
fsdb Sort sections. 2001-11-16 11:21:37 +00:00
fsirand this doesn't need <ufs/ufs/inode.h> 2001-11-16 14:33:37 +00:00
ifconfig Whitespace nits 2001-11-16 10:25:42 +00:00
init * Add user-controlled mk.conf variables 2001-12-28 01:32:37 +00:00
ldconfig Sort sections, use standard headers, slight markup improvement. 2001-11-16 11:37:40 +00:00
lmcctl Drop unnecessary .Pp and empty lines. Drop unneeded .Nm argument. 2001-11-16 11:38:15 +00:00
mbrlabel Drop unnecessary .Pp. 2001-11-16 11:38:35 +00:00
mknod
modload Improve author markup, use standard header. 2001-11-16 11:57:16 +00:00
modunload Improve author markup, use standard header. 2001-11-16 11:57:16 +00:00
mount Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
mount_ados Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
mount_cd9660 Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
mount_ext2fs Sort sections. 2001-11-16 11:21:37 +00:00
mount_fdesc Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
mount_ffs Sort sections. 2001-11-16 11:21:37 +00:00
mount_filecore Punctuation nit. 2001-11-16 11:58:28 +00:00
mount_kernfs Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
mount_lfs
mount_msdos Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
mount_nfs Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
mount_ntfs Punctuation nits, drop a .Pp, use .Nx, use standard headers. 2001-11-16 11:59:47 +00:00
mount_null Lose unnecessary .Nm argument. 2001-11-16 12:00:10 +00:00
mount_overlay
mount_portal Fixed minor typo in example for cksum /tmp/rc 2001-12-11 15:46:26 +00:00
mount_procfs Punctuation fixes, sort SEE ALSO, sort sections, use standard headers. 2001-11-16 12:01:57 +00:00
mount_umap Sort sections. 2001-11-16 11:21:37 +00:00
mount_union Sort SEE ALSO, sort sections. 2001-11-16 12:03:20 +00:00
newbtconf Fix typo (etc/config -> etc.config) 2001-11-18 03:50:53 +00:00
newfs clamp bsize to MAXBSIZE 2001-12-13 06:31:31 +00:00
newfs_lfs Punctuation fixes, sort SEE ALSO, use an mdoc macros instead of two man macros. 2001-11-16 12:05:00 +00:00
newfs_msdos Sort sections. 2001-11-16 11:21:37 +00:00
nologin Improve grammar. Noted by Stoned Elipot. 2001-11-18 23:21:02 +00:00
ping Sync options with usage. 2001-12-20 20:23:09 +00:00
ping6 Add space before ..., lose a .Pp. 2001-11-16 12:06:01 +00:00
pppoectl Lots of grammar fixes and other slight improvements. 2001-12-10 23:57:48 +00:00
raidctl Don't abuse -unfilled for -literal; sort sections, sort SEE ALSO, drop 2001-11-16 11:06:46 +00:00
rcorder Whitespace nits 2001-11-16 10:25:42 +00:00
reboot Sort SEE ALSO, use .Pp for paragraphs. 2001-11-16 12:06:32 +00:00
restore fix compile issues now that on-tape times are int32_t instead of time_t 2001-12-23 14:40:42 +00:00
rndctl Sort sections, use standard headers, sort SEE ALSO. 2001-11-16 12:08:19 +00:00
route Punctuation fix, sort sections, sort SEE ALSO. 2001-11-16 12:08:49 +00:00
routed Punctuation fix, sort sections, lose a .Pp. 2001-11-16 12:09:19 +00:00
rtsol MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
savecore Sort sections. 2001-11-16 11:21:37 +00:00
scsictl Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
setkey Slightly improve markup in two places, sort sections. 2001-11-16 12:10:06 +00:00
shutdown Whitespace nits 2001-11-16 10:25:42 +00:00
slattach Sync getopt() / man page with actual getopt options. 2001-12-20 20:10:33 +00:00
swapctl Add word "WARNING" when complaining about swap being world-read/writeable 2001-11-26 15:23:38 +00:00
sysctl change a lot of the "error" messages to display to stdout instead of 2001-12-24 01:30:38 +00:00
ttyflags Whitespace nits 2001-11-16 10:25:42 +00:00
tunefs Sort sections. 2001-11-16 11:21:37 +00:00
umount
wdogctl Use standard section headers. 2001-11-16 11:27:09 +00:00
wsconsctl Fix typo; pointed out by Gregory McGarry. :-) 2001-12-04 09:56:31 +00:00
Makefile Move /usr/sbin/pppoectl to /sbin/pppoectl, so we can call it from 2001-12-10 17:22:09 +00:00
Makefile.inc enable WARNS?=2 2001-12-05 05:50:22 +00:00