The NetBSD Project

CVS log for src/etc/Attic/postinstall

[BACK] Up to [cvs.NetBSD.org] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.94.2.3, Wed Apr 20 11:19:58 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RC4
Changes since 1.94.2.2: +1 -1 lines
FILE REMOVED

Pull up file removal (requested by lukem in ticket #164):
Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).

Revision 1.99, Sun Apr 17 15:15:48 2005 UTC (18 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base2, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, localcount-20160914, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.98: +1 -1 lines
FILE REMOVED

Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall
(and the base.tgz set).

Revision 1.98 / (download) - annotate - [select for diffs], Sat Apr 16 04:19:24 2005 UTC (18 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.28 (colored)

elaborate on sysctl rename

Revision 1.94.2.2 / (download) - annotate - [select for diffs], Wed Apr 13 15:52:32 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.94.2.1: +2 -2 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) to selected 1.28 (colored)

Pull up revision 1.97 (requested by peter in ticket #134):
Add _pflogd group.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Wed Apr 13 15:51:38 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.28 (colored)

Pull up revision 1.96 (requested by peter in ticket #134):
Add _pflogd to the uid check. Pointed out by Luke Mewburn.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Apr 5 19:57:30 2005 UTC (18 years, 11 months ago) by peter
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.28 (colored)

Add _pflogd group.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Apr 5 07:03:33 2005 UTC (18 years, 11 months ago) by peter
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored) to selected 1.28 (colored)

Add _pflogd to the uid check. Pointed out by Luke Mewburn.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Mar 22 04:43:53 2005 UTC (19 years ago) by lukem
Branch: MAIN
Changes since 1.94: +11 -9 lines
Diff to previous 1.94 (colored) to selected 1.28 (colored)

-s can be given 'etc.tgz' directly.  (Thanks to hubertf for the reminder)
Improve usage.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Mar 12 00:52:51 2005 UTC (19 years ago) by tron
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.28 (colored)

Try last fix once more.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Mar 12 00:50:23 2005 UTC (19 years ago) by tron
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) to selected 1.28 (colored)

Fix a bad typo in populate_dir() which broke a lot of checks.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Mar 8 14:09:25 2005 UTC (19 years ago) by lukem
Branch: MAIN
Changes since 1.91: +31 -21 lines
Diff to previous 1.91 (colored) to selected 1.28 (colored)

Deprecate etc_release check, since etc/release is now part of base.tgz.

Support '-s /path/to/etc.tgz' which extract the file to a scratch directory
and run the contained version of postinstall against that directory.
This saves about 5 tedious steps which I've done by hand when updating,
and the expense of some minor CPU time on each invocation of this method.

XXX: postinstall needs a man page.  pkill -HINTHINT wizd

Revision 1.91 / (download) - annotate - [select for diffs], Tue Mar 1 16:29:44 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.28 (colored)

Add the xserver description file.

Revision 1.90 / (download) - annotate - [select for diffs], Sun Feb 27 22:34:18 2005 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) to selected 1.28 (colored)

add display_manager and ppp

Revision 1.89 / (download) - annotate - [select for diffs], Sun Feb 27 00:06:25 2005 UTC (19 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored) to selected 1.28 (colored)

Improve the description of the "pam" check/fix; it doesn't ensure
that /etc/pam.d is up to date, just populated.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Feb 24 04:06:53 2005 UTC (19 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.87: +46 -15 lines
Diff to previous 1.87 (colored) to selected 1.28 (colored)

Rename compare_dir() to populate_dir() and add "$onlynew" argument,
which if true prevents existing but changed files from being updated.

Reimplement compare_dir() in terms of populate_dir() ($onlynew=false)

Reenable do_pam() and use populate_dir() instead of compare_dir().
This allows missing etc/pam.d files to be installed with "fix", but
leaves (possibly end-user) modified files alone.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jan 11 12:19:35 2005 UTC (19 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.86: +3 -2 lines
Diff to previous 1.86 (colored) to selected 1.28 (colored)

Disable "pam" check/fix, since the current implementation will overwrite
any local changes, which is sub-optimal.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Jan 9 07:27:14 2005 UTC (19 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.85: +20 -1 lines
Diff to previous 1.85 (colored) to selected 1.28 (colored)

Install pam configuration files.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Dec 9 04:42:54 2004 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored) to selected 1.28 (colored)

Check and report if authpf isn't in group file

Revision 1.84 / (download) - annotate - [select for diffs], Tue Oct 12 13:29:05 2004 UTC (19 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.28 (colored)

manage tpctl with do_rc().  Fix from Jukka Salmi in PR 26754

Revision 1.74.2.4 / (download) - annotate - [select for diffs], Mon Aug 30 19:37:12 2004 UTC (19 years, 7 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.74.2.3: +1 -1 lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.28 (colored)

Pull up revision 1.82 (requested by nakayama in ticket #804):
The hosts file is /etc/hosts not /hosts.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Mon Aug 30 10:08:08 2004 UTC (19 years, 7 months ago) by tron
Branch: netbsd-2-0
Changes since 1.74.2.2: +43 -0 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored) to selected 1.28 (colored)

Pull up revision 1.81 (requested by chs in ticket #802):
add a dotted alias for localhost so that sendmail doesn't pause on startup
if a system's hostname is not set.  PR 26550.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Aug 30 04:57:39 2004 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.82: +59 -57 lines
Diff to previous 1.82 (colored) to selected 1.28 (colored)

* Implement modify_file() to apply an awk program against a file and display
  the diffs and possibly install the new version of file.
  (Based on sshd_config munging code in do_ssh())
* Use modify_file() in do_hosts() and do_ssh().
* Be more specific in do_x11() about what needs to occur.
  (This could still be improved).
* Minor sh cleanups.  ("sh is not C")

Revision 1.82 / (download) - annotate - [select for diffs], Mon Aug 30 02:46:07 2004 UTC (19 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.28 (colored)

The hosts file is /etc/hosts not /hosts.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Aug 29 13:26:17 2004 UTC (19 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.80: +44 -1 lines
Diff to previous 1.80 (colored) to selected 1.28 (colored)

add a dotted alias for localhost so that sendmail doesn't pause on startup
if a system's hostname is not set.  PR 26550.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Aug 12 13:32:37 2004 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.79: +3 -1 lines
Diff to previous 1.79 (colored) to selected 1.28 (colored)

Search /usr/lib/i18n and /usr/X11R6/lib for obsolete minor shared libraries.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Aug 12 02:30:23 2004 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.78: +122 -47 lines
Diff to previous 1.78 (colored) to selected 1.28 (colored)

* Implement obsolete_paths() to obsolete the paths provided on stdin.
  (based on the guts of do_obsolete().
* Implement obsolete_libs() to print a list of obsolete minor/teeny
  shared libraries in the provided directory.
  The implementation supports removing old major libraries similar to
  src/lib/checkoldvers (except this correctly matches more stuff), but
  there's no way to enable that at this time.
* do_rc(): convert to obsolete_paths() to remove old rc.d scripts.
* do_obsolete(): convert to obsolete_paths().  add obsolete_libs() for
  /lib and /usr/lib to remove old minor/teeny shared libraries.
* Clean up the usage.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sun Jul 25 07:52:47 2004 UTC (19 years, 8 months ago) by tron
Branch: netbsd-2-0
Changes since 1.74.2.1: +2 -2 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) to selected 1.28 (colored)

Pull up revision 1.78 (requested by thorpej in ticket #713):
Add a: to the getopt string so that the -a option is actually
recognized.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Jul 25 01:37:14 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.28 (colored)

Add a: to the getopt string so that the -a option is actually recognized.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jun 30 11:25:22 2004 UTC (19 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.76: +7 -7 lines
Diff to previous 1.76 (colored) to selected 1.28 (colored)

Check for "pf" and "pflogd".

Revision 1.76 / (download) - annotate - [select for diffs], Sun May 16 11:19:28 2004 UTC (19 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.75: +46 -1 lines
Diff to previous 1.75 (colored) to selected 1.28 (colored)

Add x11 test to ask user to migrate from /usr/X11R6/lib/X11/<foo> to
/etc/X11/<foo>, where <foo> is one of:
	fs lbxproxy proxymngr rstart twm xdm xinit xserver xsm

(I haven't implemented automatic migration at this time; it's too fragile
given that /etc/X11 may already exist on some systems)

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Tue Apr 27 17:57:52 2004 UTC (19 years, 11 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.28 (colored)

Pull up revision 1.75 (requested by dbj in ticket #185)

Fix problems related to superblock upgrade issues which may be
experienced by -current users from 2003.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Apr 18 04:02:27 2004 UTC (19 years, 11 months ago) by dbj
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.28 (colored)

enable rc.d fixsb script
initial testing suggests that it is working and I am confident it
will not cause irrevocable damage

Revision 1.74 / (download) - annotate - [select for diffs], Tue Mar 16 23:15:40 2004 UTC (20 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.73: +31 -31 lines
Diff to previous 1.73 (colored) to selected 1.28 (colored)

style consistency cleanup
support "diff -p"
use "err 1" instead of "diff_usage"

Revision 1.73 / (download) - annotate - [select for diffs], Tue Mar 16 23:03:14 2004 UTC (20 years ago) by enami
Branch: MAIN
Changes since 1.72: +36 -1 lines
Diff to previous 1.72 (colored) to selected 1.28 (colored)

Add new operation `diff', which is similar to `check' but also runs diff
command on files need to copy while compare_dir.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Feb 3 08:02:41 2004 UTC (20 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.71: +1 -35 lines
Diff to previous 1.71 (colored) to selected 1.28 (colored)

The ssh_known_hosts check for "NetBSD RCSID matches" does not belong in
postinstall, so remove it;  sshd functions fine without the entries.
This type of functionality is performed as part of etcupdate(8) (et al).

Revision 1.71 / (download) - annotate - [select for diffs], Sun Feb 1 02:34:03 2004 UTC (20 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.28 (colored)

add identd

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jan 14 10:51:54 2004 UTC (20 years, 2 months ago) by jmmv
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.28 (colored)

Add the veriexec rc.d script.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jan 14 04:49:57 2004 UTC (20 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.68: +13 -13 lines
Diff to previous 1.68 (colored) to selected 1.28 (colored)

align ssh_known_hosts message with other operations

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jan 11 04:21:18 2004 UTC (20 years, 2 months ago) by tls
Branch: MAIN
Changes since 1.67: +35 -1 lines
Diff to previous 1.67 (colored) to selected 1.28 (colored)

Install default ssh_known_hosts file with public keys for Project servers.
Hopefully I didn't make too much of a hash of the postinstall support for
this; it currently installs the file if there's none in the destination,
and elsewise notes if the CVS version differs (or is missing) but doesn't
try to fix that.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jan 6 13:16:53 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.66: +24 -10 lines
Diff to previous 1.66 (colored) to selected 1.28 (colored)

Add etc_release to check if etc/release is up to date.
Only used for "extracted etc.tgz SRC_DIR", as "src/etc SRC_DIR" builds
etc/release automatically.

Improve the usage and some of the code.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Dec 27 23:00:55 2003 UTC (20 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.28 (colored)

Add rtclocaltime (couldn't we mark these in the set lists somehow
instead of duplicating part of the list here?)

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 22 21:38:23 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.64: +5 -4 lines
Diff to previous 1.64 (colored) to selected 1.28 (colored)

improve build of MAKEDEV from src

Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 22 12:07:59 2003 UTC (20 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored) to selected 1.28 (colored)

Set "NETBSDSRCDIR" in environment while generating "MAKEDEV" script to
make the check work if "postinstall" is not invoked from "build.sh".

Revision 1.63 / (download) - annotate - [select for diffs], Sun Oct 26 23:08:29 2003 UTC (20 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.62: +10 -12 lines
Diff to previous 1.62 (colored) to selected 1.28 (colored)

Fix previous:

    *	Restore previous functionality which supported running postinstall
	with an extracted etc.tgz set as the "source" directory (i.e,
	/usr/src isn't available).  We do this by generating the MAKEDEV
	to ${SCRATCHDIR} if the real source is available, and leverage off
	the compare_dir() code that the rest of postinstall uses to support
	this functionality.

    *	Don't special case MACHINE_ARCH==arm; the MAKEDEV.awk should
	be doing that since etc/Makefile doesn't have similar special
	case code.  In any case, AFAICT the only MACHINE_ARCHs are
	"arm" and "armeb"; there is no "armel" in NetBSD.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 26 21:57:11 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.61: +19 -5 lines
Diff to previous 1.61 (colored) to selected 1.28 (colored)

update for unified, dynamically generated MAKEDEV - change 'makedev' item
to generate the MAKEDEV to scratch dir and compare that with the currently
installed /dev/MAKEDEV; also add -a MACHINE_ARCH option to explicitly
set machine architecture for non-native builds

problem with postinstall pointed out by Patrick Welche and Hubert Feyrer
in private e-mails

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 15 05:25:24 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.60: +7 -19 lines
Diff to previous 1.60 (colored) to selected 1.28 (colored)

use find_file_in_dirlist() (instead of private version) when searching
for the ssh moduli file

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 13 02:41:27 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.59: +6 -5 lines
Diff to previous 1.59 (colored) to selected 1.28 (colored)

Ensure that the exit status in do_obsolete() is correctly determined.
Problem introduced in previous, and noticed by Rob Quinn in private email.

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 10 10:20:31 2003 UTC (20 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.58: +3 -4 lines
Diff to previous 1.58 (colored) to selected 1.28 (colored)

reverse sort all of the obsolete lists before attempting to removing,
incase an obsolete directory appeared in a setfile whose filename
alphasorted before another setfile with obsolete "children" of that directory.
fixes [install/21348] from Rob Quinn.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Apr 18 05:38:40 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.28 (colored)

Add /etc/rc.d/powerd.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Apr 2 17:56:46 2003 UTC (21 years ago) by atatat
Branch: MAIN
Changes since 1.56: +38 -16 lines
Diff to previous 1.56 (colored) to selected 1.28 (colored)

Add more style points to a few places in the do_sendmail section, and
teach it how to install sample config files so that people aren't as
lost.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Mar 24 15:19:27 2003 UTC (21 years ago) by atatat
Branch: MAIN
Changes since 1.55: +184 -2 lines
Diff to previous 1.55 (colored) to selected 1.28 (colored)

Tweak postinstall to check for (and help out on) the upgrade to
sendmail 8.12.8.  Some of the same machinery (in shorter form) is in
the additions to rc.d/sendmail.  Also, add a smmsp startup script for
the sendmail client queue runner.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Mar 11 04:49:18 2003 UTC (21 years ago) by lukem
Branch: MAIN
Changes since 1.54: +10 -6 lines
Diff to previous 1.54 (colored) to selected 1.28 (colored)

rcconf_is_set(): add optional 4th arg to control whether "obsolete"
warnings are printed.  this means it can now be used for "non obsolete"
rc.conf checks as well...

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 22 23:46:46 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.53: +2 -6 lines
Diff to previous 1.53 (colored) to selected 1.28 (colored)

now that the obsolete lists are part of the "base" set (instead of "etc"),
only look for them in ${DEST_DIR}/var/db/obsolete

Revision 1.53 / (download) - annotate - [select for diffs], Sat Feb 22 03:20:46 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.28 (colored)

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.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Feb 20 12:47:29 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.51: +5 -4 lines
Diff to previous 1.51 (colored) to selected 1.28 (colored)

rm -f target file before cp -f.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Feb 20 11:40:28 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.50: +15 -21 lines
Diff to previous 1.50 (colored) to selected 1.28 (colored)

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.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 18 10:12:52 2003 UTC (21 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.49: +25 -10 lines
Diff to previous 1.49 (colored) to selected 1.28 (colored)

- add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Sun Jan 26 09:54:59 2003 UTC (21 years, 2 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.16.2.4: +18 -1 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.28 (colored)

Pullup revisions 1.48-1.49 (requested by abs in ticket #1100)
 Among the many things postinstall should check are up to date is... postinstall

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 21 14:28:55 2003 UTC (21 years, 2 months ago) by abs
Branch: MAIN
Changes since 1.48: +18 -1 lines
Diff to previous 1.48 (colored) to selected 1.28 (colored)

Among the many things postinstall should check are up to date is... postinstall

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jan 16 15:26:14 2003 UTC (21 years, 2 months ago) by minoura
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.28 (colored)

Add rc.d/staticroute check.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jan 16 11:55:28 2003 UTC (21 years, 2 months ago) by martti
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.28 (colored)

Back out previous (as discussed with releng). The correct way to set this is:

# echo "myserver" > /var/yp/binding/`domainname`.ypservers

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jan 16 07:37:33 2003 UTC (21 years, 2 months ago) by martti
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.28 (colored)

Script to bind a NIS client to a known server.

$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 6 20:30:29 2003 UTC (21 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.28 (colored)

writable, not writeable.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Dec 30 13:16:43 2002 UTC (21 years, 3 months ago) by tron
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.28 (colored)

Do last change differently so that the script doesn't print out "//" if
"DESTDIR" is set to "/" as suggested by Luke Mewburn in private e-mail.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 30 12:24:45 2002 UTC (21 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 (colored) to selected 1.28 (colored)

Fix postinstall message for builds with "${DESTDIR}" set to "/".

Revision 1.42 / (download) - annotate - [select for diffs], Fri Dec 27 00:04:49 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.41: +9 -1 lines
Diff to previous 1.41 (colored) to selected 1.28 (colored)

If "check" and some items failed, output the postinstall command-line
required to fix the issues.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Dec 17 12:47:48 2002 UTC (21 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.40: +35 -16 lines
Diff to previous 1.40 (colored) to selected 1.28 (colored)

- makedev: look for MAKEDEV in ${SRC_DIR}/etc/etc.${MACHINE} & ${SRC_DIR}/dev,
  so that postinstall on an extracted etc.tgz set works for this check
- implement find_file_in_dirlist(), and use in do_makedev() and do_postfix()

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Thu Dec 12 21:46:32 2002 UTC (21 years, 3 months ago) by he
Branch: netbsd-1-6
Changes since 1.16.2.3: +123 -38 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored) to selected 1.28 (colored)

Pull up revisions 1.20-1.24,1.28-1.32,1.34-1.36
	(requested by lukem in ticket #995):
  Add checks and fixes for: dev/MAKEDEV, etc/postfix/*,
  /etc/moduli.  Improve output, including highlighting if
  ``fix'' is a no-op from a particular check.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sat Nov 30 14:17:26 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
Changes since 1.16.2.2: +3 -3 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) to selected 1.28 (colored)

Pull up revision 1.27 (requested by abs in ticket #772):
  Split raidframe parity checking/rebuilding 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 here, check for raid[0-9].conf and raid[1-9][0-9].conf
                and not raid[0-9].conf and raid[0-9][0-9].conf

Revision 1.40 / (download) - annotate - [select for diffs], Tue Nov 26 23:37:09 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored) to selected 1.28 (colored)

SYS_INCLUDE=symlinks has been deprecated; reenable obsolete check

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 22 15:51:42 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.28 (colored)

Disable "obsolete" for now, since it has major problems with
SYS_INCLUDES=symlinks.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 17 04:14:00 2002 UTC (21 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.28 (colored)

${setdir} is not needed as we chdir to ${setdir}.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 17 03:22:47 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.36: +48 -3 lines
Diff to previous 1.36 (colored) to selected 1.28 (colored)

Add support for using the obsolete sets to check for and remove obsolete files.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Nov 17 01:04:46 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.35: +20 -2 lines
Diff to previous 1.35 (colored) to selected 1.28 (colored)

In ssh check, ensure that ${DESTDIR}/etc/moduli is up to date.
Supports either ${SRCDIR}/crypto/dist/ssh (if using -s on a src tree)
or ${SRCDIR}/etc (if using -s on an extracted etc.tgz set) for the
"source" location of moduli.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Nov 17 00:49:54 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) to selected 1.28 (colored)

todo item: check etc/moduli (if possible)

Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 7 06:12:50 2002 UTC (21 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.28 (colored)

Add more files to obsolete rc.d files (actually, files found in rc.d/Attic).

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 9 14:55:54 2002 UTC (21 years, 5 months ago) by elric
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.28 (colored)

Added cgd rc.d script and put it in the appropriate postinstall and
mtree files.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 20 12:57:33 2002 UTC (21 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.31: +8 -8 lines
Diff to previous 1.31 (colored) to selected 1.28 (colored)

Discourage use of $*, prefering "$@", since it is white-space preserving.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 6 08:58:48 2002 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.30: +17 -11 lines
Diff to previous 1.30 (colored) to selected 1.28 (colored)

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.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 6 06:41:32 2002 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) to selected 1.28 (colored)

some consistency, please...

Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 4 13:05:27 2002 UTC (21 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.28: +5 -1 lines
Diff to previous 1.28 (colored)

- remember failure condition after first compare_dir in do_postfix()
- add another todo item which i'll work on later

Revision 1.28 / (download) - annotate - [selected], Wed Sep 4 08:00:01 2002 UTC (21 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.27: +20 -2 lines
Diff to previous 1.27 (colored)

postfix check (may need to do more).  part of PR 18155

Revision 1.27 / (download) - annotate - [select for diffs], Tue Sep 3 15:35:53 2002 UTC (21 years, 6 months ago) by abs
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.28 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 30 09:11:27 2002 UTC (21 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored) to selected 1.28 (colored)

add wdogctl

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 3 23:28:24 2002 UTC (21 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) to selected 1.28 (colored)

add mixerctl and wsmoused.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jul 3 06:19:41 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.23: +35 -21 lines
Diff to previous 1.23 (colored) to selected 1.28 (colored)

- 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.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 29 22:25:23 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.22: +1 -4 lines
Diff to previous 1.22 (colored) to selected 1.28 (colored)

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.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jun 29 19:47:02 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.21: +4 -1 lines
Diff to previous 1.21 (colored) to selected 1.28 (colored)

make 'fix wscons" work.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 28 09:35:23 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.20: +18 -14 lines
Diff to previous 1.20 (colored) to selected 1.28 (colored)

- 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

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jun 27 02:26:39 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.19: +20 -1 lines
Diff to previous 1.19 (colored) to selected 1.28 (colored)

add "makedev" target.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 18 22:58:30 2002 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.28 (colored)

Add the smmsp uid and gid.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Tue Jun 11 08:49:55 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Changes since 1.16.2.1: +5 -2 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) to selected 1.28 (colored)

Pull up revision 1.18 (requested by lukem in ticket #242):
Don't run the compare_dir() checks if the src dir doesn't exist.
Suggested by atatat@ in private email.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 11 03:15:41 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored) to selected 1.28 (colored)

Don't run the compare_dir() checks if the src dir doesn't exist.
Suggested by atatat@ in private email.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon May 27 00:34:59 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.28 (colored)

pullup rev 1.17 (lukem):
fix cosmetic issue when displaying missing IDs.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 26 04:38:13 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.28 (colored)

Fix cosmetic issue in check_ids() when printing out multiple missings IDs.
Resolves [toolchain/17024] from Tracy Di Marco White.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 17 05:40:42 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.15: +144 -154 lines
Diff to previous 1.15 (colored) to selected 1.28 (colored)

- 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 ${...}

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 16 20:59:35 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored) to selected 1.28 (colored)

use /var/chroot/sshd instead of /var/empty.  suggested by christos

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 14 23:35:35 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.13: +22 -1 lines
Diff to previous 1.13 (colored) to selected 1.28 (colored)

check sshd uid/gid, as well as /var/empty

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 14 22:41:36 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.28 (colored)

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).

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 14 05:31:11 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.11: +75 -1 lines
Diff to previous 1.11 (colored) to selected 1.28 (colored)

check required UID/GID (named and ntpd at this moment)

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 14 05:26:13 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.28 (colored)

typo in usage

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 7 02:11:07 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.9: +58 -52 lines
Diff to previous 1.9 (colored) to selected 1.28 (colored)

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).

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 6 03:02:59 2002 UTC (21 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.8: +24 -2 lines
Diff to previous 1.8 (colored) to selected 1.28 (colored)

Check for obsolete "mux 1" wscons.conf(5) entries.
Suggested by George Coulouris <george@coulouris.org>.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 29 12:05:45 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.7: +23 -18 lines
Diff to previous 1.7 (colored) to selected 1.28 (colored)

- cmpdir(); use "cp -f" (instead of "cp") to copy files
- do-rc(); check for obsoleted rc.conf(5) variables

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 29 08:31:01 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.6: +7 -5 lines
Diff to previous 1.6 (colored) to selected 1.28 (colored)

ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 29 08:23:35 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.5: +56 -25 lines
Diff to previous 1.5 (colored) to selected 1.28 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 29 06:05:24 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.4: +56 -27 lines
Diff to previous 1.4 (colored) to selected 1.28 (colored)

- 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

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 28 22:17:43 2002 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.3: +18 -2 lines
Diff to previous 1.3 (colored) to selected 1.28 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 26 16:32:49 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.28 (colored)

- use "cp" instead of "cp -p", as the files in ${SRC_ETC} might not be owned
  by root
- set umask to 022

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 26 15:49:09 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.1: +8 -3 lines
Diff to previous 1.1 (colored) to selected 1.28 (colored)

add 'help' as a synonym for 'usage'

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 26 15:37:25 2002 UTC (21 years, 11 months ago) by lukem
Branch: MAIN
Diff to selected 1.28 (colored)

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>