Commit Graph

61 Commits

Author SHA1 Message Date
itojun 242ce0ff66 typo in usage 2002-05-14 05:26:13 +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
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 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
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
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 9830579350 add 'help' as a synonym for 'usage' 2002-04-26 15:49:09 +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