Commit Graph

261 Commits

Author SHA1 Message Date
itojun ce418d6d8e dig /etc/ssh 2002-03-11 04:38:41 +00:00
wiz a287908210 Mark mk.conf optional, addressing install/15572. 2002-02-24 17:17:48 +00:00
veego 908b0c7ea5 Add ./etc/ipf6.conf 2002-02-19 21:33:13 +00:00
thorpej 0c1012f0a0 Add /usr/share/dhcpd 2002-02-09 21:09:27 +00:00
ross 7b48561479 Add share/man/html? and the lower machine directories. 2002-02-07 02:52:14 +00:00
veego 6ff44bd71d etc/rc.d/NETWORK was renamed to etc/rc.d/NETWORKING 2002-02-03 08:33:14 +00:00
perry 7f6d795f45 add usr/share/games/ching 2002-01-25 05:07:57 +00:00
lukem 5982fec3a6 setup ntpd chroot cage under /var/chroot/ntpd 2002-01-18 10:52:24 +00:00
wiz a4397af56d Add /usr/include/fs/smbfs. 2002-01-11 01:36:28 +00:00
wiz 4cbb128b70 Obsolete /usr/include/smbfs. 2002-01-02 18:33:06 +00:00
wiz e5c73347f0 Add /usr/include/dev/ir. 2001-12-15 09:09:51 +00:00
wiz 70fe6c1246 Add MAKEDEV(8) for acorn32 and necessary directories. 2001-12-02 18:56:47 +00:00
wiz 6714016a2d add /usr/share/man/{cat,man}8/evbarm 2001-11-10 22:56:18 +00:00
lukem 25ebf09ae0 add various directories under /usr/include (kernel includes) and
/usr/share/nls that have previously been created by <bsd.kinc.mk>
and <bsd.nls.mk>
2001-11-06 10:56:46 +00:00
lukem 98228effd2 Use "nodiff" instead of "nomail" for the tag which is used to exclude
files from having the changes diff generated.  Suggested by Michael Graff.
2001-10-15 03:00:22 +00:00
lukem 9d713861f1 monitor etc/changelist again 2001-10-15 02:56:42 +00:00
lukem 96a1608ee4 Major overhaul, with help from Andrew Brown <atatat@netbsd.org>.
Features:
- Add a bunch of stuff to /etc/mtree/special to enable removal of
  /etc/changelist:
	- files which we want to monitor for changes but don't want to
	  see the diffs of (master.passwd, ssh_host_key, ...) are
	  tagged with "nomail"
	- files which we don't want to monitor are tagged with "exclude"
	  (such as netgroup.db, kvm.db, ...)
	- monitor /etc/mtree/special.local, /root/.ssh/*
	- remove /etc/changelist, and a bunch of XXX comments
	- use mtree(8)'s -D, -I, and -E to generate lists of files to
	  actually do the changelist stuff on.
	- support /etc/mtree/special.local as an optional user-provided
	  version of /etc/mtree/special (effectively, an enhanced
	  /etc/changelist)
- Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/*
  including support for these files being added and removed at will.
- If /sbin/fdisk exists, backup the output of "fdisk $disk" for all
  the active disk drives as part of $check_disklabels
- Check permissions on: ~/.ssh/* ~/.shosts

Details:
- Reorder initialisation of defaults
- Remove special case for /etc/master.passwd "monitor but don't email diffs"
  with general case for other similar files.
- Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...)
  in "$backup_dir/work", to minimise name clashes.
- Add migrate_file(old, new) to do the hard work of migrating files
  from the old `top level' /var/backups mechanism to the `full path'
  mechanism recently added. Use this appropriately.
- Add backup_and_diff(file, printdiffs), to the hard work of backing-up
  and diff-ing files.
- Cleanup use of shell redirects
- /bin/sh supports ~root globbing, so use it.
- Improve umask checking; use awk regex rather than awk math
2001-10-12 05:18:23 +00:00
lukem 01c63bc35a - add "ntpd" user (homedir: /var/chroot/ntpd) and "ntpd" group, for use by
future work to support a chroot(8)ed ntpd
- move /var/named -> /var/chroot/named for consistency with ntpd
2001-10-11 07:21:07 +00:00
lukem a9b011ff87 remove unnecessary uname=root 2001-10-08 02:48:49 +00:00
lukem ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem 877f022d22 Take advantage of mtree(8)'s recently added support for absolute paths.
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	3240    3847   43634  NetBSD.dist-relative
	 632     696   17166  NetBSD.dist-absolute
2001-10-05 16:09:38 +00:00
lukem 451df90b87 add /etc/defaults/*.conf 2001-10-02 03:02:10 +00:00
lukem 937f059e75 remove rule for pkgsrc - we don't have one for any of the other source
directories.   requested in [bin/13818]
2001-10-02 01:21:27 +00:00
lukem 3e5fe9c71e add etc/rc.d/*. fixes [bin/12729] 2001-10-02 01:08:11 +00:00
lukem 10887c7f1f rc.local is technically an optional file... 2001-10-02 00:26:07 +00:00
lukem d15062c3c7 add ssh{,d}.conf, ssh_known_hosts{,2}, ssh_host_{[rd]sa_,}key{.pub,} 2001-10-02 00:16:36 +00:00
lukem 6d044e5a56 add a bunch of optional etc stuff from changelist:
Distfile bootparams bootptab ccd.conf daily.local defaultdomain
	dhclient-enter-hooks dhclient-exit-hooks dhclient.conf dhcpd.conf
	disktab ethers ftpd.conf ftpwelcome gateways hesiod.conf hosts.allow
	hosts.deny hosts.lpd ifaliases ipf.conf ipnat.conf ipsec.conf
	monthly.local mygate myname netgroup netgroup.db netstart.local
	ntp.conf passwd.conf rbootd.conf rtadvd.conf security.local
	ttyaction usermgmt.conf weekly.local
- add required stuff from changelist:
	etc/floppytab etc/netconfig etc/sysctl.conf
    	var/cron/tabs/root
	var/yp/Makefile
sort mail/ into its proper place
add some comments to remind us of things to look at in the future
2001-10-01 08:01:36 +00:00
wiz 09c135bad9 Add some dirs needed for texinfo locale files. 2001-09-02 22:55:08 +00:00
wiz 8624e48221 Add /usr/share/man/{cat,man}8/netwinder. 2001-08-23 01:35:36 +00:00
wiz 8d6595d978 Add /usr/share/man/{man,cat}4/sun2 2001-08-17 07:15:12 +00:00
lukem ed97fbd98d create /var/named 0755 root:wheel instead of 0750 root:named 2001-08-09 01:32:46 +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
veego 797097c7d1 Another place where primes was used. Change it to moduli. 2001-06-24 17:28:05 +00:00
simonb a0a111aa26 Add support files for the Walnut. 2001-06-13 15:13:24 +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 cffe2f2fdb Add some more arch-specific man8/cat8 subdirs. 2001-06-08 14:24:44 +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 ee09877887 Remove named.boot (only used by BIND 4.x). 2001-05-06 10:53:32 +00:00
garbled a5cfcb8b2b Add the directory for the new sushi menu system/localtime. 2001-04-29 04:49:55 +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
garbled 2add5244d8 Add the pile of directory entries for sushi's new networking menu tree. 2001-04-25 03:54:26 +00:00
atatat 7989fb3af8 The script called dhclient-script no longer lives in /etc. 2001-04-21 22:53:36 +00:00
shin 18b3797247 add /dev/altq 2001-04-21 09:54:33 +00:00
wiz 3e40b73c85 Add some dirs for groff-1.16.1 2001-04-19 14:27:10 +00:00
wiz bb4e2557d0 Add usr/share/man/{cat,man}8/macppc 2001-04-16 08:20:57 +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