Commit Graph

2848 Commits

Author SHA1 Message Date
elric 98839fb386 Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.
2002-10-09 14:55:53 +00:00
atatat a67080c774 Reorganize the sysdb script so that lkm{1,2,3} can request that the
dev database be rebuilt after loading modules.  Loading modules might
create new nodes in /dev, but the dev database is being initialized
too soon for lkm2 and lkm3.  This means that, eg, /dev/xf86 (typically
marked AFTERMOUNT and loaded by lkm2) will show up properly.  Reviewed
by lukem.
2002-10-08 16:21:52 +00:00
simonb 5a8c043bd9 Build the GENERIC kernel. 2002-10-07 02:00:23 +00:00
grant 904247526b create /etc/mail/local-host-names, required by sendmail(8). 2002-10-05 15:23:19 +00:00
chris 5c42327764 Add ttyEconf char device for wsmoused. The wonders of having MI stuff, it
just worked.

Also add wsfont and ttyEconf to the wscons section, which now means they're
created by default.

No man page update due to this.
2002-10-05 10:47:51 +00:00
tron 6e40068171 Automatically create and destroy cloning interfaces and sync IP Filter
immediately afterwards before bringing the interface up. This avoids
a small security gap existing in the previous scheme where IP Filter
was synced after all cloning interfaces were created and brought up.
2002-10-05 05:24:40 +00:00
elric f31269d0d9 Include cgd on the list of things to be mknod(8)ed on all arches. 2002-10-04 18:53:22 +00:00
grant 5cc1bbe41d Nuke 'umask 2' as it is inappropriate for the default useradd(8)
behaviour. The system default (022) is more sensible.
2002-09-29 14:52:57 +00:00
martin e7aaaf890a Add support for various USB character devices.
From Takeshi Nakayama in PR 18450.
2002-09-28 19:49:34 +00:00
augustss b7f522dbbf Create pci device nodes. 2002-09-27 09:50:56 +00:00
wiz f020223b5c Add auto-generated MAKEDEV(8) for ofppc. 2002-09-25 01:07:41 +00:00
wiz 0c12f59b63 Correct comment about how to create MAKEDEV(8). 2002-09-25 01:02:05 +00:00
martti 3e11ad9d79 Print a warning message if IP forwarding is not activated (PR#10295). 2002-09-24 11:03:53 +00:00
chs bc9c4c5a5a first cut at these files. 2002-09-21 01:41:32 +00:00
christos 322bb64a6e Discourage use of $*, prefering "$@", since it is white-space preserving. 2002-09-20 12:57:33 +00:00
heinz b63bcd4378 Add port 873 for rsync (http://rsync.samba.org), according to IANA 2002-09-19 02:09:52 +00:00
manu a9fed43086 Initial support for APM on hpcarm (just enough to get battery state) 2002-09-16 19:58:58 +00:00
perry 64d38d7104 add wtmpx 2002-09-16 02:36:53 +00:00
perry a2bd5604f5 Make utmp and utmpx group utmp, not group wheel. This gets masked by
the fact that rc.d sets it to group utmp anyway, but it was certainly
wrong in principle.
2002-09-16 02:35:04 +00:00
perry e1fd62d224 Create wtmpx, just as wtmp is created. 2002-09-16 02:30:29 +00:00
perry 8a20c1019d create a utmpx with the same permissions as utmp
Solves pr 18282, although very differently.
2002-09-16 02:23:31 +00:00
lukem c788921e6a In compare_dir(), when files don't match print:
src != dest
instead of:
	dest != src
I think that's less confusing and more consistent.

In do_postfix(), if ${SRC_DIR}/gnu/dist/postfix/conf doesn't exist and
${DEST_DIR}/usr/share/examples/postfix does, use the latter for the
${DEST_DIR}/etc/postfix checks.  This means that postinstall can be
run in a temporary directory which has etc.tgz extracted into it
with -s `pwd`, (versus against a source tree), and the postfix upgrade
works correctly.

Remove some unnecessary goop.
2002-09-06 08:58:48 +00:00
lukem e8487071c4 some consistency, please... 2002-09-06 06:41:32 +00:00
thorpej d0f5785ccd Add pci*. 2002-09-06 02:40:56 +00:00
lukem 5c6c83e074 - remember failure condition after first compare_dir in do_postfix()
- add another todo item which i'll work on later
2002-09-04 13:05:27 +00:00
itojun 69bb32570a postfix check (may need to do more). part of PR 18155 2002-09-04 08:00:01 +00:00
abs df86ef5a9f Split raidframe parity checking/rebuild out into raidframeparity, which is
called after quota so we don't end up with fsck and raidframe parity rebuild
taking forever after a crash/reboot.
While we are here check for raid[0-9].conf & raid[1-9][0-9].conf not
			    raid[0-9].conf & raid[0-9][0-9].conf
2002-09-03 15:35:51 +00:00
wiz bd93d53f7c Add /var/run/utmpx, requested by soren. 2002-09-03 00:56:08 +00:00
lukem 08e7e88032 In the MKDYNAMICROOT==yes case, move the shared linker from /lib/ld.elf_so to
/libexec/ld.elf_so.  Per discussion with a few other developers.
2002-08-28 09:57:10 +00:00
takemura b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
cjs 546cf4d2b0 Add exclude tag to dumpdates so that diffs do not show up in the daily security
report. This file is expected to change daily, and this is not a security
problem. (Also, the most recent dumps are already shown in the daily report.)
2002-08-27 02:01:37 +00:00
abs 9f39802939 Append ' - see rc.conf(5)' to unset variable warning:
/etc/rc.d/fu: WARNING: $fu is not set properly - see rc.conf(5).
Add a note to rc.conf that third party packages may test for additional
variables.
2002-08-26 17:46:57 +00:00
scw 50e32c42df Make the comments at the top match reality.
G/C a couple of other unused devices.

As a precaution, comment out the wscons entries until
the kernel supports it and note that their major numbers
will need to be re-synced.
2002-08-23 12:58:37 +00:00
scw a625cf764a Don't create satlink or ttyE device nodes. The former clashed with tty00,
and the latter (wscons) doesn't exist on Walnut anyway.
Renumber ttyCY to match Walnut's conf.c.
2002-08-23 12:18:06 +00:00
petrov 244d2b9f99 Add ttyh[01] for sab. 2002-08-22 06:08:53 +00:00
lukem 9d1fcd79ac Add ./lib and ./rescue 2002-08-22 01:31:22 +00:00
elric 8efcaddaf6 Added .k5login to the list of files that are checked in each user's
home directory.

Addresses PR: security/18000
2002-08-20 07:53:51 +00:00
isaki ea16a0bcb3 fix mode and group of /dev/reload 2002-08-17 05:28:54 +00:00
martin 39acbf03ed Avoid exit(0) to play more nicely with rc_fast_and_loose.
Noted by Greywolf on tech-userlevel.
2002-08-16 18:05:19 +00:00
petrov 7de59e9a76 Add tty for sab. 2002-08-16 17:56:56 +00:00
simonb 355bf213c8 Build the pci devices. 2002-08-13 01:16:24 +00:00
isaki 6746f40ce5 Add usb*, ugen* 2002-08-11 13:21:07 +00:00
lukem fa4442cae4 - in local), only run $0.local if it is an existing file
(prevents spurious warning for mfs /dev, amongst other things)
- for mipsco, news68k, newsmips: ensure that "umask 77" is run after $0.local
- for playstation2: add local) target, and use in all)  (for consistency)
2002-08-09 02:39:15 +00:00
soren 4b843a85e4 dot.mailrc hasn't ever actually been maintained, unlike /etc/mail.rc . 2002-08-06 13:55:03 +00:00
soren f3893ccbed It's been a long time since it was nice to have this installed by default. 2002-08-06 13:45:08 +00:00
simonb b536c4fd19 Build PB1000 kernels too. 2002-08-03 05:53:01 +00:00
thorpej a1ef87dff1 Add {cat,man}4/evbarm subdirectories. 2002-08-02 21:22:23 +00:00
thorpej f7328ddbe7 Add dmoverio. 2002-08-02 00:50:25 +00:00
thorpej 6f79106887 Add dmoverio. 2002-08-02 00:45:37 +00:00
simonb 7f7785b33b Add the sysmon device. 2002-08-01 23:18:07 +00:00
wiz 104de337ad Add wtmpx rotation. Okayed by christos. 2002-08-01 17:24:29 +00:00
simonb 2b04c30a33 Add the sysmon device. 2002-07-31 05:02:12 +00:00
chris e37cad3dd2 Add comment to MAKEDEV about audio* devices.
Also update the MAKEDEV manpage (as reminded by wiz)
2002-07-30 20:50:10 +00:00
chris 5c83dc74b0 Update MAKEDEV to create pci0 and pci1 with the all target.
Also add a new audio target that generate audio0-3 and audio symlinks, matches the i386 /dev/audio devs.
2002-07-30 19:41:08 +00:00
lukem f91d5a2f45 add wdogctl 2002-07-30 09:11:27 +00:00
thorpej afbf483286 Add a wdogctl startup/shutdown script. 2002-07-30 05:58:42 +00:00
thorpej 3ab4598cc0 Add sysmon at cdev 101. 2002-07-29 18:26:58 +00:00
mrg 1a9847a044 clean up for 32 bit libs building (still broken) 2002-07-29 14:26:21 +00:00
bjh21 2e5fd793fb Set the volume ID on CDs produced my "make iso-image" to something meaningful,
rather than the default of "CDROM".  The volume ID now looks like
"NETBSD_ACORN26_16D".
2002-07-28 01:21:07 +00:00
grant 36ae72d99a add test for /usr/bin/logger in warn/err. 2002-07-25 14:34:46 +00:00
lukem f02e32fef8 Add ./var/spool/output/lpd -- lpd(8)'s default spool directory.
Resolves final outstanding issue with [bin/7054].
2002-07-25 13:13:44 +00:00
wennmach ac8c056486 Capitalize "starting", as in rc.subr. 2002-07-23 10:48:01 +00:00
ichiro d6ef756367 add ixpcom* 2002-07-22 01:56:38 +00:00
scw c83c355fba Mirror Izumi Tsutsui's change to the sh3 MAKEDEVs:
Fix cd and md entries since RAW_PART is 2 on sh5 ports.
2002-07-19 08:21:33 +00:00
bad e9a1e24f95 Ignore "peer" statements for local clocks too when selecting hosts from
ntp.conf.
2002-07-19 03:22:09 +00:00
tsutsui b58660379a Fix cd and md entries since RAW_PART is 2 on sh3 ports. 2002-07-18 15:07:48 +00:00
rafal 4b77d56d71 Skip blank lines in the input file (mixerctl.conf). 2002-07-16 03:24:24 +00:00
thorpej 3eface1664 Make release building work again. 2002-07-12 02:24:23 +00:00
scw 876ec719f0 MD etc files for evbsh5.
(copied from evbsh3)
2002-07-11 15:45:10 +00:00
simonb 3350e73517 Add kttcp device. 2002-07-11 00:17:39 +00:00
scottr ceb5ffc06a Add bpf devices to raminst (for dhclient). 2002-07-10 15:45:17 +00:00
simonb dbdcffef4f Add kttcp device. 2002-07-10 13:44:02 +00:00
tshiozak f96d7c340f add ./usr/share/locale/sk_SK.ISO8859-2 . 2002-07-09 09:04:51 +00:00
atatat 7fe5615355 Add systrace(1) support to rc.subr. Most services (eg, ${name} is
inetd) started from rc can now be run under systrace by setting
${name}_systrace to a set of flags to be passed to systrace.  Note
that policies need to generated before you do this.
2002-07-08 16:14:53 +00:00
grant 59ab4d4aba only try to run /usr/games/fortune if it is executable. 2002-07-08 02:54:58 +00:00
fredette 1c928c08b2 Removed ftpwelcome from BIN1; it was removed. 2002-07-06 18:19:31 +00:00
tron fbf97bb599 Remove unused user and group "news" as discussed on "tech-userlevel". 2002-07-06 09:27:31 +00:00
tv e248b10f59 Remove empty "ftpwelcome" entirely. This makes ftpd emit a two-line
extended greeting, which confuses lots of established firewalls.
(Not added to "obsolete" since removing this file is not mandatory.)
2002-07-06 04:24:08 +00:00
yamt 4b45ab0ce1 add comment:
"if you're adding new scripts, don't forget to update
src/etc/postinstall and src/etc/mtree/special."
2002-07-03 23:31:25 +00:00
yamt 3d67d222ff add wsmoused 2002-07-03 23:29:51 +00:00
yamt 1030138025 add mixerctl and wsmoused. 2002-07-03 23:28:24 +00:00
lukem 9073fc120d - Certain operations currently don't actually "fix" things, so
highlight this in the error message (as "[NOT FIXED]").
  idea from discussion with itojun
- Do NOT run  "cd /dev ; sh ./MAKEDEV all"  with "fix makedev".
  Just check/fix that /dev/MAKEDEV is up to date.
  I don't think that the former behaviour was appropriate, especially as
  part of a common "fix all" scenario.
2002-07-03 06:19:41 +00:00
itohy 908bf86adc Check for /dev/clockctl availability and print appropriate diagnosis if not. 2002-07-02 14:47:22 +00:00
hubertf d480af54fa fix typo (remove/remote) 2002-07-01 23:10:19 +00:00
thorpej 40a83c5329 Add kttcp device. Fix systrace major number. 2002-06-30 23:31:59 +00:00
tsutsui a3a42ea084 Fix typo in rev 1.10. 2002-06-30 02:57:05 +00:00
lukem 7a3ba9ecb7 revert previous; the user is supposed to be able to change /etc/wscons.conf
from the default shipped one, and the rest of the test in do_wscons()
is to detect obsolete wscons.conf(5) directives on systems with a
wscons.conf from an older release / source tree.
2002-06-29 22:25:23 +00:00
itojun cd584a155b make 'fix wscons" work. 2002-06-29 19:47:02 +00:00
matt d81b00466f Add kttcp 2002-06-29 19:29:11 +00:00
itojun c589b132db dig /etc/systrace 2002-06-29 17:27:42 +00:00
grant 490569127e add wsmoused. 2002-06-29 04:07:08 +00:00
thorpej 7f2925365c Add the kttcp device. 2002-06-28 23:29:26 +00:00
skrll 16d1e38bf6 No need for an installation/misc directory.
Add hooks for iso image creation.
2002-06-28 12:40:10 +00:00
lukem 827e6e33a7 - do_makedev(): if the compare_dir() fails, return immediately
- if SRC_DIR or DEST_DIR == /, set to "" so that various pathnames
  don't end up with a leading "//".  when specifically printing just
  the xxx_DIR variable, use ${xxx_DIR:-/} to DTRT
- cosmetic coding tweaks
2002-06-28 09:35:23 +00:00
wiz 7571c41c61 Add comments for ws* devices.
Please, don't forget to add comment lines when adding/enabling device
nodes.
2002-06-27 23:11:29 +00:00
wiz 236267aac4 Add comment for audio device.
Please, don't forget to add comment lines when adding/enabling device
nodes.
2002-06-27 23:06:41 +00:00
ross 686a24e882 add bktr 2002-06-27 18:34:32 +00:00
tsutsui daf88b8ce1 - remove redundant wscons devices in target "all"
- add wsmux devices
- make correct md devices
2002-06-27 16:22:35 +00:00
christos e2eb1d43c0 add a line about wsmoused commented out. 2002-06-27 15:10:32 +00:00
christos 7f89b13752 Add wsmoused 2002-06-27 15:08:55 +00:00
christos 1cbe550fe4 create /dev/ttyEstat 2002-06-27 15:08:12 +00:00
itojun 8e021f72ae add "makedev" target. 2002-06-27 02:26:39 +00:00
abs 77f731d1d6 The shark has a builtin audio device - create /dev/audio and friends 2002-06-26 18:26:46 +00:00
simonb 71b6692166 Build the MALTA kernel. 2002-06-26 00:40:33 +00:00
itojun 7f0b7d43b9 build GENERIC kernel 2002-06-26 00:11:16 +00:00
cyber e749cf34ed Framework for release bits
Specifically, build and gzip the kernel.
2002-06-25 22:55:56 +00:00
wiz 05f4b3dd11 Sync "sh $0.local all" lines. 2002-06-19 15:08:40 +00:00
wiz 6bb56fb9e2 Document that usb devices are generated by default. 2002-06-19 15:02:08 +00:00
wiz 9034f4fdf1 By default, make ugen0 in the usbs target too, as i386 and x86_64 already did. 2002-06-19 15:00:03 +00:00
wiz 6ff28e9bbf Update comment on how to generate MAKEDEV(8). 2002-06-19 09:30:35 +00:00
wiz 44b5cee1bf Add x86_64 cat8/man8/html8. 2002-06-19 09:23:52 +00:00
thorpej cd1a49324a Add the smmsp uid and gid. 2002-06-18 22:58:30 +00:00
itojun 74377e4ab2 md5/bcrypt password starts with $[12], so use ^ in regex 2002-06-18 22:43:53 +00:00
itojun b9d4a3192a recognize md5/bcrypt password. noted by: Eric Jacoboni <jaco@teaser.fr> 2002-06-18 22:21:43 +00:00
fvdl 60b70ca095 etc files for x86_64 2002-06-18 20:30:41 +00:00
lukem da820a3387 Build the list of names to check for $XXX_chrootdir support from
`rcorder -k chrootdir` rather than hardcoding "named ntpd".
Based on [misc/16884] from Jarle Greipsland <jarle@uninett.no>
2002-06-18 14:35:38 +00:00
wiz c39e9e2714 Sort clockctl entry, and use standard formatting (tab before and after),
needed by MAKEDEV(8)-script.
2002-06-18 13:58:36 +00:00
wiz 4549742eba Add note about how to make MAKEDEV(8). 2002-06-18 13:54:40 +00:00
wiz c12525ff19 Add comments so that the autogenerated MAKEDEV(8) has some contents. 2002-06-18 13:54:26 +00:00
wiz b097765198 Update comment on how to regenerate MAKEDEV(8) after changing the
MAKEDEV script. Not that anybody acts on it, but it's nicer if it's correct.
2002-06-18 13:40:14 +00:00
wiz 4dcfef17f0 Use standard names for isdn devices (not i4b any longer...). 2002-06-18 13:37:44 +00:00
wiz 03e60642a7 Add some more cat8/man8/html8 dirs (cesfic, evbmips, hp700, hpcarm, sbmips) 2002-06-18 13:22:25 +00:00
itojun 7dd411b55d userland access to apm emulation. 2002-06-18 05:24:44 +00:00
itojun f72547931b no apm support 2002-06-18 05:01:55 +00:00
itojun 19a306b9bd no apm device on mmeye 2002-06-18 05:01:09 +00:00
christos 4bef4356c3 Add device creation support for systrace. 2002-06-17 16:21:03 +00:00
fredette 82e3b21cfd When making devices for the ramdisk, instead of making character
devices for CD-ROMs, which aren't useful on the ramdisk, make
block devices instead.  This makes it easier to boot a CD-ROM
and install a miniroot from same.
2002-06-17 13:30:39 +00:00
drochner fbb91339a2 make the port more complete 2002-06-17 10:50:01 +00:00
lukem 56dc20a9f6 ntpd_chrootdir needs /dev/clockctl as well 2002-06-17 06:47:58 +00:00
lukem 4f0cd76133 Add clockctl device (at major # 55). 2002-06-17 06:27:26 +00:00
isaki d963ce0235 Reduce number of ptys for install image. 2002-06-15 11:16:45 +00:00
isaki 55beb4983c Delete sd7 2002-06-15 11:12:28 +00:00
lukem 3da8227a70 $ntpd_chroot requires "pseudo-device clockctl" in the kernel 2002-06-15 01:55:44 +00:00
wiz a638908be5 Make tabbing consistent. From misc/17255 by Julio Merino. 2002-06-14 09:59:08 +00:00
leo d463d60e3f Add the wscons devices (ttyEx) so you can really login on the Milan in
multi-user mode...
2002-06-12 19:36:31 +00:00
lukem 4f32d6fce8 - at least require mountcritremote (mixerctl is in /usr)
- read from < mixerctl.conf instead of piping output of cat...
2002-06-11 16:31:41 +00:00
lukem 6f9558487e use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog 2002-06-11 15:50:05 +00:00
lukem a7727a5eaa Don't run the compare_dir() checks if the src dir doesn't exist.
Suggested by atatat@ in private email.
2002-06-11 03:15:41 +00:00
lukem 349fb77324 Correct radius entries.
Noted by Kurt <ks@ub.uni-mainz.de> on current-users@
2002-06-11 02:17:33 +00:00
atatat bc451d0928 The check_rootdotfiles section mucks with the PATH setting, but
never puts it back properly.  As such, jobs run later that expect
there to be a path will lose badly (eg, run lintpkgsrc -i from
security.local).  Let's just re-export the PATH.
2002-06-10 16:04:48 +00:00
lukem 52f6d6ef15 also need to "make release" in sparc64/bootfs 2002-06-10 09:09:11 +00:00
cjs 63a4bf8380 Add postgresql and mysql IANA-assigned ports. 2002-06-07 05:59:06 +00:00
fredette eca6f29c46 Added /etc files for the hp700 port. 2002-06-06 20:35:38 +00:00
wiz 852e8c7b23 typo in last 2002-06-06 00:50:10 +00:00
lukem bd48ab4f7b - re-order pseudo-users to master.passwd order
- send postfix & smmsp email to postmaster instead of root
2002-06-06 00:21:57 +00:00
lukem 272ad304a6 Clean up a bit;
- deny all special users, listed in master.passwd order
- improve the comments
2002-06-06 00:19:36 +00:00
itojun 78964c9832 rexecd is IPv6 capable (not sure who will be using it though) 2002-06-05 23:06:51 +00:00
itojun 0de2508d2c aliases: duplicated "named" entry
ftpuesrs: add postfix
2002-06-05 22:00:03 +00:00
itojun 46f68cda83 typo 2002-06-05 21:56:46 +00:00
itojun e66c6ebb83 committed by mistake 2002-06-05 21:47:15 +00:00
itojun 1890825b44 uid/gid for sendmail 8.12.x.
disallow chroot priv accounts from being used for ftp.
2002-06-05 21:32:25 +00:00
deberg 002395174b copy bootloader to RELEASEDIR/installation 2002-06-05 13:49:33 +00:00
itojun 8afe4b3454 missing share/man/html4/sgimips 2002-06-03 09:21:24 +00:00
jmcneill 8ebbe63269 Fix typo. 2002-06-02 19:04:10 +00:00
jmcneill fdbb6f9c72 Add mixerctl rc.d script. 2002-06-02 18:38:35 +00:00
jmcneill 56d95e6efe Add mixerctl script. 2002-06-02 18:37:45 +00:00
jmcneill b055b3e3e4 Add boot script to load mixer settings from /etc/mixerctl.conf, if present.
This allows one to preserve mixer settings across reboots by running:
  mixerctl -a >/etc/mixerctl.conf
2002-06-02 18:36:46 +00:00
wiz 71661ba46a Dig man page directories for pmppc. 2002-05-31 12:20:04 +00:00
itojun dbbcec2c04 have bsd.endian.mk, which detects target endian.
generate *.db in target endian.  (see tech-userlevel for discussions)
2002-05-30 21:40:47 +00:00
leo 81127fce22 Also do a 'make release' for the prepare.fs and sysinst.fs images. 2002-05-30 21:00:05 +00:00
eeh 9469f62c90 Create a bootable WALNUT and INSTALL kernel images. 2002-05-30 16:23:30 +00:00
itojun b837b667b8 set TARGET_ENDIANNESS appropriately. 2002-05-30 09:49:22 +00:00
augustss fe7cd55d73 Add Artesyn PMPPC files. 2002-05-30 08:54:07 +00:00
lukem 1d999ae30d Fix cosmetic issue in check_ids() when printing out multiple missings IDs.
Resolves [toolchain/17024] from Tracy Di Marco White.
2002-05-26 04:38:13 +00:00
uch d2b36af297 type miss of i partition: 9->8 2002-05-25 16:31:09 +00:00
hamajima ecab1bf0f8 type miss of i partition: 9->8 2002-05-25 09:25:25 +00:00
simonb fd401c6634 Add port 121/udp (erpc). 2002-05-23 04:34:39 +00:00
uch c46d7a2d08 increase partition to 16. 2002-05-22 15:02:22 +00:00
uch dd2fce922b fix device minor. 2002-05-22 01:28:57 +00:00
rafal be1025a9ed Add glue for release stuff, extra ramdisk kernels, etc. 2002-05-21 20:56:19 +00:00
lukem 1dfde69630 Support shell metacharacters (`*', '?', '[') in /etc/changelist lines,
including checks for "backups that exist when actual file is deleted", a la
the existing mechanism used for "/etc/ifconfig.*" ... "/etc/rc.d/*" checks.
This resolves [security/15798] from Bob Kemp <bob@allegory.demon.co.uk>.
2002-05-21 13:50:46 +00:00
lukem a40243df30 When using backup_uses_rcs=YES in backup_file(), after checking the file
in and setting -kb, check it out again, since the initial check in
trashes any RCSIDs (because -kb wasn't set at that time).

This stops the annoying situation where you add a new file (e.g, "foo")
which contains an RCSID and you get *two* notifications of differences
in two successives runs of /etc/security; the first when the file is
initially checked in and a second when diff finds the RCSID is different
(contains "foo.conf,v 1.1" instead of "foo,v 1.66").
2002-05-21 12:31:01 +00:00
atatat adf9f4096f tweak GECOS for games 2002-05-20 15:08:25 +00:00
atatat feed2cb114 tweak GECOS for postfix 2002-05-20 15:06:19 +00:00
wiz ccb70a5dbd Add /usr/share/man/{cat,man}4/sgimips. 2002-05-20 11:03:58 +00:00
lukem 96e2ff62c8 Add two new rc.conf(5) variables:
rc_rcorder_flags		extra flags to rcorder(8) in /etc/rc
    rcshutdown_rcorder_flags	extra flags to rcorder(8) in /etc/rc.shutdown

This can be used to specify extra directories to search for rc.d scripts in.
For example, adding the following to rc.conf(5):
	rc_rcorder_flags="/usr/pkg/etc/rc.d/*"
	rcshutdown_rcorder_flags="/usr/pkg/etc/rc.d/*"
will add the files in /usr/pkg/etc/rc.d to the list of files that rcorder(8)
uses to build the list of scripts to start or stop.

I proposed this functionality on tech-userlevel@ over one month ago.
Closes the recent [misc/16888], which asked for a similar feature.
2002-05-19 01:01:32 +00:00
lukem 1a7212d4da Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
(ripped off from rev 1.12 of etc.sun2/MAKEDEV)
2002-05-17 16:32:18 +00:00
toshii f993c7b729 hpcarm isn't hpcmips. 2002-05-17 16:16:14 +00:00
lukem 634dcabc44 fix ~sshd. tweak GECOS for named,ntpd,sshd 2002-05-17 05:47:41 +00:00
lukem 0ede5cc7ca - add check_dir(), which checks or creates the given directory, and
use appropriately (rather than replicating effort)
- add check_ids(), to check if the lists ids exist in the first field
  of a : separated file.
- implement do_gid() and do_uid() using check_ids()
- check for ${DEST_DIR}/var/chroot/ssh instead of /var/chroot/ssh

- rename rcconf_isset() to rcconf_is_set()
- rename cmpdir() to compare_dir()
- be consistent about referring to variables with ${...}
2002-05-17 05:40:42 +00:00
itojun e26b1052bb use /var/chroot/sshd instead of /var/empty. suggested by christos 2002-05-16 20:59:35 +00:00
briggs 52c64de3c7 Make GENERIC.X2 as well as GENERIC, and include the srec versions. 2002-05-16 19:29:36 +00:00
itojun 2d4044e40b check sshd uid/gid, as well as /var/empty 2002-05-14 23:35:35 +00:00
itojun 4d9f2174f9 dig sshd uid/gid, and /var/empty, for sshd privilege separation 2002-05-14 23:26:24 +00:00
thorpej 3a8cbe5d2b Fix the do_uid() and do_gid() functions so they actually work
(a junk var is needed to slurp up the rest of the line that we
don't want).
2002-05-14 22:41:36 +00:00
itojun c8ade0d0d1 check required UID/GID (named and ntpd at this moment) 2002-05-14 05:31:11 +00:00
itojun 242ce0ff66 typo in usage 2002-05-14 05:26:13 +00:00
soren f514efc600 Make the build machinery happy for now. 2002-05-13 01:26:27 +00:00
jdolecek afd89a8792 kill leftovers from the original 2002-05-10 21:19:05 +00:00
mason 2607ebcf46 /usr/mdec/installboot no longer exists 2002-05-09 17:06:01 +00:00
jdolecek bdab257c56 add skeleton snapshot/release build hook
someone should actually write the distrib bits for luna68k eventually
2002-05-08 13:50:22 +00:00
jdolecek 8c1a587c2e sgimips doesn't have GENERIC ATM 2002-05-08 12:17:47 +00:00
isaki af51b338a9 Reduce pty to make more smaller install image. 2002-05-07 14:13:01 +00:00
isaki 62ed4db5a4 Dig installation/misc. because new distrib/x68k does not create it. 2002-05-07 14:11:37 +00:00
simonb cb4eb5a74c Fix some white space niggles. 2002-05-07 11:29:37 +00:00
jdolecek a2624ed432 add minimal disktab, with comments only (derived from pmax one) 2002-05-07 09:28:43 +00:00
jdolecek f298b07c59 fix typos 2002-05-07 09:27:19 +00:00
lukem 42f8815d89 Change -s srcdir and -d destdir so that they don't contain the "/etc" portion.
srcdir now defaults to /usr/src (from /usr/src/etc).
destdir now defaults to / (from /etc).
2002-05-07 02:11:07 +00:00
lukem f0e51dbf17 Check for obsolete "mux 1" wscons.conf(5) entries.
Suggested by George Coulouris <george@coulouris.org>.
2002-05-06 03:02:59 +00:00
jdolecek 5beaf30ad8 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 20:06:09 +00:00
jdolecek abadcdeb3e add /usr/share/exmples/fstab 2002-05-04 20:03:14 +00:00
jdolecek 074863cac2 Move the sample fstab files to /usr/share/examples/fstab/. Duplicates
or very similar configs removed.
2002-05-04 19:43:57 +00:00
tron a3ed40ee7c Sync ipf(4) after starting or stopping. This is necesarry to make filter
rules for dynamically created interfaces like pppoe(4) effective.
2002-05-04 13:53:02 +00:00
sommerfeld 965e0acae4 Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN
Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1),
which inherits it cooperatively through the build tree.  Fix
documentation so that it's shown to be deprecated.

If you use build -jN, please save full build logs so that errors due
to missing dependancies can be analyzed and corrected.
2002-05-02 22:13:30 +00:00
wiz bf527580b7 Remove previously empty /usr/share/man/{cat,html,man}9/arm32. 2002-05-02 17:03:57 +00:00
lukem 4ed3791a7a remove unused installation/tapeimage 2002-05-02 15:38:07 +00:00
lukem 2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
martti f6415ab206 Add POP password change service (pkgsrc/mail/poppassd) 2002-04-30 13:10:43 +00:00
lukem d1d73e68b7 don't bother warning or supporting obsolete $critical_filesystems_beforenet
or $critical_filesystems; postinstall now checks for these
2002-04-29 12:29:53 +00:00
lukem 25bdefc720 don't bother warning or supporting obsolete $ip6forwarding;
postinstall now checks for this
2002-04-29 12:13:14 +00:00
lukem 2a48d151ab don't bother warning about obsolete $defcorename and $nfsiod_flags;
postinstall now checks for these
2002-04-29 12:10:23 +00:00
lukem 546b01ef65 don't bother warning about obsolete $amd_master; postinstall now does this 2002-04-29 12:08:17 +00:00
lukem 5d082ef225 - cmpdir(); use "cp -f" (instead of "cp") to copy files
- do-rc(); check for obsoleted rc.conf(5) variables
2002-04-29 12:05:45 +00:00
lukem c83924b939 ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.
2002-04-29 08:31:01 +00:00
lukem 244b762de1 Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem 21d59649a5 add (optional) etc/postinstall 2002-04-29 07:28:27 +00:00
lukem a65f716c1b - ssh: check for obsolete sshd_conf_dir
- add extra arg to cmpdir() (before files list), which is the target
  mode of copied files
- implement rcconf_isset(), which checks if an rc.conf(5) variable is set
  and warns if so.
- minor tweaks
2002-04-29 06:05:24 +00:00
lukem b3cffe8cbf deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:55:05 +00:00
bjh21 8dd390a3ac This script is run on the host for cross builds, so it can't use mktemp -d.
Use a tidied-up version of my shell fragment from maketars instead.
2002-04-28 22:17:43 +00:00
shiba a26fd009c9 Add IDE drive support.
Note:
   (1) Character device major number chages to 49 from 48(in my original
       code). So it is necessary to rebuild device files.
   (2) Must use Booter 2.0.0a10 or later.
   (3) Default mode is cpu busy wait. It is defined by flags 0x1000.
       It will be more slow than before.
       No flags means hardware interrupt mode. But it might be able to
       get no interrupts.

Support machines:
   (1) Quadra 630 series
   (2) PowerBook 150

Non tested machine:
   (1) PowerBook 190 series

Approved by: briggs
2002-04-27 19:29:08 +00:00
lukem 3fa66e9068 - use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
by root
- set umask to 022
2002-04-26 16:32:49 +00:00
lukem 8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
lukem 9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +00:00
lukem 9ada96166d install postinstall 2002-04-26 15:43:39 +00:00
lukem 6cc319cec4 postinstall -- check for or fix configuration changes that occur over time
as NetBSD evolves.

checks/fixes supported in initial version:
  defaults      /etc/defaults being up to date
  mtree         /etc/mtree being up to date
  rc            /etc/rc* and /etc/rc.d/ being up to date
  periodic      /etc/{daily,weekly,monthly,security} being up to date
  ssh           ssh configuration file relocation
2002-04-26 15:37:25 +00:00
lukem 39a9178088 - Improve wscons.conf(5)
- Add support for "setvar", which allows setting of arbitrary wsconsctl(8)
  variables.  Per email on tech-userlevel from Julio Merino <jmmv@hispabsd.org>
2002-04-26 00:06:53 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
fredette d39487cb88 Added support for the __ramdisk pseudo-argument. When given,
we make fewer devices to conserve inodes on the ramdisk.
2002-04-22 21:09:14 +00:00
gmcgarry 8212c0741f Use INSTALLATION_DIRS for directory creation. 2002-04-22 03:37:12 +00:00
lukem 46de584226 When building kernel .tgz sets, take advantage of pax's new ability to
not store optional directory entries when copying from a specfile.
2002-04-21 00:06:03 +00:00
enami c52dde84e4 Don't assume that $0 is this script. 2002-04-19 23:13:44 +00:00
enami 8a4552987f Wrap long lines. 2002-04-19 23:12:26 +00:00
gmcgarry b6e2bd1d9e Make the install notes before trying to install them. 2002-04-19 07:32:08 +00:00
bjh21 bb6c644707 "make release" in distrib/acorn26 too. 2002-04-19 00:05:25 +00:00
wiz 95bc0b09e2 Remove opms(4) for bebox (superseded by pms(4)).
Approved by christos.
2002-04-18 15:44:20 +00:00
wiz 1f28a82ce5 Remove /dev/pms0 creation from ports that do not have the driver;
obsolete it on the ones that had it in the 'all' target.
2002-04-18 13:24:56 +00:00
wiz c6dc851f64 Remove opms(4) and its device, /dev/pms0, from the i386 port, because
it has been obsoleted by pms(4).

Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
lukem 2f01f87528 add a PROVIDE line 2002-04-18 07:33:42 +00:00
lukem 892c0453dd consistently set rc_(fast|force)=yes 2002-04-18 07:18:05 +00:00
lukem 69a8b3e4e9 Revert previous:
+ it was not discussed first
+ it is not consistent with the rest of the rc.d system. everything else:
	- has defaults & example configuration in /etc/defaults/rc.conf
	- uses lower-case variable names, including ipmon itself

Similar functionality added by the change I'm backing out may be
reintroduced in the future once it's been changed to meet our de-facto
rc.d standards, as opposed to something that appears to have been
lifted from a non-NetBSD source (HP/UX ?) ...
2002-04-18 05:02:00 +00:00
darrenr 011bcd6f48 load_rc_config needs to be called earlier to pickup the variables from the
config file so they can be used in the rc script itself.
2002-04-17 11:42:54 +00:00
darrenr 661fb19baa remove the "#!/bin/sh" - this file isn't meant to be executed, ever, just
sourced for data.
2002-04-17 11:11:43 +00:00
darrenr eff84cd1e7 Modify the script to use variable names provided by the ipmon conf file to
enable/disable "key" features.
2002-04-17 11:05:12 +00:00
darrenr 3ca92bc1fd Create an a parameters file for the ipmon startup script. Comments and
descriptive variable names (without obscure stuff) should make tuning the
behaviour of ipmon easier.
2002-04-17 11:04:16 +00:00
leo aad4d0a45a Build as sets:
- BOOT : TT030/Falcon
 - HADES : Hades
 - MILAN-ISAIDE,MILAN-PCIIDE: Milan

Fixes PR-16366
2002-04-16 13:39:19 +00:00
tsutsui ac00a8493f Set KERNEL_SUFFIXES=ecoff 2002-04-15 14:41:39 +00:00
ad 4f7cf03e41 Add an RCS Id, and comment out the settings since they represent what the
defaults are - per Andrew Brown's suggestion.
2002-04-15 07:48:00 +00:00
perry 9c429c8cc6 add default passwd.conf file 2002-04-15 03:01:31 +00:00
gmcgarry aae385ef40 Drop into ${.CURDIR}/../distrib/${MACHINE} and make release. 2002-04-14 20:50:20 +00:00
tsutsui f33a18bc93 Build distrib sets for release. 2002-04-14 14:20:05 +00:00