Commit graph

30 commits

Author SHA1 Message Date
martti
3d837bc498 Updated etcupdate to 20030509
* sync with current (use awk instead of fgrep and sed)
2003-05-09 08:03:08 +00:00
grant
e8e5c9cbcf nothing from bsd.prefs.mk is used, so don't include it. 2003-04-06 03:53:23 +00:00
wiz
6265d3d9ab Version 20030305 (hi perry) 2003-04-05 19:23:25 +00:00
perry
0da2fd6bad synchronize with the much better versions in -current 2003-04-05 18:17:22 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
martti
5d8fb2a256 Updated etcupdate to 20030204 (bin/20196). 2003-02-04 08:40:56 +00:00
martti
a9d9de6c1d Updated etcupdate to 20030124
Add a new -a flag (automatically update files which have not been
locally modified).  Patch provided by Sverre Froyen in a private mail,
slightly modified by me.
2003-01-27 07:54:22 +00:00
jmmv
c759671d65 Update etcupdate to 20021227:
- Fix a typo in the yesno() function: add a missing question mark.

Approved by martti.
2002-12-27 19:41:45 +00:00
martti
bf27ec4cc0 Updated etcupdate to 20020928
* Fix a typo (PR#18440)
* Don't execute /etc/postinstall if -b was used
2002-09-28 06:18:35 +00:00
martti
2cffbf33d8 Updated etcupdate to 20020731
fix usage() message for "-s" argument.  ie, do *not* suggest "/usr/src"
as this causes "make distribution" to be run in /usr/src.
2002-07-31 06:54:24 +00:00
wiz
5404b7fa91 Fix typo reported in bin/17516. 2002-07-08 11:33:20 +00:00
martti
83e6421ce7 Updated etcupdate to 20020515
* Include user's PATH (pkg/16828 by HAMAJIMA Katsuomi)
2002-05-15 08:17:14 +00:00
martti
1cce886081 Updated etcupdate to 20020513
* Run /etc/postinstall if it's found
2002-05-13 12:38:48 +00:00
martti
831eec51cd Updated etcupdate to 20020321
* clear the screen before showing the diff and menu

Suggested by Hubert Feyrer in a private mail.
2002-03-21 12:01:30 +00:00
martti
6c77c0c3ca Set myself as MAINTAINER 2001-12-30 17:10:47 +00:00
martti
fe5d684d49 * Don't display temporary files (.etcupdate.filename)
* A minor manual page fix
2001-12-15 09:05:07 +00:00
martti
7c8466daf0 Don't display temporary files (.etcupdate.filename). 2001-12-12 10:08:42 +00:00
martti
3d02b6c8c7 Set environment variables in one place before executing "make distribution". 2001-12-04 12:34:37 +00:00
martti
4fb369cb8c Updated to 20011201. Changes since last commit:
* The -b switch requires now argument
* The -s switch defines the location of /usr/src/etc (used to be /usr/src)
* Manual page fixes
* Better menu after merge
* Possibility to undo merge

Usage:

# etcupdate -s /some/where/src/etc

or

# mkdir /tmp/temproot
# cd /tmp/temproot
# tar xzf /some/where/etc.tgz
# etcupdate -b /tmp/temproot
2001-12-01 11:42:09 +00:00
martti
075d783514 Changed the -b argument. Now etcupdate is used like this:
# etcupdate -s /usr/src

or

# mkdir /tmp/etc && cd /tmp/etc && tar xf /some/where/etc.tgz
# etcupdate -b -s /tmp/etc
2001-11-23 19:16:38 +00:00
martti
89fad25f16 Added a new switch (-b binfile) to allow binary upgrades for those
who don't have the /usr/src/etc directory.

Usage example: etcupdate -b /some/where/etc.tgz
2001-11-22 15:39:30 +00:00
martti
8934de5297 Change to the root directory (/) before running mtree to set the directory
permissions. Without this fix mtree was creating new directories in
/usr/src/etc which was not so nice...
2001-11-22 13:20:00 +00:00
martti
52d62a2816 Clarified few things, reference more with the .Xr macro, etc.
I did not update the version tag because this is only minor fix to
the manual page. Otherwise we would have several versions per day
as this tool is still under construction...
2001-11-21 11:58:07 +00:00
martti
68faecccdb Bump version number to 20011121 2001-11-21 09:21:58 +00:00
martti
c934aa5b45 - Emphasize that the 'i' command will overwrite local modification
- Some s/file/files/
2001-11-21 08:45:57 +00:00
wiz
6dbeaaa3a2 Lots of formatting improvements, and remove incorrect HISTORY section. 2001-11-20 17:29:54 +00:00
martti
3c6d76f5e0 Set MTREE=mtree when running "make distribution" as this is needed
in -current. Noted by Alistair Crooks in a private mail.
2001-11-20 15:55:44 +00:00
martti
4ba5d9eee5 Added missing menu entry (no functional changes) 2001-11-20 13:20:23 +00:00
martti
1ff6cc86fb etcupdate helps you to update the configuration files in /etc after
performing an operating system upgrade.

The idea for this script (including code fragments, variable names etc.)
came from the FreeBSD mergemaster (by Douglas Barton). Unlike the FreeBSD
mergemaster, this does not use CVS version tags to compare if the files
need to be updated. Files are compared with /usr/bin/cmp as this is more
reliable and the only way if the version numbers are same even though the
files are different.
2001-11-20 09:53:54 +00:00