Commit Graph

376 Commits

Author SHA1 Message Date
thorpej
7591178b00 Create /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:29 +00:00
thorpej
f72721d957 Add man4 acorn32 dirs. 2003-04-17 22:23:47 +00:00
cjs
957075b57b Change ipsec.conf not to be world-readable and nodiff, so we don't expose keys
if they happen to be in that file. Also add /etc/racoon stuff.
2003-04-16 03:16:38 +00:00
lukem
a1e70625a5 remove superfluous "uname=root gname=wheel" from etc/postfix/** entries 2003-04-15 06:21:51 +00:00
salo
0db44986d2 Add slovak language libc message catalog. 2003-04-14 05:21:47 +00:00
jmmv
8fee00a553 ... ca/LC_MESSAGES is not needed. 2003-04-13 09:54:41 +00:00
jmmv
4f7db6cd44 Finally add complete support for Catalan (ca_ES, ca) LC_CTYPE and libc
catalog messages.
Thanks to salo for letting me know what was missing.
2003-04-13 09:48:18 +00:00
jmmv
33b8c350b6 Add a Catalan libc message catalog file (plus everything else needed to
track the file).  Closes my own PR lib/19498.
2003-04-09 20:17:06 +00:00
jdolecek
772fa9214a add /usr/share/examples/smbfs/dot.nsmbrc 2003-04-04 07:53:09 +00:00
tshiozak
c2cadb8a46 add support for zh_CN.GB18030 locale.
(lib/20835 by sigsegv at s25 dot xrea dot com)
XXX: charclass for GBK compatible area is not supported.
2003-03-25 18:26:51 +00:00
atatat
ffb0f92a6c Add the new queue directory for the sendmail "mail submission" mode. 2003-03-24 15:21:18 +00:00
tron
071441c2a1 Remove "/etc/X11" and "/etc/fonts". The other X11 directories are not
listed here, too.
2003-03-05 16:47:03 +00:00
jmmv
29e803a523 Add the /usr/share/examples/wsmoused directory (hi wiz!). 2003-03-04 14:53:01 +00:00
tron
7a18de142d Add "/etc/X11" and "/etc/fonts". 2003-02-28 23:04:48 +00:00
lukem
4f6381b784 all:
Use /var/db/obsolete instead of /etc/obsolete

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

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


Per discussion with Andrew Brown.
2003-02-22 03:20:45 +00:00
lukem
5c198ab018 etc/postinstall
*	Improve message display in find_file_in_dirlist()
    *	do_obsolete(): instead of running distrib/sets/makeobsolete to
	temporarily generate the obsolete sets lists, look for them in
	${SRC_DIR}/etc/obsolete/* or ${DEST_DIR}/etc/obsolete/*.
	The obsolete check now works for "extracted etc.tgz" as the source dir.

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

distrib/sets/makeobsolete
    *	Don't bother with "_obsolete" suffix on generated file names.
2003-02-20 11:40:28 +00:00
lukem
cd8d483609 Do not ship with (an empty) /home in the base distribution.
The old behaviour caused problems when /home is a symlink on a system
and pax is used to extract base.tgz or "installworld" the base set
(because pax will remove the symlink before creating the now-empty
directory).  It also made it more difficult for a site that wants
permissions on /home to be something other than what the NetBSD
defaults are.

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

This resolves PR [install/19673], as well as being more consistent
with our defacto policy of "not stomping on stuff we don't need to".
2003-02-16 00:18:59 +00:00
wiz
3f943a41ed Add /usr/share/locale/gl{,/LC_MESSAGES}. 2003-01-26 22:17:02 +00:00
wiz
b001228eca Add more locale dirs for texinfo-4.3 files. 2003-01-17 15:50:44 +00:00
wiz
d7f2ae353c Add /usr/include/dev/dmover. 2003-01-14 11:29:02 +00:00
perry
9ae5a89aa8 it is okay for the sendmail and postfix .cf files to be writable by root 2003-01-08 15:34:18 +00:00
lukem
ebdb5fe2ad Remove /usr/local (and children) from the base distribution; we shouldn't
be creating directories or modifying permissions under there.

(/usr/local/* is still retained in various default PATHs, for convenience)
2002-12-20 06:39:53 +00:00
jdolecek
800e198ba6 add example disktab file 2002-12-17 15:16:40 +00:00
perry
6bb51beb04 add postfix html directory 2002-12-17 04:26:42 +00:00
scw
69e33812c6 Delete section 8 manpage dirs for walnut, and add evbppc. 2002-12-09 12:48:22 +00:00
blymn
6ad0917189 Added veriexecctl to examples tree. 2002-11-23 10:30:04 +00:00
itohy
590fc1bda3 Add {cat,man,html}4/dreamcast, html4/evbarm 2002-11-17 06:12:52 +00:00
itojun
4384c54c01 switch to GNU tar 1.13.25 with security fixes. 2002-10-10 08:22:22 +00:00
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
wiz
f020223b5c Add auto-generated MAKEDEV(8) for ofppc. 2002-09-25 01:07:41 +00:00
perry
64d38d7104 add wtmpx 2002-09-16 02:36:53 +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
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
lukem
9d1fcd79ac Add ./lib and ./rescue 2002-08-22 01:31:22 +00:00
thorpej
a1ef87dff1 Add {cat,man}4/evbarm subdirectories. 2002-08-02 21:22:23 +00:00
lukem
f91d5a2f45 add wdogctl 2002-07-30 09:11:27 +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
tshiozak
f96d7c340f add ./usr/share/locale/sk_SK.ISO8859-2 . 2002-07-09 09:04:51 +00:00
tron
fbf97bb599 Remove unused user and group "news" as discussed on "tech-userlevel". 2002-07-06 09:27:31 +00:00
yamt
3d67d222ff add wsmoused 2002-07-03 23:29:51 +00:00
itojun
c589b132db dig /etc/systrace 2002-06-29 17:27:42 +00:00
wiz
44b5cee1bf Add x86_64 cat8/man8/html8. 2002-06-19 09:23:52 +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
8afe4b3454 missing share/man/html4/sgimips 2002-06-03 09:21:24 +00:00
jmcneill
fdbb6f9c72 Add mixerctl rc.d script. 2002-06-02 18:38:35 +00:00
wiz
71661ba46a Dig man page directories for pmppc. 2002-05-31 12:20:04 +00:00
wiz
ccb70a5dbd Add /usr/share/man/{cat,man}4/sgimips. 2002-05-20 11:03:58 +00:00
itojun
e26b1052bb use /var/chroot/sshd instead of /var/empty. suggested by christos 2002-05-16 20:59:35 +00:00
itojun
4d9f2174f9 dig sshd uid/gid, and /var/empty, for sshd privilege separation 2002-05-14 23:26:24 +00:00
jdolecek
abadcdeb3e add /usr/share/exmples/fstab 2002-05-04 20:03:14 +00:00
wiz
bf527580b7 Remove previously empty /usr/share/man/{cat,html,man}9/arm32. 2002-05-02 17:03:57 +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
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
wiz
d92b984e3e Fix typo in last, noted by tron. 2002-04-08 19:12:42 +00:00
wiz
a4508a9aaa Remove cat8/man8 for arm32; add html8 for algor, cats, evbsh3, mvmepcc,
playstation2, shark (what's that hierarchy good for?).
2002-04-07 15:31:56 +00:00
wiz
c6efee995e Add man8/cat8 for algor, cats, evbsh3, mvmeppc, playstation2, shark. 2002-04-07 15:26:13 +00:00
lukem
5260db633f etc/ssh is mode 0755 not 0644. Noted by Toru TAKAMIZU on current-users. 2002-03-27 07:15:57 +00:00
wiz
e90cd48a1b Sort a line. 2002-03-24 22:36:49 +00:00
bjh21
f0540e4a02 Rename man page directories, arm26 -> acorn26. 2002-03-24 22:31:13 +00:00
itojun
f7086ae500 move ssh config file to /etc/ssh 2002-03-22 15:47:01 +00:00
itojun
960e8c173d add postfix config files. PR15659 2002-03-22 04:03:44 +00:00
tshiozak
dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
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