Commit Graph

2885 Commits

Author SHA1 Message Date
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
atatat 3ce3a9a2c4 When finding core files, only print the names of things that are
*files*, (ie, not directories, or symlinks, or...).  Also remove
the -a instances.  They're implicit.
2003-02-04 05:31:18 +00:00
thomas 8b5dc32381 WS keyboard device. 2003-02-02 18:05:08 +00:00
lukem 2c589141ff Implement start_cmd as:
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
	stop_cmd=$start_cmd
	reload_cmd=$start_cmd
(Just to be tricky)
2003-01-31 06:47:16 +00:00
thorpej 9a1f475221 Add ADI_BRH, IXM1200, and SMDK2800 kernel sets. 2003-01-27 16:13:27 +00:00
wiz 3f943a41ed Add /usr/share/locale/gl{,/LC_MESSAGES}. 2003-01-26 22:17:02 +00:00
ross 6f90a0ed10 Add ms-sql-{s,m}, currently quite popular in packet filter logs worldwide.
(I did this last night but it must have timed out.)
2003-01-26 04:16:36 +00:00
jmmv b85005e4c0 Add missing ta=4.2BSD to the `a' partition of `floppy' entry.
Okay'ed by jdolecek.
2003-01-25 18:28:44 +00:00
soren 15b88bc43f Oops, didn't mean to remove toor (just yet). 2003-01-25 01:14:03 +00:00
soren c552afcd61 Consistently with previous such changes, make daemon's default group 1(daemon)
rather than 31(guest). FreeBSD and OpenBSD have done the same thing.
2003-01-25 01:13:29 +00:00
keihan d7a3ec11fd TYPO:
bounary => boundary

Reviewed by Luke Mewburn.
2003-01-21 23:50:05 +00:00
martin 46ca961c02 Let v9 machines (ultras running sparc64 32bit kernels) use the v8
library too.
2003-01-21 18:15:54 +00:00
abs cb588f7bde Among the many things postinstall should check are up to date is... postinstall 2003-01-21 14:28:55 +00:00
salo 6d9616b35d Add IANA-assigned number for SILC (Secure Internet Live Conferencing).
Closes PR misc/19945 by me, approved by martin.
2003-01-20 09:06:02 +00:00
rafal 032cef8c03 Add comments for MAKEDEV.8; thanks to Thomas for the reminder! 2003-01-20 01:52:19 +00:00
soren 179d452ef6 Add panel driver. 2003-01-20 01:21:13 +00:00
rafal b88f8bcfad Add PCI and audio devices; from Chris Sekiya. 2003-01-19 23:21:44 +00:00
pooka 5aef2cf2a4 add IANA-assigned subversion port number 2003-01-19 17:49:39 +00:00
wiz b001228eca Add more locale dirs for texinfo-4.3 files. 2003-01-17 15:50:44 +00:00
minoura 59cc4d6235 Add rc.d/staticroute check. 2003-01-16 15:26:14 +00:00
martti 405c73366e Back out previous (as discussed with releng). The correct way to set this is:
# echo "myserver" > /var/yp/binding/`domainname`.ypservers
2003-01-16 11:55:28 +00:00
martti 1e0411d0d5 Script to bind a NIS client to a known server.
$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"
2003-01-16 07:37:33 +00:00
is 490bb906c8 not enough inodes for two more tapes 2003-01-15 22:06:03 +00:00
is 33ce194471 Create device nodes for 2nd and 3rd CD drive (and while we're here, also
2nd and third SCSI tape drive) on install media. Fixes PR 14356.
2003-01-14 20:05:29 +00:00
wiz d7f2ae353c Add /usr/include/dev/dmover. 2003-01-14 11:29:02 +00:00
fair 50c44f90f7 Add bktr* and radio* 2003-01-14 08:49:07 +00:00
matt f5eb8b2e72 Build and supply a GENERIC.MP now that SMP works. 2003-01-13 07:11:42 +00:00
yamt 567c0a7e50 in comment, metion about src/distrib/sets/lists/etc/mi as well. 2003-01-10 05:07:45 +00:00
mrg b83a08e1ff allow NO_SENDMAIL to equal "no" 2003-01-09 16:57:45 +00:00
christos 99f6c8054f add staticroute 2003-01-09 15:58:23 +00:00
christos e4cf375b81 Script to add and remove static routes:
eg:
    $ cat /etc/route.conf
    # Turn on/off IP forwarding.
    +sysctl -w net.inet.ip.forwarding=1
    -sysctl -w net.inet.ip.forwarding=0
    net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
2003-01-09 15:57:02 +00:00
christos 8d1054dc70 revert previous; luke and matt want this as a separate script. 2003-01-09 15:52:58 +00:00
christos 22aa10c0a0 Add /etc/route.conf processing to add static routes. Removes one more
reason for netstart.local.
2003-01-09 15:12:47 +00:00
perry 9ae5a89aa8 it is okay for the sendmail and postfix .cf files to be writable by root 2003-01-08 15:34:18 +00:00
jhawk 2c3ae584e1 Run ldconfig with ${rc_flags} so you can set ldconfig_flags in rc.conf
to specify additional a.out directories to merge into the runtime link
cache.
2003-01-08 04:17:19 +00:00
tron 2005231632 Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.
2003-01-07 08:41:55 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
wiz 74994bbeaf Add comments for ld and mlx (hi allen!). 2003-01-06 19:14:51 +00:00
lukem bc4b0716ee Missed a 'cd ${.CURDIR}' when adding the OBJDIR support here,
causing "make distribution" to fail on "install-etc-files".
(oops!)
2003-01-06 14:47:28 +00:00
wiz c053751628 compatibility, not compatiblity. 2003-01-06 13:26:24 +00:00
tron 74efbb051c Add keyword "shutdown" so that this script is really executed on system
shutdown to delete clone interfaces.
2003-01-06 10:11:14 +00:00
lukem ef98b9ddca Fix logic error I introduced recently into mount_critical_filesystems().
Noted by kilbi@rad.rwth-aachen.de in [bin/19703].
2003-01-05 22:59:35 +00:00
christos 611f2a6106 say what don't you like about $when, approved by luke. 2003-01-05 22:47:12 +00:00
briggs f23e0c65e4 Understand how to create device nodes for mlx and ld.
As part of 'all', create mlx0 and ld0-3.
Pointed out by Daniel Eggert in PR 18487.
2003-01-05 19:24:05 +00:00
lukem dd2a7e0da5 'if ! command;' is not POSIX sh, even though our /bin/sh supports it 2003-01-05 11:40:29 +00:00
lukem 7b4296a270 - Enable OBJ support for etc/; a scratch dir is needed for iso-image.
- Add ${.CURDIR} to various rules.
- Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation
  from here.
- Rework iso-image to copy temporary files (such as kernels or boot files)
  into a temporary directory instead of stomping over ${RELEASEDIR}, and
  use mkisofs -graft-points to merge the temporary directory and
  ${RELEASEDIR}/${MACHINE}.
	NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points
- Add some more comments
2003-01-04 15:49:29 +00:00
lukem 15388316f6 Change how internal boolean variables are used to:
if ! ${_somevar:-false}; then
		_somevar=true
	fi
(Consisent, slightly quicker, and slightly cleaner)
2003-01-04 15:27:43 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
lukem cdee7cbdf4 Don't remove ${RELEASEDIR} if UPDATE is defined. 2003-01-03 14:27:54 +00:00
shin 031dbfcca0 add PCI bus access device. 2002-12-31 06:54:13 +00:00
tron 08eb23c3fe Do last change differently so that the script doesn't print out "//" if
"DESTDIR" is set to "/" as suggested by Luke Mewburn in private e-mail.
2002-12-30 13:16:43 +00:00
tron f0df353967 Fix postinstall message for builds with "${DESTDIR}" set to "/". 2002-12-30 12:24:45 +00:00