Commit Graph

3036 Commits

Author SHA1 Message Date
dsl a276117721 Optimise DISTRIBUTION_DONE= KERNELS_DONE= nbmake snapshot
- If DISTRIBUTION_DONE is defined, don't add the 'root' directory to METALOG.
  (maybe install -M shouldn't write to the METALOG file if it doesn't install
  the file either)
- Don't re-compress the kernels if the compressed file is newer than the
  kernel.
Useful if all you want to do is rebuild the ramdisk image.
2003-08-22 19:03:03 +00:00
mrg 777a312e0f ipnat needs to be before SERVERS - one may need NAT for servers to work
(eg, ntpdate).
2003-08-22 08:43:26 +00:00
itojun 4440262659 create /dev/crypto 2003-08-22 05:06:22 +00:00
tron f48b602669 Don't use depricated "-f" option to mixerctl(1). Patch supplied by
Bruce J.A. Nourish in PR misc/22524.
2003-08-18 13:04:10 +00:00
hannken efc0a23c7d Add lpt (for explora) as char 20.
This major number is unused in macppc.
2003-08-17 11:06:46 +00:00
rafal 499d0081dd Add radio(4) devices. 2003-08-08 16:41:41 +00:00
wiz ef6f82b46b Remove nntp line -- it refers to a non-existing daemon.
Closes PR 22388, from Nate Hill.
2003-08-07 06:44:29 +00:00
bjh21 47a6970dac Put boot32,ffa into the release tree so people can use it for booting ramdisk
kernels.
2003-08-02 18:02:36 +00:00
tsutsui b51dfb6979 Add some MI SCSI devices. 2003-08-01 02:17:48 +00:00
itojun 3f14c71f75 reserve cdev major # for PF. ok'ed by technical-exec 2003-07-27 14:17:57 +00:00
lukem 6d7e3e1b0d Add "*,v" to the list of scratch files to skip.
Suggested by Johnny Lam / Alistair Crooks
2003-07-26 05:13:47 +00:00
jonathan cf25ac5ebd Add /usr/include/crypto for userspace API to opencrypto framework. 2003-07-25 22:59:58 +00:00
mrg f4f8071598 add new g++ dirs 2003-07-25 16:55:15 +00:00
tshiozak 7264d9073d add new locales: bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:30:33 +00:00
lukem f134f3dc38 Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
2003-07-18 08:26:01 +00:00
atatat ccf314363b Move the libmilter headers to where they belong. 2003-07-10 13:07:24 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
enami f91480b342 Replace some spaces with tab and remove trailing spaces. 2003-07-08 03:32:00 +00:00
simonb 22e98152fc Add a few more services showing up regularly in my IP filter logs. 2003-07-08 02:48:37 +00:00
simonb 933836753e Add port 8080 (http-alt) to the "ports commonly found in security logs"
section.
2003-07-07 01:26:15 +00:00
marcus 5bc691beb5 Removed references to devices and special targets not actually supported. 2003-07-04 16:34:41 +00:00
lukem 8026bccd2c Revert previous; the "return" if rc.subr had already loaded had issues
in some circumstances where run_rc_script()'s sourcing of an rc.d file
which then sourced rc.subr, the `optimisation' in rc.subr to "return as
we're already loaded" would finish more than just the inner-most sourcing.
I haven't tracked down the exact issue, but removing the `optimisation'
fixes the problem I noticed in starting up certain rc.d scripts, and
may fix [bin/22053] as well.
2003-07-04 14:14:10 +00:00
atatat 9b040021ec Make /usr/include/milter for sendmail's milter headers 2003-07-04 04:54:40 +00:00
wiz 598ecee001 Add /usr/share/locale/ro{,/LC_MESSAGES}. 2003-07-03 15:17:17 +00:00
christos 7d3ab77f7d identd can now run as nobody. 2003-06-27 18:40:06 +00:00
tshiozak 1d910e61f7 Citrus iconv support(5)
add iconv data files.  now ready to use iconv stuffs.
TODO:
- manpages.
- enrich mapper/esdb.
2003-06-27 08:39:59 +00:00
lukem b0f080676b Support "multicastclient" directives in ntp.conf.
Based on [bin/17930] from Stoned Elipot.
2003-06-27 07:22:36 +00:00
lukem 151e9a3180 If _rc_subr_loaded=true, "return" immediately, otherwise set that var
and continue as normal.
Gains ~ 2 seconds on 110 runs of ". rc.subr" on a shark.
Suggested by Andrew Cagney in [bin/18400]
2003-06-27 05:01:21 +00:00
lukem e85d25db42 run_rc_command(): when checking if ${command} exists before executing it,
be sure to check under ${name_chroot} (if set).
Fix from Ed Ravin in [bin/18523]
2003-06-27 04:06:01 +00:00
wiz 71a2c91273 Add some dirs to be used by groff-1.19 (coming soon). 2003-06-26 09:24:25 +00:00
martin 78e800a41c Ifwatchd now uses syslog, so require syslogd. 2003-06-24 09:32:46 +00:00
lukem eaaa8e8699 Invoke makeobsolete with ${HOST_SH} and pass in ${MAKE}.
Fixes FreeBSD cross-build problem noted by Valeriy E. Ushakov <uwe@>
2003-06-08 23:49:21 +00:00
reinoud 9af716fd9a Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
fair 5b0bcd4163 Add "kamanda" 10081/udp for Amanda with Kerberos per PR 21756 2003-06-03 16:59:48 +00:00
christos b224530c28 Use more concise shell syntax:
1. for i in $* -> for i
2. foo=$* -> foo="$@"
2003-06-03 14:00:45 +00:00
martin 23ccfa6b2c Add nsmb support. 2003-06-01 20:25:02 +00:00
thorpej 846d276e6f Don't build a big-endian image on platforms which don't run big-endian. 2003-05-26 15:46:48 +00:00
lukem 6087671da1 * Always include <bsd.endian.mk>, and include it much earlier so that
it's available for the MD etc.${MACHINE}/Makefile.inc
* Set PWD_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than
  overriding TARGET_ENDIANNESS.
2003-05-18 08:28:05 +00:00
wiz 5b143c1fff No point in a qms device if there is no qms driver. 2003-05-15 19:05:28 +00:00
wiz b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
wiz 804526377b Remove device nodes for obsolete olms and omms drivers.
Except for i386, the driver never existed for that port anyway...
2003-05-15 13:18:05 +00:00
lukem 6409af4cfe use find_file_in_dirlist() (instead of private version) when searching
for the ssh moduli file
2003-05-15 05:25:24 +00:00
ragge 9f99c49364 Remove kvm.db, reminded by atatat. 2003-05-14 16:36:22 +00:00
thorpej 003c4a9e6c Add /dev/icp*. 2003-05-13 15:44:32 +00:00
lukem 35bfe45330 Ensure that the exit status in do_obsolete() is correctly determined.
Problem introduced in previous, and noticed by Rob Quinn in private email.
2003-05-13 02:41:27 +00:00
ragge 91b1808f8e Remove kvm_mkdb, it's not used anymore. 2003-05-11 18:17:30 +00:00
lukem db48ae2bcb reverse sort all of the obsolete lists before attempting to removing,
incase an obsolete directory appeared in a setfile whose filename
alphasorted before another setfile with obsolete "children" of that directory.
fixes [install/21348] from Rob Quinn.
2003-05-10 10:20:31 +00:00
augustss 528dbaae90 Remove ksyms before mknod ksyms. 2003-05-09 00:13:50 +00:00
lukem b8984d0017 etc/mail/aliases.db is optional. From [misc/18536] by Jeremy Reed. 2003-05-09 00:10:52 +00:00
christos e98429f32c fix ugen issue from latest shell changes that treat numeric constants
differently depending on their prefix.
2003-05-07 13:41:34 +00:00
gmcgarry cd3c6906c0 Add wsfont support. Addresses PR#18388. 2003-05-04 01:18:56 +00:00
tron 8595228212 identd(8) must run as "root" to use TCPCTL_IDENT via sysctl(3). This fixes
PR bin/21261 by myself.
2003-05-02 08:51:08 +00:00
wiz e50c267861 Add arc and cobalt html4 subdirs. 2003-04-30 09:40:43 +00:00
lukem 14ec4984a1 etc/powerd/** is optional 2003-04-30 09:05:56 +00:00
bjh21 24a7d37d49 Create man4 and cat4 directories for arc and cobalt. 2003-04-30 09:01:41 +00:00
ragge ce0bf5c28d Add ksyms to "std" devices. 2003-04-27 13:15:28 +00:00
wiz c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
fvdl 41f90fa6c0 x86_64 -> amd64 2003-04-26 21:59:43 +00:00
fvdl 043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl 0945a6df17 x86_64 -> amd64 2003-04-26 19:02:50 +00:00
perry a6c2c6c171 Add more descriptive header comments for default dotfiles.
Text based on suggestions by Igor Sobrado in PR misc/21223
2003-04-24 01:02:26 +00:00
perry 66adc5d938 Add a default .logout file.
Suggested by Igor Sobrado in PR misc/21223
2003-04-24 01:01:39 +00:00
perry c2c36bf309 Make a bunch of names mindlessly consistent with the one true way
(e.g., massbus->MASSBUS, unibus->UNIBUS, and similar for some device
names.)
Proposed by Igor Sobrado in PR port-vax/21183 -- but he sent in a
patch that he'd obviously cut and pasted from an xterm or something
that similarly destroyed all the tab characters so I had to re-do it
by hand.
2003-04-23 23:25:02 +00:00
thorpej 953de79cde Add a reset_button script. 2003-04-20 20:55:39 +00:00
martin 66baae11eb Add sysmon. 2003-04-20 17:03:32 +00:00
wiz 71dd417eff {cat4,html4,man4}/arm32 not needed any longer. 2003-04-18 14:54:57 +00:00
thorpej 860e1121cf Add /dev/power (part of sysmon). 2003-04-18 06:00:46 +00:00
thorpej 8332742ea3 Add powerd rc.d script and configuration scripts. 2003-04-18 05:42:04 +00:00
thorpej 3449ccac0f Install powerd(8) scripts when installing etc files. 2003-04-18 05:41:47 +00:00
thorpej e45c396415 Add a default power_button script for powerd(8). 2003-04-18 05:40:06 +00:00
thorpej 324cf4c7d6 Add /etc/rc.d/powerd. 2003-04-18 05:38:40 +00:00
thorpej 7fcb5daedb Add defaults for powerd(8). 2003-04-18 05:21:20 +00:00
thorpej f0150db8f2 Add an rc script for powerd(8). 2003-04-18 05:19:35 +00:00
thorpej 7591178b00 Create /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:29 +00:00
thorpej f72721d957 Add man4 acorn32 dirs. 2003-04-17 22:23:47 +00:00
fvdl c3065b2a37 Create two ptys in the init case. You never know, you might need them
(sysinst does).
2003-04-17 18:51:23 +00:00
fvdl 750b5b8327 Add an 'init' target, that creates the device nodes in the case where
MAKEDEV is being called from init(8) to create an MFS /dev. For most
ports, this is the same as 'all'. The only exceptions are i386 and
x86_64.
2003-04-17 18:03:10 +00:00
wiz 4b9534ebf5 Remove quadmouse comment without matching code; remove unused qms and mouse-qms targets. 2003-04-16 10:02:43 +00:00
cjs 957075b57b Change ipsec.conf not to be world-readable and nodiff, so we don't expose keys
if they happen to be in that file. Also add /etc/racoon stuff.
2003-04-16 03:16:38 +00:00
lukem a1e70625a5 remove superfluous "uname=root gname=wheel" from etc/postfix/** entries 2003-04-15 06:21:51 +00:00
wiz 8c98a58428 Make it "Risc PC" instead of RiscPC.
Noted by Ben Harris who pointed at
	http://www.riscos.com/faqs/spelling_and_pronunciation.htm .
2003-04-14 11:57:10 +00:00
wiz c08f5994be Correct casing of RiscPC. From Igor Sobrado in PR 21144. 2003-04-14 06:32:02 +00:00
wiz a20ec90fe2 Uppercase ITE. Addresses PRs 21138 to 21141 by Igor Sobrado. 2003-04-14 05:45:40 +00:00
salo 0db44986d2 Add slovak language libc message catalog. 2003-04-14 05:21:47 +00:00
jmmv 8fee00a553 ... ca/LC_MESSAGES is not needed. 2003-04-13 09:54:41 +00:00
jmmv 4f7db6cd44 Finally add complete support for Catalan (ca_ES, ca) LC_CTYPE and libc
catalog messages.
Thanks to salo for letting me know what was missing.
2003-04-13 09:48:18 +00:00
thorpej b5154d96e4 Build a selection of install kernels. 2003-04-10 02:22:06 +00:00
jmmv 33b8c350b6 Add a Catalan libc message catalog file (plus everything else needed to
track the file).  Closes my own PR lib/19498.
2003-04-09 20:17:06 +00:00
perry cb606faa7a add :ht: to the Pc entry so wscons consoles will have proper tab
handling (i.e. not oxtabs.)
From Geoff C. Wing in PR misc/21006
2003-04-04 16:43:38 +00:00
jdolecek 772fa9214a add /usr/share/examples/smbfs/dot.nsmbrc 2003-04-04 07:53:09 +00:00
is f334171ccc Variable substitution happens at trap installation time, not at trap
execution time - so it used to print "Using default configuration of
/etc/passwd".
2003-04-03 11:25:10 +00:00
atatat 4beb2262be Capitalize the word "if". 2003-04-02 18:17:27 +00:00
atatat a7627e5f06 Reorganize/clarify the configuration checks (and subsequent messages)
that might block startup, and be more permissive in general about
allowing the daemons to start.

Add some descriptive comments to the top of the smmsp script that
describe the purpose of the process.
2003-04-02 18:00:13 +00:00
atatat 8deab10532 Add more style points to a few places in the do_sendmail section, and
teach it how to install sample config files so that people aren't as
lost.
2003-04-02 17:56:46 +00:00
perry c85da95565 For consistency and simplicity, move the default location for cron logs
from /var/cron/log to /var/log/cron
2003-04-02 14:38:26 +00:00
perry 2f1f870fa8 make ipl consistently "IP Filter" 2003-03-31 03:58:55 +00:00
wiz 6b225e1f2c MicroVAX, not microvax. 2003-03-30 21:13:22 +00:00
perry 24c4870c9c Ip filter->IP filter 2003-03-30 20:19:51 +00:00
perry 7109d49cfa builtin->built-in 2003-03-30 20:18:47 +00:00
perry 30156fc1d9 readd->re-add 2003-03-30 20:18:14 +00:00
perry 524e93ae17 reenable->re-enable 2003-03-30 20:17:15 +00:00
perry 3367c22e5b IPilter->IP filter 2003-03-30 20:16:34 +00:00
perry 58825b7dac builtin->built-in, newstyle->new style 2003-03-30 20:15:36 +00:00
wiz 0be80bf193 Sync vnd descriptions to one wording. 2003-03-30 18:11:34 +00:00
wiz 4f7f654a46 Uppercase scsi. 2003-03-30 18:08:31 +00:00
wiz 8dab8f4d58 Miscellaneous fixes from Igor Sobrado, in PRs 20943-20959. 2003-03-30 17:41:51 +00:00
wiz 7d7647a831 Correct spelling of "RS-232" and IP filter. PR 20942 by Igor Sobrado. 2003-03-30 17:24:40 +00:00
ichiro a7d0ae612f add pci* 2003-03-28 22:40:19 +00:00
tshiozak c2cadb8a46 add support for zh_CN.GB18030 locale.
(lib/20835 by sigsegv at s25 dot xrea dot com)
XXX: charclass for GBK compatible area is not supported.
2003-03-25 18:26:51 +00:00
atatat ffb0f92a6c Add the new queue directory for the sendmail "mail submission" mode. 2003-03-24 15:21:18 +00:00
atatat d47616429d Expand the sendmail settings section (from two to five) and elaborate
(in brief) on what it's all about.
2003-03-24 15:20:36 +00:00
atatat 9dc7b7c964 Tweak postinstall to check for (and help out on) the upgrade to
sendmail 8.12.8.  Some of the same machinery (in shorter form) is in
the additions to rc.d/sendmail.  Also, add a smmsp startup script for
the sendmail client queue runner.
2003-03-24 15:19:27 +00:00
chris 41bc088bc8 Add bpf0 to the ramdisk for MAKEDEV
While here also remove the qms related devices, cats is very unlikely to have
a quadrature mouse attached to it.
2003-03-23 13:28:45 +00:00
chris cad8f58de0 Correct gunzip behaviour, feed the output into stdout, so the redirect works. 2003-03-22 00:13:35 +00:00
mrg 84bea27ae2 back out revision 1.5: put back the "default to sendmail" lines. once again
netbsd ships with a working mailer out of the box.  (be nice if it *wasn't*
sendmail, but until there is a working in-tree replacement that requires no
further configuration, ie, "just works", sendmail is all we have to choose
from.)

approved by: core
2003-03-20 23:09:56 +00:00
wiz 4f30393de2 Allow ccd autoconfiguration to be turned off (by setting ccd=NO in
/etc/rc.conf; default is YES.)
Suggested by elric, ok'ed by lukem.
2003-03-19 08:54:00 +00:00
wiz 4c74ff3fdd Allow cgd configuration to be skipped (by setting cgd=NO, defaults to YES).
Closes my PR/20766.  Based on a suggestion by lukem.
2003-03-19 06:06:47 +00:00
jdolecek 2a74d10407 atc uses /var/games/atc_score, not atc_scores
Problem pointed out and fix supplied in PR install/20709 by Kazuhito Tsuburaya
2003-03-15 08:44:16 +00:00
martin 047a69a2e5 Make it start before "SERVERS" and remove redundant dependency on
"network". This brings it in line with the altqd script, which has
very similar requirements.
2003-03-14 09:18:50 +00:00
matt 8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
hannken 42cc9f8839 Add wscons to MAKEDEV. Add wsfont major number. 2003-03-13 14:56:56 +00:00
lukem 325e31e279 rcconf_is_set(): add optional 4th arg to control whether "obsolete"
warnings are printed.  this means it can now be used for "non obsolete"
rc.conf checks as well...
2003-03-11 04:49:18 +00:00
lukem b307261961 clarify that lkm needs /usr 2003-03-10 18:21:00 +00:00
lukem f70738da04 move altqd slightly later in the boot sequence; as it's in /usr/sbin,
it needs to depend upon mountcritremote, not run before NETWORKING ...
2003-03-10 18:17:06 +00:00
lukem 7dbfbdf511 - rename 'iso-image_*' -> 'iso-image-*'
- run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run,
  since the latter might actually modify the generated image...
2003-03-08 00:22:29 +00:00
lukem 4d531936c1 use distrib/common/sunbootcd.sh instead of building the
non-cross-friendly distrib/utils/mksunbootcd/mksunbootcd
2003-03-07 09:46:51 +00:00
fvdl a5e1ea426b Add GENERIC.MP to the kernel sets. 2003-03-07 00:48:48 +00:00
tron 071441c2a1 Remove "/etc/X11" and "/etc/fonts". The other X11 directories are not
listed here, too.
2003-03-05 16:47:03 +00:00
jmmv db97c4116c Use the pidfile created by wsmoused. 2003-03-04 22:32:11 +00:00
jmmv 29e803a523 Add the /usr/share/examples/wsmoused directory (hi wiz!). 2003-03-04 14:53:01 +00:00
bjh21 892091f675 Use ${HOST_INSTALL_FILE} to put the bootloader in the release tree,
rather than cp.  This seems to be what everyone else does, and saves
problems if the release tree is already part-populated.
2003-03-01 15:36:22 +00:00
tron 7a18de142d Add "/etc/X11" and "/etc/fonts". 2003-02-28 23:04:48 +00:00
atatat 3065ba7178 Execute the actual command as it's set instead of calling the sh
routine directly.  This allows one to to override a specific command
via the use of /etc/rc.conf.d/sysdb.
2003-02-24 01:04:45 +00:00
lukem 6bce155b9e now that the obsolete lists are part of the "base" set (instead of "etc"),
only look for them in ${DEST_DIR}/var/db/obsolete
2003-02-22 23:46:46 +00:00
lukem 4f6381b784 all:
Use /var/db/obsolete instead of /etc/obsolete

etc/Makefile:
	Create separate target "install-obsolete-files" to populate
	/var/db/obsolete, instead of using "install-etc-files".

Makefile:
	Add do-obsolete target, to run "cd etc && make install-obsolete-files",
	and add this to BUILDTARGETS.
	This moves the "obsolete files" creation from "distribution" to "build".


Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00
jhawk 1d79603c81 Use $diff_options when running diff in /etc/security.
Default diff_options to -u, for unified-format context diffs,
because context is essential to a useful evaluation of differences.
This represents a behavior change.

Implements change-request PR security/17247 from
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2003-02-21 22:47:51 +00:00
jhawk 3b390ffb5f Suppress emailing the daily security report if it is empty, unless
send_empty_security=YES. Implements change-request PR security/17249
from Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2003-02-21 22:35:46 +00:00
martin 5463479362 Add a few devices. 2003-02-20 13:37:33 +00:00
lukem 4777a3b44a rm -f target file before cp -f. 2003-02-20 12:47:29 +00:00
lukem 5c198ab018 etc/postinstall
*	Improve message display in find_file_in_dirlist()
    *	do_obsolete(): instead of running distrib/sets/makeobsolete to
	temporarily generate the obsolete sets lists, look for them in
	${SRC_DIR}/etc/obsolete/* or ${DEST_DIR}/etc/obsolete/*.
	The obsolete check now works for "extracted etc.tgz" as the source dir.

etc/Makefile (install-etc-files), distrib/sets/lists/*
    *	Install obsolete set lists into /etc/obsolete/
    *	Tweak how pwd_mkdb files are added to METALOG

distrib/sets/makeobsolete
    *	Don't bother with "_obsolete" suffix on generated file names.
2003-02-20 11:40:28 +00:00
jdolecek 68756e42ca don't need duplicate nsmb entry in 'Special devices' 2003-02-18 12:29:43 +00:00
jdolecek 3b055749f1 fix nsmb* to use correct assigned major, hook creation of nsmb devices
into 'all' target
2003-02-18 12:28:57 +00:00
lukem 31e59fe101 - add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items
2003-02-18 10:12:52 +00:00
grant 117844eb75 change behaviour of 'reload' to only reload the NAT rules and NOT flush
the state table, making it much more useful.

The behaviour of 'restart' is unchanged (flush state table and reload
rules), but is now done slightly more elegantly.

ok'd by lukem.
2003-02-16 22:18:46 +00:00
lukem ed45489d27 be more obvious about the requirement on mkisofs 2.0 2003-02-16 00:22:37 +00:00
lukem cd8d483609 Do not ship with (an empty) /home in the base distribution.
The old behaviour caused problems when /home is a symlink on a system
and pax is used to extract base.tgz or "installworld" the base set
(because pax will remove the symlink before creating the now-empty
directory).  It also made it more difficult for a site that wants
permissions on /home to be something other than what the NetBSD
defaults are.

For sites which want /home, it's a "once off" operation to create it,
and "useradd -m" (with the default "base-dir" of /home) will create
it anyway.

This resolves PR [install/19673], as well as being more consistent
with our defacto policy of "not stomping on stuff we don't need to".
2003-02-16 00:18:59 +00:00
bouyer 3f0c6192ac Also register rquota version 2. 2003-02-14 14:56:45 +00:00
jhawk 687107d3c0 Under check_mtree, invoke mtree with -L if check_mtree_follow_symlinks is set.
Apparently mtree -L is imperfect, but it is far better than the lack thereof
if symlinks are involved reaching files mtree verifies.
2003-02-13 02:42:06 +00:00
jhawk 1a4c8c0295 Add some flexibility to /etc/security, by way of security.conf options:
check_passwd_nowarn_shells	Don't warn about these non-/etc/shells shells
  check_passwd_nowarn_users	Don't warn about these users
  check_passwd_permit_star	Don't warn about "*" in the $2 field
Behavior change: check_passwd_nowarn_shells defaults to /sbin/nologin and
  /usr/libexec/uucp/uucico, so that it will not warn about the default
  master.passwd.
The rationale here is that an administrator who chooses to permit these
  warnable conditions should not be warned about them day after day, yet
  should not be forced to disable check_passwd entirely.
check_passwd_permit_star is primarily of interest to sites who use *'d
  entries for Kerberos or ssh logins, despite the fact that we permit
  "*ssh" (etc.) for this purpose (legacy).
2003-02-13 01:55:10 +00:00
martin afe227f25f Make the single-arch ISO image created by "make iso-image" bootable.
(Using partition f to boot, since that is the default on sparc64
machines and we don't have to consider conflicts for single arch CDs -
this means "boot cdrom" just works)
2003-02-08 18:39:56 +00:00