Commit Graph

2482 Commits

Author SHA1 Message Date
ad e74599e179 Make newsyslog at boot optional, as it should have been. 2001-08-18 19:50:19 +00:00
wiz 8d6595d978 Add /usr/share/man/{man,cat}4/sun2 2001-08-17 07:15:12 +00:00
lukem e2773e5d61 run fsck with "-n -f" instead of just "-n"; recent changes to fsck
mean that file systems mounted read-write are skipped unless -f is given.
problem noted by andrew brown.
2001-08-09 15:30:30 +00:00
lukem ed97fbd98d create /var/named 0755 root:wheel instead of 0750 root:named 2001-08-09 01:32:46 +00:00
matt 799202c512 Fix botched commit (a conflict was committed). 2001-08-05 03:37:37 +00:00
tsutsui e6b1a09d07 Use "mtree -U" instead of "mtree -u" on making distrib-dirs
to ignore file hierarchy unmatches and check exit status of mtree
to detect actual errors on it (like "unknown user/group" etc).
2001-08-04 18:41:18 +00:00
garbled d472541074 And add sshdconf here too. Christ there are alot of files to update. 2001-08-02 05:47:59 +00:00
ad aaf3c7c88b Hook in the mly control interface on i386. 2001-08-01 20:54:16 +00:00
wiz d2b1c33dc5 Undo last: glob(3) isn't used for _whatdb (yet?).
[broke e.g. installation of devel/netcdf]
2001-07-29 15:50:29 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
jdolecek 5241fef795 add INSTALL_PS2 to BUILD_KERNELS 2001-07-21 13:38:22 +00:00
eeh 9d85345191 Build an INSTALL kernel too. 2001-07-21 05:58:28 +00:00
fredette b8927f0fc1 Renumbered the minors on the tty devices now that
the keyboard and mouse are on ttys now.
2001-07-13 03:24:49 +00:00
lukem 458d1a2516 After itojun's recent RTF_CLONED and other changes, it's not necessary to
add a route from an alias address to 127.0.0.1, so remove that code.
It's still necessary to configure lo0 -> 127.0.0.1 though, so emphasize that.
2001-07-08 07:16:00 +00:00
skrll c7ba90b340 Don't list uk twice. 2001-07-06 07:45:47 +00:00
tron 3543e0f5fa Start "ipmon" with option "D" for daemon mode instead of starting it
in a subshell.
2001-07-05 05:26:57 +00:00
joda b53f2df0b2 add AFS services, mostly from IANA 2001-07-02 16:07:04 +00:00
lukem c46620e9a9 take advantage of glob(3) support when defining _whatdb 2001-06-25 21:38:29 +00:00
veego 797097c7d1 Another place where primes was used. Change it to moduli. 2001-06-24 17:28:05 +00:00
itojun ca02da9f00 pim6dd.conf is gone. primes -> moduli (openssh) 2001-06-23 22:07:06 +00:00
tv 6a7dd372b3 Do what we should have been doing long ago; use /dev/console by default as the
boot console tty, so that the console is on the same place that the kernel
dmesg output goes, whether wscons or serial.  Users who want to use tty00
or ttyE0 explicitly can change /etc/ttys themselves.

Also use "vt100" as terminal type for /dev/console (for a reasonable baseline
that also works with wscons; pccons is long since no longer default).

This addresses PR install/13249, i386-specific, but may be appropriate to
apply to all ports.
2001-06-19 20:06:46 +00:00
lukem 684e89f355 use mktemp(1) to create temporary directories, and ensure that cleanup traps
are setup asap.
2001-06-18 10:54:02 +00:00
lukem 50aa483991 Improve run_rc_script():
- Skip files that end with `~', `#', `.OLD' or `.orig', as these are usually
  scratch or backup files created by programs, and we don't want to start them.
- Only try and run non `.sh' files if they're executable.

Per discussions with Andrew Brown, and closing his PR [bin/9981].
2001-06-18 06:53:45 +00:00
lukem f27a0c8f42 Now that "fsck -p" skips file systems that are mounted read-write,
always perform the disk check (unless /fastboot exists).  Previously
this would only occur when booting directly to multi-user, so the
fsck wouldn't happen after a single user boot going into multi-user.
2001-06-18 06:42:35 +00:00
jdolecek e3dc57afeb Make also ed1 for 'all', create ed0, ed1 for 'floppy' 2001-06-17 11:48:09 +00:00
lukem d7d9b87b1c Complain if $amd_master is set. This variable was used in 1.5 and prior
releases, but has been ignored since an am-utils update six months ago.
This fixes [misc/11971] submitted by Jun-ichiro itojun Hagino.  (Note that
$amd_flags is still supported, contrary to what the PR says).
2001-06-17 01:05:40 +00:00
lukem 919eb089e2 change mountd to use its own $mountd variable (instead of $nfs_server).
nfsd will complain if mountd isn't set.  from [misc/13135] by Johnny C. Lam.
2001-06-16 06:13:09 +00:00
lukem 586521f84e - Implement an optional global watchdog timeout for rc.shutdown, which is
enabled by setting $rcshutdown_timeout to a number of seconds to wait for
  before terminating rc.shutdown.  This is disabled by default.
- Use symbolic names rather than numbers when defining a trap.
- Improve some comments.
2001-06-16 04:09:19 +00:00
lukem bd7fad6c47 use symbolic signal names instead of numbers 2001-06-14 07:50:06 +00:00
simonb a0a111aa26 Add support files for the Walnut. 2001-06-13 15:13:24 +00:00
simonb d201b0b96b Add support files for the Walnut. 2001-06-13 14:53:29 +00:00
chris ecc1e181a0 Checking support for fcom to arm32 MAKEDEV, fixes pr 11076. 2001-06-10 22:07:23 +00:00
chris 68536ce2c4 Fix arm32 MAKEDEV, the script for handling ttyv had a typo. 2001-06-10 22:05:44 +00:00
kim a81dea8eca Remove duplicate usr/share/man/cat8/news68k added in revision 1.159... 2001-06-08 21:16:15 +00:00
kim 8966f5524c not usr/share/man/cat8/new68k but usr/share/man/cat8/news68k 2001-06-08 21:13:23 +00:00
tron a35d0a5c89 Add missign directory "./usr/share/man/cat8/news68k". 2001-06-08 16:45:37 +00:00
wiz 5fc8a3a2c4 Remove empty sections (confuse MAKEDEV2manpage) 2001-06-08 14:43:20 +00:00
wiz cffe2f2fdb Add some more arch-specific man8/cat8 subdirs. 2001-06-08 14:24:44 +00:00
wiz ed9cc9d27c scsi(4), not scsi(8) 2001-06-08 14:17:41 +00:00
rafal c9d0f70329 Fix typoe in Jason's last change. 2001-06-08 01:34:36 +00:00
thorpej 17207724f6 Update the console entries for new tty names. 2001-06-07 20:16:55 +00:00
thorpej 082e7c8634 Change the serial port entries to ttyC? ("com") and ttyZ? ("zstty"). 2001-06-07 20:05:13 +00:00
briggs 07afe48412 Add template fstabs for NFS and scsi disk. 2001-06-07 16:47:12 +00:00
tshiozak 4ce7dc7d21 add a new IANA-registered port, SSTP. (a well-known P2P protocol in Japan.) 2001-06-01 16:04:32 +00:00
he 47ae105daa Add Makefile snippets to install netboot in installation/netboot
under ``make release''.
2001-05-28 18:21:12 +00:00
kleink 6ad0537dc7 Look after /etc/primes. 2001-05-28 14:08:50 +00:00
wiz 5362253979 Add /usr/share/man/{cat,man}8/dreamcast 2001-05-27 21:15:59 +00:00
wiz b294089309 Add comment about how to generate MAKEDEV.8, and remove empty call units
section in comment (since MAKEDEV2manpage.pl expects at least one entry
per section).
2001-05-27 21:13:50 +00:00
bjh21 c3f879b368 Add sd* and cd*. 2001-05-27 12:33:59 +00:00
itojun 2160ac71db install /etc/primes for ssh 2001-05-26 23:27:13 +00:00
marcus 9e4abc4202 Added target to make maple direct access device nodes. 2001-05-26 19:06:09 +00:00
fredette 1e6d1f7076 sunndd has been renamed ndbootd. 2001-05-23 20:29:14 +00:00
fredette b934309492 sunndd has been renamed to ndbootd. 2001-05-22 14:51:37 +00:00
enami 281a201c49 Install the file sunndd. 2001-05-21 11:09:09 +00:00
fredette 20b5680c6f Added sun2 etc files. 2001-05-18 00:13:27 +00:00
fredette bc14be100e Added rc.d support for sunndd. 2001-05-17 23:19:06 +00:00
wiz ce7170d77d Remove bpp before re-creating it. port-sparc64/12934 by John Heasley. 2001-05-14 09:11:10 +00:00
atatat 6534ee3cfb When backing files listed in /etc/changelist, instead of truncating
to the basename of the file, use the whole path with $backup_dir
prepended, in effect mirrorring the directory tree.  This eliminates
the possibility of a name collision.

Closes pr bin/12727.
2001-05-10 14:19:27 +00:00
atatat 4e1cbd39fe Allow embedded hyphens in user names (and group names), just not as the
first or last character.
2001-05-10 14:10:15 +00:00
atatat 87c8919798 When using rcs to track backups, force the rcs archive to be unlocked,
use only non-strict locking, and leave the archives unlocked after
checking in changes.
2001-05-10 14:04:22 +00:00
lukem 54ef4cb4dc remove the special case for ttyv0 (which was actually ttyqf renamed), per
discussion with matt thomas. (now the vax has 16 more ptys to use!  :)
2001-05-10 01:31:40 +00:00
lukem 7fd298e837 remove all reference to ttyv* to pccons, since the kernels for these ports
don't implement a character device at the referenced major number (12).
2001-05-10 01:29:57 +00:00
lukem ae5b452628 remove pcvt references.
don't allow pty6 (ttyv*) to be created; conflicts with pccons ttyv0.
2001-05-10 01:05:47 +00:00
lukem 702f01cdba remove references to pcvt 2001-05-10 01:04:39 +00:00
lukem 4a8c7c2fed don't prevent pty6 from creating ttyv*, since there's no custom console on ttyv 2001-05-10 01:03:03 +00:00
lukem b3a31a74db remove ttyv* entries as pcvt was removed and there's already wscons entries here 2001-05-10 01:01:42 +00:00
lukem 28d6dbb5f3 explicitly set the umask to 022 to be safe 2001-05-09 16:53:45 +00:00
lukem 4c9bb3bc3f * change wait_for_pids() to spin forever (rather than just ~ 65 seconds).
* change the default `stop' case to wait_for_pids after kill $sig_stop.
  this means that "/etc/rc.d/foo stop" won't return until the service
  has shut down. third party scripts that implement their own stop mechanism
  should offer this functionality as well.
* in the default restart case, don't bother doing `$0 poll' in between
  stop & start, because of the change above. (XXX: deprecate poll ?)
2001-05-09 16:40:59 +00:00
lukem ab72f65dcd Don't try and use single quotes in the RHS of a ${ :+ } expansion
because /bin/sh needs a different syntax than ksh (and bash, etc).
Use a more obvious and less error prone method. (This complicated
use of ${:+} was only used to build the su command when running as
a separate user, but could always cause problems.)
Problem noted by Hubert Feyrer in conjunction with /etc/rc.d/sshd.
2001-05-07 07:07:11 +00:00
wiz d768fd88a7 Enable logging options for (commented out) uucpd and fingerd by default.
Addresses misc/10219 by Jim Bernard.
2001-05-06 12:08:57 +00:00
wiz ee09877887 Remove named.boot (only used by BIND 4.x). 2001-05-06 10:53:32 +00:00
minoura e4db0897cf Update for audio(4) from ancient okiadpcm. 2001-05-05 02:08:51 +00:00
drochner 2b60c3bb4f Add support for selection of a kernel builtin keymap and/or a userspace
keymap file to wscons.conf.
Follows PR misc/12760 by Stephen Borrill, but uses the external keymap
file instead of individual key entries in wscons.conf. This saves a lot
of editing work if the map has to be switched.
2001-05-02 15:14:02 +00:00
shin 0aaf465598 run getty on /dev/ttyE0 by default.
otherwise, user can't start X server.
2001-05-01 08:56:31 +00:00
lukem 96612eac97 kre notes that "echo -n" is superfluous when creating a zero length file 2001-04-29 23:57:25 +00:00
garbled a5cfcb8b2b Add the directory for the new sushi menu system/localtime. 2001-04-29 04:49:55 +00:00
bjh21 749e2d13de Sync with conf.c 2001-04-28 17:46:11 +00:00
lukem 312711efe8 Treat isdnd interfaces like ppp ones, and REQUIRE isdnd here.
Identified by Patrick Welche on current-users.
2001-04-26 03:56:20 +00:00
lukem bd47d831a1 depend upon isdnd as well 2001-04-26 03:55:16 +00:00
lukem f1e776b86c minor cleanup. add note to why syslogd is here (a la note in ppp) 2001-04-26 03:54:38 +00:00
garbled 8032753ad3 Add sushi/system/sysctl to this file. 2001-04-26 02:53:46 +00:00
garbled 9b38738db9 Add all the mtree lines for the sushi procs menu. ::whine:: I hate this
file.
2001-04-26 02:37:59 +00:00
lukem 9cd5a025fe Use /dev/dtyXX instead of /dev/ttyXX, and other cleanups.
Heavily inspired by PR 12749 from Scott Telford.
2001-04-25 23:46:12 +00:00
lukem e595ebd705 be consistent with other scripts when temporarily setting umask to 022 2001-04-25 23:27:37 +00:00
lukem f08a3bbdf1 wrap file creation operation in: ( umask 022 ; <command...> ) 2001-04-25 23:23:37 +00:00
lukem d2c3bd6a11 - create the default accounting file with a umask of 022.
- set and use $accounting_command (/usr/sbin/accton) and
  $accounting_file (/var/account/acct)
- fix spelo in message
2001-04-25 23:20:15 +00:00
lukem 18a7a9feca set the umask to 022 (remembering the previous setting) for ssh_keygen() 2001-04-25 23:18:50 +00:00
lukem 5d63f9209b store path to ldconfig in a variable and reference that 2001-04-25 13:00:17 +00:00
lukem 3909ce4551 setup tty[p-uw-zP-T]? (kern.maxpty default = 256) instead of just tty[p-s]?.
on platforms which don't reserve ttyv? for console on ttyv0, set up ttyv?
2001-04-25 12:59:16 +00:00
jdolecek a0cf66443f change comment for accouting; /var/account/acct is not needed to be created
manually any more
2001-04-25 11:50:56 +00:00
jdolecek b0cda2cf0b If the accouting file doesn't exist, create it if possible.
Addresses misc/12735 by Robert Elz.
2001-04-25 11:48:22 +00:00
garbled 2add5244d8 Add the pile of directory entries for sushi's new networking menu tree. 2001-04-25 03:54:26 +00:00
atatat a6a25381d8 The script called dhclient-script no longer lives in /etc. 2001-04-24 22:41:13 +00:00
pooka 94391160f5 bootpd lives in /usr/sbin, not /etc 2001-04-24 21:55:06 +00:00
aymeric eea58e8475 don't remove /var/tmp/vi.recover in (commented *out*) find's.
this fixes PR 11120.
XXX note that this is supposed never to be uncommented due to a security
    issue (see /etc/daily) but there is no reason to do things doubly wrong.
2001-04-22 20:34:48 +00:00
bjh21 9aba6e0cc4 Add arcpp. 2001-04-22 15:03:22 +00:00
shin c29d379d93 add build kernel.
INSTALL_TX3912 INSTALL_TX3922
2001-04-22 02:03:05 +00:00
atatat 7989fb3af8 The script called dhclient-script no longer lives in /etc. 2001-04-21 22:53:36 +00:00
fvdl 17e856341b Add GENERIC_DIAGNOSTIC to the list of kernels to be distributed. 2001-04-21 20:56:50 +00:00
he d2741ad4f9 Make sure to depend and build in hp300/stand before doing ``make release''. 2001-04-21 17:58:21 +00:00
he 9593d5023f Also build and install installation notes under "make release"
(actually snap_md_post).
2001-04-21 17:43:24 +00:00
shin 18b3797247 add /dev/altq 2001-04-21 09:54:33 +00:00
lukem 230d9cbc0f s/dependancy/dependency/. require NETWORK and SERVERS instead of network 2001-04-19 16:18:27 +00:00
lukem 1716d6464b s/dependancy/dependency/. explicitly require DAEMON 2001-04-19 16:00:29 +00:00
lukem 7d15d5881b s/dependancy/dependency/ 2001-04-19 15:56:32 +00:00
wiz 3e40b73c85 Add some dirs for groff-1.16.1 2001-04-19 14:27:10 +00:00
jdolecek 30f8b9b5fd add ed disk (MCA ESDI disk) 2001-04-19 07:49:00 +00:00
lukem 8490f0b0c0 * provide wait_for_pids(), which spins until all the given pids don't exist
* run_rc_command():
	- add support for "poll", which by default, uses wait_for_pids() on
	  the list of matching processes
	- in the "restart" case, call "poll" between "stop" and "start"

this fixes the situation where certain services (e.g, amd, squid) would
take a bit longer to shutdown after receiving the kill signal to shutdown,
and "/etc/rc.d/foo restart" would fail in the `start' phase.
2001-04-18 01:31:40 +00:00
ross 24ba541b4e Follow up with style commit to put the isdn nodes in major number order. 2001-04-17 01:30:30 +00:00
ross 02e8f1f2e5 First do minimal commit to correct botch in isdn major numbers. 2001-04-17 01:28:55 +00:00
wiz bb4e2557d0 Add usr/share/man/{cat,man}8/macppc 2001-04-16 08:20:57 +00:00
lukem c136cf3dfe wrap kvm_mkdb arg in "s. from adam laurie in pr 12664 2001-04-16 01:38:15 +00:00
msaitoh 12f6faba63 check no_swap 2001-04-13 22:31:16 +00:00
pk 87f992edd6 Put `gated' back; we still refer to it. 2001-04-12 09:59:18 +00:00
aymeric f0492abe53 we now rely on /usr/libexec/virecover to get the work done 2001-04-11 21:02:44 +00:00
wiz fdb63fff38 Every man section begins with a single page:
Add share/man/{cat,man}4/macppc, and intro.{0,4} there.
Thanks to Tsubai Masanari for help in writing it.
2001-04-06 10:47:16 +00:00
wiz 199da02c9f Fix typos in comment. 2001-04-06 09:39:29 +00:00
wiz dc5eda62fb Remove references to gated, except the conflict check in rc.d/routed.
Noted by Launey Thomas <ljt@alum.mit.edu>.
2001-04-06 09:38:54 +00:00
lukem f6a33791bb clarify that ${name}_groups is comma separated 2001-04-06 06:48:35 +00:00
thorpej bd4e08b66c Add defaults for altqd. 2001-04-06 00:37:03 +00:00
thorpej a19c4c9523 Cleanup formatting of the rpc services. 2001-04-06 00:33:33 +00:00
thorpej ceb66a1751 Add a tcp6 entry for hpropd. 2001-04-06 00:29:58 +00:00
thorpej 01c28c7f10 Add a startup script for altqd(8). 2001-04-05 23:54:59 +00:00
thorpej 62b732f7ac Add ALTQ control devices. 2001-04-05 23:04:10 +00:00
wiz c4db351748 Don't install /etc/rc.d/gated any longer, since gated isn't in the
base system.
2001-04-05 17:04:03 +00:00
wiz 487a5a5ba1 We don't need man/{cat,man}3/atari anymore, since libahdi is gone (and
has been for over a year), and nobody else installs anything there.
Remove them.
2001-04-04 13:13:59 +00:00
atatat 2811b1707a Provide the capability of storing backups via RCS instead of just a
"current" and a "last" (which is useless if you wanna know what you
changed last week).  Set the default to on.
2001-04-04 03:17:19 +00:00
toddpw 9af306351b Fix syntax error in r1.5 -- semicolon needed before closing brace on same line. 2001-04-01 01:32:10 +00:00
itojun 8bab066e41 dig /usr/share/doc/usd/12.ex instaed of 13.ex 2001-03-31 13:50:36 +00:00
itojun 9fdfe6878f en_US.UTF-2 locale is obsolete. PR 12502 2001-03-31 09:35:34 +00:00
marcus dd90695ad2 Bugfixes. 2001-03-28 20:55:27 +00:00
itojun dcdec20e94 check existence of /etc/ssh_host_rsa_key too 2001-03-26 22:32:39 +00:00
itojun 27c0127814 auto-generate SSH protocol version 2 RSA key.
use newer command line syntax for ssh-keygen (-t <type>, instead of -d)
2001-03-26 22:21:26 +00:00
tsutsui 6f43ed148f - Build and install GENERIC_TINY kernel on make release.
- Remove duplicated INSTALLATION_DIRS.
2001-03-26 10:27:15 +00:00
thorpej dff641d8e0 kpasswd is a "wait" type service. 2001-03-25 22:33:15 +00:00
marcus 938cbfedd9 Added entries for GDROM, SCI(F) and WSCONS. Also removed ttyv*. 2001-03-25 21:46:16 +00:00
mhitch 4d316af9ee Fix typo in md* device creation. 2001-03-21 20:59:35 +00:00
tsubai 5de642dc8a Create [i-p] partitions too. 2001-03-18 12:57:19 +00:00
veego ec058576d4 /usr/include/gssapi/rpc and /usr/include/ss are no longer used, so remove
them.
2001-03-18 10:03:51 +00:00
hubertf efc93d040b Run skeyaudit (only) from /etc/daily instead of /etc/security, else there's
some risk that the users don't get warned if an admin turns off running
/etc/security (by putting run_security=no into daily.conf).

Fixes PR 12267.
2001-03-15 02:23:47 +00:00
atatat a99a7deee1 Allow md5 passwords of length 34 as passwords 2001-03-12 16:48:13 +00:00
lukem c01bf98a39 commented out entry for named_chrootdir 2001-03-12 16:13:17 +00:00
lukem 6ddd47cd37 if $named_chrootdir != "", ensure that the following files, devices,
and links exist:
	${named_chrootdir}/usr/libexec/named-xfer
	${named_chrootdir}/dev/null
	${named_chrootdir}/etc/localtime
	/var/run/named.pid -> ${named_chrootdir}/var/run/named.pid
	/var/run/ndc -> ${named_chrootdir}/var/run/ndc
and then start named with the appropriate options to run chroot(2)ed
under $named_chrootdir as user named group named.

to take advantage of this, an admin should copy /etc/namedb ->
${named_chrootdir}/etc/namedb, and set named_chrootdir in /etc/rc.conf.

[dev/null & etc/localtime setup inspired by openbsd. i already had the rest]
2001-03-12 16:08:38 +00:00
lukem a2c01fa479 if $named_chrootdir is defined, add ${named_chrootdir}/var/run/log to
the list of sockets listened to.
2001-03-12 16:04:20 +00:00
lukem b6742129e8 move date before rcorder 2001-03-12 15:56:39 +00:00
wiz c897860d56 Reflect correct architecture in comment. 2001-03-12 14:10:03 +00:00
wiz 0447d6c08c Remove obsolete /usr/share/man/{cat,man}{1,3,5}/i386. 2001-03-12 12:48:47 +00:00
lukem c8a14a309d whitespace police 2001-03-08 19:05:13 +00:00
itojun c1d9ab7c34 comsat is ipv6 ready 2001-03-08 01:27:24 +00:00
garbled e254aae479 Add and delete mtree entries for the change in how scripting/logging is
organized in sushi.
2001-03-07 07:14:16 +00:00
garbled f646706dac Add the mtree entries for the new sushi subdirectories 2001-03-06 21:59:49 +00:00
mrg 703e80624d build GENERIC_SUN4U kernel. 2001-03-04 10:14:55 +00:00
lukem d2a924ca51 remove `falken' user; nothing depends upon it, it causes confusion about
whether it's required or not, and by default it's useless anyway (because
the one-hit-wonder joke with respect to its shell being /usr/games/wargames
is moot unless you enable the account)
2001-03-04 06:00:54 +00:00
bjh21 f78e009eba Don't create /dev/cpu* any more. 2001-03-03 18:06:55 +00:00
itojun 5c34a310c2 comment correction: 127/8 must not leave the node (RFC1122) 2001-03-02 03:07:29 +00:00
tv e64fcaf2af Also make hup work in single user; revert dot.cshrc to atatat's version,
and make equivalent for dot.shrc.
2001-03-01 22:45:49 +00:00
tv 15f19b7a16 Use "head -1" as a generic way to snarf the first line of the pid file;
also works with the existing alias in dot.shrc.
2001-03-01 22:30:41 +00:00
atatat f4ad2126ae Teach the hup alias to deal with sendmail's pid file 2001-03-01 22:26:57 +00:00
lukem 2e92ff9036 setup named chroot cage under /var/named 2001-02-28 19:22:30 +00:00
lukem 9c42e9ee42 explicitly REQUIRE mountcritremote. sort REQUIRE entries 2001-02-28 18:14:50 +00:00
lukem a65b46cfa0 clarify purposes 2001-02-28 17:19:42 +00:00
lukem 12c191e0cc support `resync' (ipf -y).
suggested by Johnny C. Lam in [misc/12300]
2001-02-28 17:03:50 +00:00
lukem 7c7983ed46 provide commented-out example for rc_fast_and_loose 2001-02-28 16:52:04 +00:00
lukem c47a806047 various speed-ups (and related work):
- only load rc.conf if $_rc_conf_loaded is not set
- use case instead of if for various string comparisons
- print the date at the start of the boot as well as at the end
- if $rc_fast_and_loose is set, always run the rc.d scripts in the
  current shell rather than in a subshell. this is not on by default
  because it's potentially dangerous (a rogue command could terminate
  the boot), but it is provided as an optional speedup for people
  with slow machines that have an expensive fork
2001-02-28 16:49:18 +00:00
atatat f9eeef1569 Sync up with the official protocol number assignments list. 2001-02-28 16:10:22 +00:00
uch 5995b072f7 sample fstab for Flash ATA card based system. 2001-02-28 15:46:49 +00:00
uch 21348ba66f change console speed to 19200. 2001-02-28 15:45:02 +00:00
uch c5618686d5 add RCS tag. 2001-02-28 15:44:25 +00:00
uch 33c6bf8dbc delete floppy disk define. 2001-02-28 15:43:39 +00:00
mjacob ff6391eccb add knowledge of SES device (4) 2001-02-28 00:07:26 +00:00
lukem 8aaa117469 remove `ingres' user & group; we have never shipped with ingres in the
base distribution, and packages that need a specific user & group can
create it.
2001-02-26 17:25:28 +00:00
lukem 614a276987 add named pseudo-user & group 2001-02-26 00:03:15 +00:00
mrg 4a8b1de6c4 save the world. save the trees. use :sh: in the example entries.
suggested by Andrew Cagney <ac131313@cygnus.com>
2001-02-21 06:50:16 +00:00
nisimura 573fd4fa4d Make sure to have rnd pseudo device. 2001-02-21 01:44:44 +00:00
reinoud a81842f91d Changing /dev/vidcvideo0 to /dev/vidcconsole0 with backwards X compat. trough
a symbolic link. Part of the vidcvideo0 to vidcconsole0 renaming to allow
an easy integration of wscons for RiscPC/A7000/RC7500
2001-02-21 00:59:45 +00:00
ragge 68c0ea9798 Add /dev/leds. 2001-02-18 10:50:45 +00:00
lukem bc9099d3bd don't explicitly need /var/spool/lpd; it's not used by anything by default 2001-02-15 15:00:51 +00:00
lukem 337217f58f use /var/spool/output instead of /var/spool/lpd as the default spooldir,
because that's what lpd, the SMM, and hier(7) has used for ages, even
if printcap(5) and this file were wrong...
2001-02-15 15:00:14 +00:00
mycroft 3020c1ac92 Change output to root from auth.debug to auth.notice. It's ridiculous trying
to use the console when, e.g., inetd is spewing at it continually.
2001-02-12 06:08:31 +00:00
jdolecek 4ceebb1156 Introduce max_grouplen - this determines the maximum permitted length
of group names, similarily to max_loginlen
2001-02-11 09:55:09 +00:00
fredb fac4bf8060 Add "hup" and "stop" commands. Closes PR bin/12135. 2001-02-11 00:51:35 +00:00
briggs 64ccad7179 Support files for the sandpoint 2001-02-09 22:25:02 +00:00
ad 11b1ba1e54 Make mlx0 as part of all. 2001-02-06 19:38:31 +00:00
ad 8d75ab98d3 Add a driver for the Mylex DAC960 family (including DEC SWXCR). 2001-02-04 17:05:11 +00:00
nonaka 3f2f1009bc Add ./usr/share/locale/en_US.UTF-2 2001-02-04 16:51:47 +00:00
is 4a733c4de9 Device nodes for wscons. 2001-02-02 22:11:52 +00:00
itojun c714ba6dfc zh_TW.BIG5 (alias to zh_TW.Big5) 2001-02-01 19:45:19 +00:00
tsutsui 2a1e10d963 Add entries for install floppy. 2001-02-01 05:52:49 +00:00
tsutsui fe70df0a45 Split fd/* device entry from all target (for install floppy). 2001-02-01 05:50:30 +00:00
itojun 2ee3479198 remove sendmail-IPv4only.cf from checklist. PR 12075. 2001-01-29 09:39:46 +00:00
itojun 4e8a612eef align $TTL with others 2001-01-28 06:59:31 +00:00
perry d837578f14 /etc/disklabels is obsolete -- remove it 2001-01-25 15:12:49 +00:00
itojun 4481e2ca0d build multibyte locale modules. installed into /usr/lib/runemodule and
dynamically loaded at runtime.
2001-01-25 09:16:38 +00:00
itojun 64a16b4f7e ru_SU locales are deprecated, ru_RU is now correct one.
rename LC_CTYPE locale declarations and vi message catalog.

From: Oleg Polyanski <luke@jetinf.com>
2001-01-22 17:48:15 +00:00
uch 469b8f83f0 change console getty setting. 2001-01-21 18:36:32 +00:00
uch 02ee52ee5f hpcsh original device file 2001-01-21 18:35:55 +00:00
itojun 7759c4c1c7 do not try to install rtadvd.conf 2001-01-21 15:03:22 +00:00
itojun 14296ba1e6 make it clearer that /etc/rtadvd.conf is optional (normally,
configurations were derived from kernel interface settings).

install rtadvd.conf into /usr/share/exapmles/rtadvd, instead of /etc.

sync with kame.
2001-01-21 15:01:36 +00:00
itojun 1e917b6c73 add /usr/share/locale/ru_RU.* 2001-01-21 14:58:57 +00:00
kleink b694d58ab8 Add VRRP (112). 2001-01-19 09:01:02 +00:00
thorpej 04e705cf5a Depend on "ike". 2001-01-18 04:57:48 +00:00
thorpej 24753f79c0 Add a default for racoon. 2001-01-18 02:03:09 +00:00
thorpej 4baa94651d Startup script for racoon(8). Racoon provides "ike", and requires
"kdc" (since you might want to use IPsec on your Kerberos server,
and might be using GSSAPI to authenticate Phase 1) and "ppp" (since
racoon(8) needs to know about all of your network interfaces).
2001-01-18 02:01:12 +00:00
thorpej b170714679 The KDC requires only the network. Anyone running a KDC with
the binary on NFS deserves to lose.
2001-01-18 02:00:02 +00:00
itojun d0111cc847 for MACHINE=hpcsh. straight copy of evbsh3. 2001-01-17 05:27:15 +00:00
nonaka 8492c6a9e8 Add prep installer 2001-01-16 16:53:57 +00:00
veego 411ed8da1b Remove /etc/mail/sendmail-IPv4only.cf which is no longer needed. 2001-01-15 18:04:53 +00:00
is 5a911982fb The rp capability has a fixed default value - lp - and thus needs to be
explicitly set in a lot of environments. Add it to the remote printer
example.
2001-01-15 15:24:14 +00:00
minoura cb75d98f1d Add /etc/rc.d/poffd, for x68k power management deamon. 2001-01-14 15:37:22 +00:00
christos 410cfa811a more dup target fixes... snap_md_post should be fixed in etc.i386
Makefile.inc not to work if $RELEASEDIR or $DESTDIR is not defined.
2001-01-14 06:08:24 +00:00
christos 79c236a085 protect against multiple target definition for parse_md_post 2001-01-14 05:31:36 +00:00
nonaka 502a82e9a4 add usr/share/man/{cat,man}8/prep 2001-01-13 19:38:51 +00:00
itojun 7de2724c3a move IPv6 mode/route configuration upwards, so that !rtsol in
/etc/ifconfig.* is meaningful.
2001-01-13 13:26:36 +00:00
itojun 3711020b5c extend /etc/ifconfig.xxN, for comment lines (#) and shell script
fragment (!).  inspired by openbsd /etc/hostname.xxN.
2001-01-11 17:56:16 +00:00
abs 6258e0bf60 Add a new variable 'backup_dir', which can be used to change the backup
directory from /var/backup (useful for those of us who have a separate /var
and would like to have our backup disklabels on the root filesystem).
Default behaviour unchanged. backup_dir being unset is taken as /var/backup.
2001-01-09 17:30:29 +00:00
simonb 04935f138a Only need to "make distribution" in usr.bin/ssh once. 2001-01-09 02:13:54 +00:00
martin a93eaf9bc7 Add isdn devices 2001-01-08 22:26:24 +00:00
martin 5b6d57d949 Supply enough rope to let the user disable or override all interface
up/down magic.
2001-01-08 12:45:39 +00:00
martin fd6a417d77 Group isdn devices, so "sh MAKEDEV isdn" will create them all.
Add apropriate entries to the archs that already have isdn support
enabled in their cdev array.
2001-01-08 06:21:19 +00:00
martin f9d12c2349 Don't fiddle with any isdn interface if the isdnd variable is set to NO
in rc.conf.

Actually do install the isdnd script.
2001-01-07 17:53:36 +00:00
martin 15a3b3b6e1 Add startup script for isdnd. 2001-01-07 17:04:49 +00:00
mrg 1ab6aa7287 s/ramdisk/xminiroot/ 2001-01-07 09:31:17 +00:00
veego 6c5434ca81 Add /usr/share/examples/isdn 2001-01-06 14:45:57 +00:00
martin 7b07af406e Add ISDN devices. 2001-01-06 13:47:44 +00:00
jdolecek a5211f152e create /usr/include/readline 2001-01-05 21:32:34 +00:00
garbled e56f95eaf0 Add all the new /usr/share/sushi directories 2001-01-05 07:00:31 +00:00
garbled 5bcac3e56c Add the subdirectory for /usr/include/cdk 2001-01-04 21:04:43 +00:00
itojun 6c348b2e2e add $ip6sitelocal, to control installation of reject route for fec0::/10. 2001-01-03 17:54:04 +00:00
tron 0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
itojun 6d62925a7c /etc/openssl/cert.pem is a file, not a directory. PR 11772 2000-12-31 07:32:33 +00:00
itojun b60001d78d move tcp6/udp6 entries upwards so that they do not get out of sync with
IPv4 services.  add kerberos-adm and internal services (like echo) on tcp/udp6.
2000-12-31 06:06:50 +00:00
david 829de9dbd3 Add Note: about uncommenting font line to use 80x50 screens. 2000-12-31 01:22:14 +00:00
itojun 3207cfe8dd install sample configuration files into /usr/share/examples/racoon.
make variable "SBIN_RACOON" will build static racoon binary, and installs
it into /sbin (nonstandard)
2000-12-29 03:16:39 +00:00
matt 1491d54799 Nuke b0 entries since they are not used anymore. 2000-12-29 03:05:04 +00:00
itojun 9a441d9bb8 dig /etc/racoon 2000-12-29 02:43:42 +00:00
bjh21 144e2eb120 Add wd*. 2000-12-27 22:21:47 +00:00
itojun d31d542a97 populate citrus xpg4dl locale definitions into /usr/share.
if there are any mistakes, please report (i only speak English/Japanese).
currently, only singlebyte locales are usable.

TODO: enable multibyte handler in libc - there still are few design
discussions, but we are almost ready.
2000-12-22 01:31:47 +00:00
hubertf 47a48d2057 Add two more SCSI disks for the floppy. See PR 9912. 2000-12-19 22:39:34 +00:00
jmc c5ddb89d6e Patch from Hubert. aliases never get rebuilt if aliases.db is never originally generated. 2000-12-18 07:56:41 +00:00
eeh cfe1eed228 Make the node for the bpp device [parallel port]. 2000-12-16 22:04:14 +00:00
lukem 6eef11f223 - describe what rc.shutdown does, and what invokes it
- remove `.sh' suffix on script name in description
2000-12-15 00:00:09 +00:00
marcus 83334549fb Initial import of port "dreamcast" (cloned from port "evbsh3"). 2000-12-11 18:19:12 +00:00
jdolecek 02ab8e1e3f nuke /usr/share/lkm - kernel modules are inherently depedant upon kernel,
so the example lkms should be included in kernel sets only; furthermore,
the stuff was highly outdated
relevant items will be moved to lkm(4) and under syssrc/sys/lkm/
2000-12-11 13:44:00 +00:00
toddpw 6b0841e32b Fix PR port-mac68k/11343 2000-12-07 10:57:17 +00:00
wrstuden 02031bda76 Add MAKEDEV support for Cyclom-Y multiport serial boards. Driver
support was already in $MACHINE/$MACHINE/conf.c.
2000-12-05 18:18:04 +00:00
ad 0889c2ba96 Make iop device files. 2000-12-03 13:23:12 +00:00
jlam 4275d75e69 Correct comment for KERNOBJDIR. 2000-12-02 18:04:45 +00:00
simonb 13e5202536 Get the TARGET_ENDIANNESS by running ${CC} -E over
<machine/endian_machdep.h>.  Fixes problems where
<machine/endian_machdep.h> just includes another file
without defining _BYTE_ORDER itself.
2000-11-30 11:31:05 +00:00
jmc da9feda63a Remove watchdog before creating it. Keeps the same behavior as the rest of the creates 2000-11-30 07:33:52 +00:00
minoura 2eabb2676b We do not use INSTALL_SMALL any more. 2000-11-28 03:18:18 +00:00
ad 57ea462da2 lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00
nisimura 46d6b5a7cd More cautious about undefined hostname check in terms of what hostname(1)
returns.
2000-11-26 06:46:42 +00:00
scw b1ae8f82e8 Do `make release' for the miniroot too. 2000-11-24 22:07:32 +00:00
scw 7baa1bd799 Mention mvme172/mvme177 and correct an error on the ttyZ1 line. 2000-11-24 19:51:39 +00:00
scw 53de2db906 Automate the MD `make release|snapshot' procedure.
[I should have done this ages ago.]
2000-11-24 19:49:40 +00:00
scw 647020e055 Increase the size of `rdroot' to 1024 blocks. 2000-11-24 19:39:48 +00:00
nisimura 7fecedd930 I believe in that the facy nested quotes was intended to skip blank
lines, but am not sure it is allowed as a standard practice of the
/etc/ifconfig.xxN file.
2000-11-22 04:20:04 +00:00
wiz f457c2158d un-break. 2000-11-21 16:12:48 +00:00
veego 3a384146be Remove $amd_master. We now use /etc/amd.conf. 2000-11-21 12:21:05 +00:00
veego a497b11b46 The new am-utils use now /etc/amd.conf and no longer the $amd_master file.
Despite that /etc/amd.conf is now the default configuration file, it needs
to be defined if you supply other options when you start amd, so add it here.
2000-11-21 12:20:12 +00:00
lukem f8ea339f55 minor typo in previous 2000-11-21 09:59:02 +00:00
nisimura fa16d69a56 Shell programming police for sophistication; take #2. Handle the
case when the filename expansion results in no match more gracefully.
Far less costy than invoking a new process.
2000-11-21 09:38:06 +00:00
nisimura f412f76212 Shell programming police for sophistication. It's not necessary
to enclose `prog` backquote command substitution with double quotes
as it produces a quoted string.  Other changes are pending this time.
2000-11-21 08:39:50 +00:00
wiz 5df0fc93e4 Remove /usr/share/examples/usermgmt and /usr/share/skel, since they
have been obsoleted by /etc/skel some time ago.
2000-11-18 06:05:10 +00:00
lukem 84fed31e23 start all raid[0-9].conf and raid[0-9][0-9].conf, not just raid[0-3].conf.
do in order, so that raidN.conf is started before raidNN.conf.
2000-11-17 05:43:46 +00:00
lukem 616bd9bad1 - replace `IFS='.'; set -- $int; echo $2` with ${int##*.}
- can't use $configured_interfaces in network_stop(), so use `ifconfig -lu`
  instead
2000-11-17 04:19:06 +00:00
lukem be9b3eeabc * always run `status'; i.e, ignore the setting of $rcvar just like `rcvar' does.
* don't barf if `force' is used and $rcvar isn't set by the script
* only do the guts of `restart' once, by setting _rc_restart_done after the
  first run through. this stops scripts which call run_rc_command more than
  once (such as nfslocking) from doing the ``stop everything/start everything''
  sequence n times.
2000-11-17 03:47:43 +00:00
matt 8c16eca0e9 Add /dev/openfirm 2000-11-14 21:21:31 +00:00
matt 7308e15009 Add support for /dev/openfirm 2000-11-14 06:55:38 +00:00
tsubai e7cf39d85e Add wscons. 2000-11-13 19:30:56 +00:00
matt 4f839c4a48 Do the makesums out of the right directories. Create the installation
directories.
2000-11-12 00:59:05 +00:00
matt 148061c7a6 INST kernel should be under BUILD_KERNELS 2000-11-11 22:47:57 +00:00
matt 890463ed5e Add the install kernels 2000-11-11 20:56:46 +00:00
wiz 1c35e133b0 Install html documentation for libbz2/bzip2.
Reviewed by Simon Burge.
2000-11-10 02:00:09 +00:00
jdolecek 8b43f30672 Call pwd_mkdb with proper flag, so that it creates database in same
endianness as compile target. This is primarily for cross compiles.
Hopefully this method (looking into
${DESTDIR}/usr/include/machine/endian_machdep.h) is okay.

Patch sent by Andrew Brown in bin/11454.
2000-11-09 20:01:54 +00:00
jdolecek cb5786ecbe make this REQUIRE also cleartmp, so that it's started after /tmp
is cleared, otherwise the xfs's socket might get removed
This fixes misc/10310 by Alasdair Baird
2000-11-09 00:05:31 +00:00
lukem 2775f3b901 remind people to edit /etc/*.conf instead of /etc/defaults/*.conf 2000-11-08 23:17:50 +00:00
lukem e7241e79df remove etc/disklabels; refer to /var/backups/disklabel.* instead 2000-11-08 02:48:12 +00:00
matt 85567a9983 Make cd0c instead cd0d? 2000-11-07 23:17:41 +00:00
lukem fa16fd6f70 when doing `status', return non-zero if the program isn't running.
request by thorpej.
2000-11-06 00:08:30 +00:00
lukem 9046e7c099 when running `forcerestart', call the underlying `stop' and `start'
with the `force' prefix as well
2000-11-05 23:48:14 +00:00
thorpej 0c8f484437 Make the `watchdog' device node. 2000-11-05 02:13:35 +00:00
leo aa52914022 Commit this on HEAD as intended....
Add and md_post rule that handles the miniroot and notes goop.
2000-11-04 21:15:36 +00:00
tsutsui bf2f674e8c Make ccd(4) and vnd(4) device files on "MAKEDEV all". 2000-11-03 11:37:56 +00:00
tron ab161cd2e1 Add missing directories "/usr/share/locale/no@nynorsk" and
"/usr/share/locale/no@nynorsk/LC_MESSAGES".
2000-11-02 22:43:43 +00:00
tron 8203edc73c Fix typo in last commit. 2000-11-02 22:33:10 +00:00
veego a5c364efbb Add /usr/share/locale/{da,pt}/LC_MESSAGES used by gettext. 2000-11-02 20:49:10 +00:00
pk 63a0bbd711 * Add `installation/floppy' and `installation/tape' directories to the
release(7) hierarchy and populate them with links to images in `bootfs'

* Remove miniroot scripts from `installation/netboot'; these are contained
  in the instfs.tgz which can be used to setup an NFS root directory (for
  installation purposes).

* Make the bootable cd-rom image using the `bootfs' filesystem, since a bug
  in the cd driver prevents us from running directly from a CD filesystem.
2000-10-31 21:18:36 +00:00
thorpej a84221b9db Just nuke the "build aliases.db" stuff from here. It's not
necessary, as /etc/rc.d/sendmail will already rebuild DB files
automatically if necessary, and doing aliases.db here just
totally breaks cross-compiling.
2000-10-30 21:48:20 +00:00
tsutsui 90ac46632d Make md(4) device files on "all" target. 2000-10-29 13:03:37 +00:00
veego 0332a5d899 Remove some spaces at the end of the line and replace the space after
kerberos-master with an tab.
2000-10-29 07:59:07 +00:00
jmc 52645e1ee3 Moved comment about rm out of shell command area. (typo) 2000-10-29 05:16:53 +00:00
abs 977a131f8e Switch back to vt100 by default, plus comment that shark should use pc3 2000-10-26 09:55:50 +00:00
jmc 6349db47e1 Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint and
rm complains because it can't actually nuke the mount point. Anything serious
like permissions or I/O errors will get caught in the install's after this
anyways.
2000-10-23 01:50:37 +00:00
pk ccbcb60028 Do `make release' in distrib/sparc/instfs. 2000-10-22 14:22:08 +00:00
pk b3aa184674 Add target to make a bootable CD-R image. 2000-10-20 14:13:12 +00:00
pk 8d8ff0fb3f Remove references to {bootfs,ramdisk}.sysinst. 2000-10-20 14:12:01 +00:00
garbled b1fd9718d4 When building kernels for a release (snap_kern) use "distclean" instead of
"clean" to get rid of any .depend files that might be lying about in the
kernel build directory.
2000-10-19 17:53:41 +00:00
ad 23f6f01a0d ca -> lsu 2000-10-19 14:35:41 +00:00
simonb 654fd3b749 cd to skel during "make distribution".
Part of fix for PR bin/10985.
2000-10-16 13:18:36 +00:00
simonb 964e9f16fe For "make distribution", install skel files in /etc/skel.
Part of fix for PR bin/10985.
2000-10-16 13:14:57 +00:00
simonb 5e1d11c2df Copy skel files from sharesrc/share/skel.
Part of fix for PR bin/10985.
2000-10-16 13:12:26 +00:00
kim e26a7ce86b Setting rebuild_locatedb=NO should not tell you it didn't rebuild the db
because there is no /var/db/locate.database; it should be quiet.

Unified the use of `echo ""'.
2000-10-15 17:32:38 +00:00
wiz e2d9ed5833 fix typo in comment 2000-10-14 17:01:29 +00:00
hubertf 144164c6e4 Fix typo in iso-image target that led to the cdrom-directory not being
excluded in the iso image (nothing harmful).
2000-10-14 16:45:42 +00:00
augustss 517687da81 Get the major no right for uscanner. 2000-10-14 12:36:05 +00:00
nisimura 585c4dc3e6 Add missing -n option of sysctl(8) booted_kernel name retrival. 2000-10-14 07:33:39 +00:00
nisimura 17e8cec25b Use && and || for logical concatenations instead of -a/-o test operators. 2000-10-09 06:11:38 +00:00
nisimura 15bcada9c3 - Remove extra 'rm -f' since file redirect safely clobbers existing files.
- Remove one sed invocation replacing it with shell internal construct.
2000-10-09 06:01:18 +00:00
nisimura a1cd6987aa Use find(1) to search files in straight fashion with the cost of external
command invocation.
2000-10-09 05:33:53 +00:00
nisimura fb62520419 Avoid extra command invocation as possible, and use smart variable
substitution instead.
2000-10-09 05:30:17 +00:00
nisimura e4d2a57704 - avoid -a or -o logical operator of test command as possible. They would
introduce syntaxical ambiguousity, and having concatenation with && or
  || costs nothing because our sh(1) has test(1) builtin.
- use elif construct to avoid dungling else-ifs.
- while-read construct does not need enclosed by a sub-shell.
- variable detection could be done in eval args=\$ifconfig_$int
- smart variable substitution occationally saves lines and extra command
  invocations.
2000-10-09 05:02:14 +00:00
lukem 0c70e530af use ${foo##*/} instead of `basename $foo`. as suggested (with minor variation)
by Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
2000-10-07 07:36:56 +00:00
hubertf 68da9ad9ab As we ship ssh in-tree now, replace the ssh startup example with one
for apache.
2000-10-07 00:22:44 +00:00
itojun d745652834 add ripng (521 tcp/udp). PR 11139. 2000-10-05 15:19:58 +00:00
hubertf 316c9bbfc5 the ssh pkgs now install a /usr/pkg/etc/rc.d/sshd, not
/usr/pkg/etc/rc.d/sshd.sh.

Whether the existence of this lines is useful with ssh in tree is
a seperate issue.
2000-10-05 12:46:34 +00:00
fvdl 2e9564263d Enable building of additional kernel sets. 2000-10-02 12:51:33 +00:00
thorpej bf69b1a900 Do the `distribution' target for usr.bin/ssh, too. 2000-10-01 22:31:04 +00:00
lukem 60d3ee1b34 remove unnecessary leading `$' on warnings printed for $required_dirs
and $required_files.
2000-10-01 10:10:18 +00:00
lukem 641a3c9378 support loading ipf6.conf as well as ipf.conf.
inspired by [misc/11033] by Gregory McGarry <g.mcgarry@ieee.org>
2000-10-01 05:58:06 +00:00
lukem b5b6e95c7b move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.
2000-10-01 05:49:26 +00:00
lukem 6d52152500 move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for and since SVR4
uses /etc/default for another purpose. as discussed on tech-userlevel,
and no objections were made.
2000-10-01 05:46:03 +00:00
simonb ad22c8ecf6 Remove the udp entry for rsh-spx and the tcp entry for amanda. 2000-10-01 03:02:46 +00:00
fvdl 5927169fa7 Mention "a.out" in the start message to be clear about the purpose of
this script.
2000-09-29 17:49:25 +00:00
wdk ff795bd7a3 Add "MAKEDEV minimal" target for ramdisk builds
Tidy up a few comments at the same time.
2000-09-29 11:43:48 +00:00
simonb 01c5215d95 Fix typo in comment. 2000-09-29 00:53:41 +00:00
thorpej c949d8af3c Always install sshd. 2000-09-28 22:16:15 +00:00
abs 5aa0a5abb1 Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST. 2000-09-28 12:46:43 +00:00
fvdl a912989e45 Add INSTALL_LAPTOP to kernels to be built. 2000-09-27 20:05:54 +00:00
tsutsui c725dcdb09 RAW_PART == 10 on sgimips, so adapt memory disk entry for it. 2000-09-27 10:50:37 +00:00
tsutsui 03076560df Fix memory disk entries (md?c -> md?d)
since RAW_PART == 3 on these ports.
2000-09-27 10:33:27 +00:00
itohy 60026b334e rcd0d -> rcd0c since x68k port uses c for the ``raw'' partition 2000-09-27 03:41:12 +00:00
simonb 2dfc419b59 Add rsh-spx and amanda from the IANA list. 2000-09-25 12:42:57 +00:00
augustss 8e735041d9 Prepare for USB scanners, and add Rio 500 support while messing. 2000-09-23 04:27:17 +00:00
ad d43acf7d93 Provide the option of running newsyslog at boot time; mainly for laptop
people.
2000-09-21 10:36:02 +00:00
hubertf 6a676a7bb4 Note that rpcbind was formerly known as portmap. See PR 11055. 2000-09-21 10:15:33 +00:00
lukem bd11504cb2 - only perform the checkyesno on the variable named in $rcvar (rather than
implicitly using $name if $rcvar isn't set), and always perform this check,
  even when using start_cmd (et al).
  this check is performed before the pidcmd
  is run, speeding up scripts that weren't going to be run anyway.
  this should speed up booting slow systems.

- take advantage of the above and remove
	start_precmd="checkyesno foo"
  in scripts that use start_cmd.

- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
  rc.conf entry

- fix `rcvar' and `restart' when $rcvar isn't set.
  these above changes fix PR [bin/11027].

- when doing `force*', ignore the return value of *_precmd.
  this fixes PR [bin/10781].

- rename what sysdb provides from `databases' to `sysdb', to reflect
  the name of the script.

- improve the comments in rc.subr
2000-09-19 13:04:38 +00:00
msaitoh 7d8e2a2ecb etc files for evbsh3 2000-09-18 12:58:55 +00:00
wdk 82951d0f48 MD files for NetBSD/mipsco 2000-09-18 11:00:33 +00:00
is eefbc5a70e When building a release, build miniroot and installation notes automatically,
too. Patch by Michael Hitch.
2000-09-17 19:04:39 +00:00
jdolecek 1c61a5d083 On sendmail start, check modification time of /etc/mail/aliases
and couple of other common map files and regenerate appropriate
*.db files as needed.
Idea taken from RedHat 6.2.
2000-09-14 21:03:17 +00:00
abs 9b2fc1ecc4 Create two devices for framebuffers that can have more than one card installed
Now a dual head cgsix box (for example) will work in X by default.
2000-09-14 10:00:32 +00:00
fvdl 31d5237f30 Now that kpasswdd works from inetd, also correct the entry: kpasswdd is an
udp service, not tcp.
2000-09-13 11:34:57 +00:00
minoura ff4b8473ae Enable sram device, which is used by memswitch(8). 2000-09-12 15:00:06 +00:00
matt fd779f8fc8 Deal with the fact the local directory may not be writeable. 2000-09-12 05:11:10 +00:00
hubertf b4b75848de Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR
set in src/etc after a "make release" in both "src" and "xsrc", to create a
ISO-image of the release in $RELEASEDIR/installation/cdrom.

Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc
are available as 'iso-image_md_post' and 'iso-image_md_pre', see
etc/etc.i386/Makefile.inc as an example. Might be useful for setting up
bootable CDs on alpha, sparc, ...

Reviewed by Todd Whitesel and Thomas Klausner.
2000-09-11 21:53:30 +00:00
augustss 2605399d1e Create ./usr/share/examples/kerberos so that `make install' works again. 2000-09-11 03:00:29 +00:00
matt eb47049370 We actually do know about KERNOBJDIR so use it. 2000-09-10 22:04:27 +00:00
christos b4266bbcb7 PR/10982: kilbi@rad.rwth-aachen.de: Don't confuse printf with usernames
that start with -.
2000-09-10 21:27:50 +00:00
jdolecek cd0b41e240 modload: use kernel name obtained via sysctl machdep.booted_kernel if the sysctl
is available and file it points to is readable
2000-09-10 16:50:05 +00:00
joda 9482480921 rename the old BSD `kpasswd' to it's secondary name `kpwd', since
`kpasswd' is officially assigned to another port
2000-09-10 14:43:28 +00:00
lukem 42655f8ee9 REQUIRE ipnat and mountd.
fixes PRs [misc/10958] and [misc/10959] by Mike Santos <mike@ethmoid.org>
2000-09-06 01:05:43 +00:00
enami f35cb8ff6d Add an entry for optional dumpdates. 2000-09-05 05:48:54 +00:00
abs 23551b0530 Run 'make release' in sysinst distrib dirs 2000-09-04 16:34:13 +00:00
is 0a7489b1e8 Enlarge RAMDISK to make it fit the installation fs again.
By Mike Pumford per port-arm32 mailing list..
2000-08-30 21:29:16 +00:00
is e2f977d871 Add smaller install kernels. 2000-08-29 21:14:31 +00:00
hubertf 389581c1cf run skeyaudit, if run_skeyaudit is set to yes 2000-08-25 01:11:42 +00:00
jhawk 2ea44b1dd4 install dosboot.com in the release(7) hierarchy. 2000-08-23 21:00:46 +00:00
jhawk 3635b53ea7 As .ifndef RELEASEDIR checks for targets:
snap_pre snap_md_pre snap_md_post
so should .ifndef DESTDIR
2000-08-23 20:48:42 +00:00
jdc 6e3eddc4dd Make the 3rd and 4th serial ports on a 4/300 work again - ttyc and ttyd are
now minors 2 and 3 respectively.
2000-08-23 10:43:08 +00:00
abs 671e8ba97c unxexpand -a 2000-08-22 11:31:28 +00:00
mrg 7396e4ef69 for PCIIDE users. 2000-08-22 05:33:27 +00:00
lukem ebc99afce8 sort lines. add nonlocalswap, securelevel 2000-08-21 23:39:07 +00:00
lukem e26f093e93 convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot). 2000-08-21 23:38:07 +00:00
lukem b94d4bd809 sort REQUIRE lines 2000-08-21 23:36:50 +00:00
lukem 093b7f0ae5 remove BEFORE DAEMON 2000-08-21 23:35:41 +00:00
lukem 3f5134ff22 REQUIRE ipfilter and ipsec 2000-08-21 23:35:20 +00:00
lukem 8f896c47b9 `REQUIRE bootconf' in lkm1 rather than `BEFORE beforenetlkm' in bootconf.sh 2000-08-21 23:34:45 +00:00
lukem a4517195f9 needs to run after mountcritremote, since ipnat is in /usr/sbin 2000-08-21 23:33:50 +00:00
lukem d8b52eec28 support running /etc/rc.shutdown.local 2000-08-21 23:33:06 +00:00
lukem ce3ce86261 migrate raising of securelevel from sysctl to separate securelevel script.
the latter depends upon aftermountlkm (but is required by DAEMON), so that
lkms may be loaded before the securelevel is raised.
noted by Rafal Boni <rafal@mediaone.net> in [bin/10780]
2000-08-21 23:31:24 +00:00
lukem 49533ad06e don't start rc.d scripts with a `nostart' keyword 2000-08-21 23:09:50 +00:00
lukem 4e283949d1 remove rc.wscons 2000-08-21 23:07:11 +00:00
lukem 0c020b6812 migrate guts of these /etc/foo.conf config files into /etc/default/foo.conf,
and source the latter in the former.  this makes it easier for a sysadmin to
upgrade the default files without affecting local config, and retains the
semantics that the /etc/foo.conf files are the actual files that are edited
(as opposed to /etc/foo.local.conf or /etc/foo.conf.local or whatever, which
isn't as intuitive).
2000-08-21 23:06:22 +00:00
lukem 801142dbde - install files in etc/default/
- migrate rc.wscons to (already existing) rc.d/ wscons
2000-08-21 23:03:10 +00:00
lukem 09251753f6 migrate rc.wscons to (already existing) rc.d/wscons 2000-08-21 23:01:36 +00:00
lukem cbba2db233 migrate default installation config files from /etc to /etc/default 2000-08-21 23:00:26 +00:00
lukem aeebc796f0 add etc/default 2000-08-21 22:57:24 +00:00
lukem 54049fb460 remove rc.wscons 2000-08-21 22:57:11 +00:00
abs 31a6224745 Move options into ntp_flags, to make it possible to add '-u' without
modifying rc.d/ntpdate
2000-08-21 14:48:39 +00:00
mrg 4c835d91f6 add ramdisk support 2000-08-20 14:48:32 +00:00
lukem a96d29c7e3 support ${name}_nice even when using ${name}_chroot. per discussion with mrg... 2000-08-19 08:47:43 +00:00
bjh21 31bec2bf20 Add lpt and com 2000-08-17 14:13:41 +00:00
lukem 0847f3e3f5 add support for ${name}_chroot, which chroot(8)s before running the command.
allow changing the user credentials to ${name}_user, ${name}_group,
and ${name}_groups as part of this. if ${name}_chroot is used, the following
variables won't work: ${name}_chdir and ${name}_nice.
[requested by mrg; whipped up in a few minutes on his terminal :-]
2000-08-17 11:07:10 +00:00
itojun b1253dc369 synchronize with /etc/mail content.
NetBSD PR 10836 from koji@jp.above.net.
2000-08-15 14:48:23 +00:00
itojun 7342dfee1d reorder "localhost" entry, to prefer ::1 than 127.0.0.1. 2000-08-15 09:33:05 +00:00
mrg d2e1f953ef make that "audio*" not "audio". 2000-08-13 15:37:09 +00:00
mason ee4a3af175 This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
2000-08-12 13:43:40 +00:00
phil 8ecc16e026 Add the coda services. 2000-08-11 23:25:34 +00:00
matt 01c441e0c2 Fix device creation for SCSI tapes. 2000-08-11 19:19:03 +00:00
toddpw e36c17d6c2 Have port-i386 use installation/floppy, for conformance with release(7). 2000-08-11 09:20:38 +00:00
lukem 5007ab036b - sshd has a pid file, so take advantage of it
- support `reload' arg (using default of SIGHUP)
2000-08-10 22:49:43 +00:00
thorpej 690a071d43 Need bsd.own.mk 2000-08-10 22:02:07 +00:00
lukem 0b1677de5f - provide sshd not ssh
- don't start until after LOGIN (after NETWORK is way too early)
- KNF (as such :)
2000-08-10 01:41:09 +00:00
mrg 64fe1807a8 remove xy & xd support. 2000-08-09 10:54:20 +00:00
thorpej 26aeddad0c Add `swat' (Samba Web Administration Tool) services at 901/tcp. 2000-08-08 03:10:50 +00:00
thorpej 81958d9213 Add kdc/kdc_flags variables. 2000-08-06 21:34:17 +00:00
thorpej f0c5d26a40 Startup script glue for the Heimdal KDC. 2000-08-06 21:32:56 +00:00
thorpej 6636b19ffd Add (commented out) hprop service, along with a short explanation
of when to enable it and why.
2000-08-06 20:35:13 +00:00
thorpej eb8931bc84 Add `hprop' service (754/tcp). 2000-08-06 20:12:19 +00:00
fvdl 4ed8b47725 Do not create the binary/security directory, there is no seperate
security set anymore.
2000-08-06 18:10:48 +00:00
thorpej 4bfab7fc50 /var/krb5kdc -> /var/heimdal 2000-08-06 17:15:47 +00:00
nonaka 7a41932873 for make snapshot 2000-08-06 16:11:32 +00:00
thorpej ac1bd4275a Remove the (not supported) krbupdate service, and add (commented out)
kerberos-adm.
2000-08-05 00:48:15 +00:00
thorpej 75713daa92 Add ISAKMP. 2000-08-03 22:58:37 +00:00
kleink a8c7e91153 As discussed with Hubert Feyrer in private mail, install UTC as the default
time zone; while amounting to the same offset, the time zone 'name' of
Factory violates the prinicple of least surprise.
2000-08-03 13:00:02 +00:00
hubertf 343777f0d3 Change default timezone from US/Pacific to Factory:
Before:
    Wed Aug  2 06:53:04 PDT 2000

After:
    Wed Aug  2 13:52:52 Local time zone must be set--see zic manual page 2000
2000-08-02 14:40:45 +00:00
itojun e9b5e5d87c fix comment on DAD wait 2000-08-02 13:59:11 +00:00
hubertf dcefdf7722 Adjust comment to what's actually being done 2000-08-02 11:07:51 +00:00
itojun 8451f00774 we need to sleep for IPv6 DAD period, before and after rtsol.
(they are for stability in boot-time configuration)
comment from perry.
2000-08-01 20:49:11 +00:00
jwise d6662ec62f Change name of precmd from start_precmd to sshd_precmd. While it worked
fine as was, the result was the line `start_precmd=start_precmd' which
looked odd.  Pointed out by Bernd Ernesti.

While here, add NetBSD RCS Id.

BTW, to clarify, as people have asked:  this script does not support
pkgsrc/security/sshd -- that package comes with a perfectly fine rc script
which in addition to supporting /etc/rc.d can also be used with 1.4.X.

This script will not trivially work with the ssh package as it a.) calls
the ssh commands at the pathnames they will be installed at by usr.bin/ssh,
and b.) generates a DSA key as well as an RSA key.
2000-08-01 14:28:32 +00:00
jlam f3983ea4df Correct apparent past-o: RSA -> DSA 2000-07-31 21:43:52 +00:00
jwise 5da8f604df Add $sshd and $sshd_flags for use by both usr.bin/sshd and pkgsrc/security/{open,}ssh
As a precedent, note the presence of $gated, even though we do not distribute
gated outside of pkgsrc.
2000-07-31 20:47:41 +00:00
jwise 5cfec6f11d An sshd startup script for use with usr.bin/sshd. Installation is conditional
on ${SSHDIST}, as with usr.bin/ssh itself.

This script includes a `keygen' target for regenerating RSA and DSA host keys,
and invokes this if these keys are not present when sshd is started up.
2000-07-31 20:39:41 +00:00
chuck fcf381833d actually make use of new features introduced in man.c (rev 1.23):
allow to specify relative paths for sections in man.conf - they are used
          similarily to _subdir, but only when appropriate
2000-07-31 00:26:48 +00:00
chuck c438e69177 if update_motd is set, do not gratuitously force it to have an empty line
in it.  also be a bit smarter about deleting stuff from motd during
update.  it is now possible to have a one line motd just like in SunOS.
2000-07-31 00:17:05 +00:00
veego ea8a88f609 syslog requires databases from sysdb which creates /var/run/utmp. 2000-07-29 21:50:20 +00:00
soren d13496d33e md0c -> md0d. 2000-07-29 10:56:19 +00:00
christos 023a7f381f add back check to .rhosts cat -f avoids the security hole. 2000-07-28 21:38:43 +00:00
mason 2ff2883ec7 pty{0,1} created more than once for "floppy" target. Corrected. 2000-07-27 19:16:09 +00:00
veego 3e53e60091 Really, we don't need a 2nd pty0 in the floppy target. 2000-07-27 19:09:57 +00:00
mason 12fa1acae3 As before, make 64 PTYs default. Forgot to move updated version back after
moving it aside to commit fix to previous version, prior to larger commit.
2000-07-27 18:46:15 +00:00
mason db8e04e0f8 Move to a default of 64 PTYs in "all" targets. Normalize "floppy" and
"minimal" targets to use 16 PTYs.
2000-07-27 18:43:14 +00:00
mason d123ebaad1 Correct typo - missing $0. 2000-07-27 18:41:34 +00:00
lukem 392130e304 move recreating /var/run/utmp from mountcritlocal (where /var/run is
purged but /usr/bin/install is not available) to sysdb.
problem noted by Matthias Drochner.
2000-07-27 13:58:49 +00:00
itojun 0e416c083c add usr.bin/{hoststat,purgestat}, which are new argv[0] hack
for sendmail 8.10.x and beyond.  sorry that i forgot to add this one.

From: Andrew Brown <atatat@atatdot.net>
2000-07-26 16:35:33 +00:00
lukem 48b9eee5e1 * add new dummy dependancy `NETWORK' to be REQUIREd by services which need
networking to be operational before starting, and use as appropriate.
  NETWORK depends upon network and dhclient.
* move the guts of systemfs into mountcritlocal
* replace the dependancy on systemfs with mountcritremote, and remove the
  former.
* SERVERS now also depends upon ppp

Notes:
* dhclient (and others) needs /var to be a $critical_filesystem_beforenet
* dhclient now starts before syslogd (because the latter needs /usr, and
  /usr might need dhclient to be mounted)

Should fix PRs:
    [install/9853] [bin/10002] [misc/10349] [port-i386/10633] [misc/10641]
2000-07-26 00:11:48 +00:00
thorpej fe54e81eb3 Also do ../usr.bin/ssh for the `distribution' target. 2000-07-25 19:07:39 +00:00
jdolecek 1bf05ae3b1 the format without netmask is supported for compatibility only and not
specifying it is discouradged, actually
also add comments about this fact to etc/rc.d/network, for people who
don't read manpages :)
2000-07-25 18:47:28 +00:00
drochner 6c44b52470 add usr/share/wscons/{fonts,keymaps} 2000-07-25 17:20:13 +00:00
drochner 8ba3198bec the pcvt fonts are in /usr/share/wscons/fonts now 2000-07-25 17:14:58 +00:00
itojun 674467bac8 add "start" argument to sshd.sh.
- sshd.sh comes with pkgsrc/security/openssh requires "start" argument
- sshd.sh comes with pkgsrc/security/{ssh,ssh6} does not care about argument
- it seems to me, from license twists, openssh installation will get
  more popular
2000-07-24 10:10:05 +00:00
briggs a2c0644e20 Add a Makefile.inc with snap_md_post to build and install release notes
for a make release or make snapshot.
2000-07-22 02:33:53 +00:00
briggs 5d1a00b125 Add a snap_md_post to build release notes and boot floppies on a make
release or make snapshot.
2000-07-22 02:33:06 +00:00
lukem 1a54e63fe1 match reality WRT rc.d... 2000-07-22 01:50:30 +00:00
lukem e15f7a2a6f clarify the difference between $critical_filesystems_beforenet and
$critical_filesystems, and why `/var' should be in the former (or
implied as part of `/' which is already mounted).
2000-07-22 01:09:44 +00:00
joda d3f42e569d add some kerberos related ports 2000-07-22 00:26:42 +00:00
lukem 1a29746222 - fix typo; the first ipsec_start() should be ipsec_prestart()
- if ipsec.conf isn't readable and the system is booting directly to multiuser,
  send SIGTERM to the parent (/etc/rc) so that init(8) aborts the boot.
2000-07-21 01:16:07 +00:00
lukem 262e4b1975 if ipf.conf isn't readable and the system is booting directly to multiuser,
send SIGTERM to the parent (/etc/rc) so that init(8) aborts the boot.
2000-07-21 01:14:23 +00:00
lukem 9c7a535df6 - be consistent in formatting sentences
- note that xdm might need wscons for local X servers (c.f. [install/9967])
2000-07-21 00:25:31 +00:00
lukem 31e7834913 reword description 2000-07-20 23:36:56 +00:00
lukem acae4fe558 in err() and warn() put a : between the ERROR/WARNING label and the message 2000-07-20 23:12:44 +00:00
thorpej f5e99478c8 Build a list of cloning network interfaces to configure, as well
as normal interfaces.
2000-07-20 19:43:10 +00:00
bjh21 00a398bd22 New kernel for small systems 2000-07-19 16:49:08 +00:00
lukem 47a3878257 reenable stop_cmd now that network doesn't get run at shutdown 2000-07-17 15:25:42 +00:00
lukem db024b3733 add '# KEYWORD: shutdown' so that these scripts get run at shutdown time.
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown,
which speeds up shutdown and makes it more robust.
2000-07-17 15:24:48 +00:00
lukem d046f31b64 run rcorder with `-k shutdown', so that only the scripts with a
`shutdown' keyword get run at shutdown time.
2000-07-17 15:23:28 +00:00
lukem 97d13d02c3 * remove bogus comment about aborting the boot if ipsec.conf doesn't exist;
this hasn't really worked and is probably too messy to resolve...
2000-07-17 13:10:54 +00:00
lukem a8b1b91ded * add support for `status'
* remove bogus comment about aborting the boot if ipf fails; this hasn't
  been supported since the rc.d migration and is too messy to resolve...
2000-07-17 12:58:14 +00:00
lukem d92b803c29 use "load_rc_config swap" for swap1 and swap2 2000-07-17 12:27:04 +00:00