History log of /src/usr.sbin/etcupdate |
Revision | Date | Author | Comments |
1.1 | 22-Mar-2002 |
martti | Added etcupdate (etcupdate-20020321 in pkgsrc)
|
1.65 | 17-Jan-2022 |
lukem | etcupdate: fix error message for unimplemented option
noted by rudolf on source-changes-d
|
1.64 | 09-Jan-2022 |
lukem | etcupdate: add -? for help. improve option errors
Support -? to show help. Implemented using getopts "leading colon optstring" feature. Improve error messages for unknown options and missing arguments. Change usage-related errors from stdout to stderr. Keep all other errors to stdout for now.
|
1.63 | 09-Jan-2022 |
lukem | etcupdate: -h to stdout. improve help
Send -h help to stdout not stderr, and exit 0 not 1. Show options alphabetically. Use UPPER_CASE instead of lowercase as the convention for argument names.
|
1.62 | 09-Jan-2022 |
lukem | etcupdate: style change: function { on new line
|
1.61 | 02-Dec-2020 |
wiz | comparision -> comparison
|
1.60 | 03-Jan-2016 |
martin | From Jim Bernard in PR install/50615: install_checksum expects a path relative to ${DESTDIR}, and most callers did pass it that way - fix the one place where it eroneously was called with a ${DESTDIR} path.
|
1.59 | 13-Nov-2014 |
apb | Synchronise the "-s" part of the usage message with postinstall. A colon-separated list of tgz files is no longer accepted; you must use multiple -s options instead.
|
1.58 | 04-Aug-2014 |
apb | branches: 1.58.2; Synchronise several shell_quote implementations, and: * Elide some unnecessary pairs of quotation marks, to improve readability. For example, shell_quote "''" is now \'\' instead of ''\'''\'''. * Don't add quotes around words that contain only safe characters, to improve readability. * LC_COLLATE=C to prevent [a-zA-Z] from matching non-ASCII characters. * Use ${SED} if defined.
|
1.57 | 16-Jun-2014 |
apb | Use extra="${2-/,}" to use $2 if defined, else default to "/,".
|
1.56 | 12-Jun-2014 |
apb | Add "-d destdir" option to etcupdate. This has been only lightly tested.
|
1.55 | 12-Jun-2014 |
apb | Keep track of whether anything was changed (or needs to be changed), and print a message at the end if nothing needs to be done.
|
1.54 | 12-Jun-2014 |
apb | When populating ${TEMPROOT} from ${SRCDIR} by copying, use the mtree set files from ${BINARYDIR}/etc/mtree/set.{etc,xetc} as a list of files to copy (and copy using pax instead of cp).
This prevents unnecessary copying of extraneous files, such as in the case that BINARYDIR refers to a directory where everything has been unpacked, instead of a directory where only the etc and xetc sets have been unpacked.
Also convert a relative TEMOROOT to an absolute path.
|
1.53 | 12-Jun-2014 |
apb | There is a file named "._etcupdate_${TEMPROOT}${1}" was never created, so don't try to delete it. Delete "$B" instead.
|
1.52 | 12-Jun-2014 |
apb | When processing the -s option, the variable used is ${arg}, not ${ARG}. Also adjust an error message to say "Nonexistent or invalid file or directory", not just "Nonexistent file or directory".
|
1.51 | 15-Aug-2012 |
apb | branches: 1.51.2; 1.51.8; Remove the ability to specify multiple colon-separated file names with a single "-s" option. Multiple "-s" options must now be used instead. We have been printing a warning about this since 2008-09-14.
|
1.50 | 24-Jun-2010 |
joerg | branches: 1.50.6; Run services_mkdb if only the old hash exists
|
1.49 | 08-Nov-2008 |
reed | Output (when verbose) when storing checksum files. This may be a little noisy. As discussed on current-users in March 2008.
|
1.48 | 22-Oct-2008 |
apb | Move quotation marks to the correct place in eval statements that were broken by the previous change.
|
1.47 | 04-Oct-2008 |
apb | In both postinstall and etcupdate, in modes where the -s argument refers to tgz files or to a directory in which tgz files have already been extracted, make it an error for the files that should have come from etc.tgz to be missing. This is intended to prevent users from accidentally deleting necessary files when they run "postinstall -s xetc.tgz fix".
Use the absence of .../etc/mtree/set.etc in the extracted directory as a test for the error case.
|
1.46 | 14-Sep-2008 |
apb | Remove options deprecated in NetBSD-4.0: * Remove "-b binarydir" option (use "-s binarydir" instead). * Remove "-s srcdir/etc" option (use "-s srcdir" instead).
Also document that "-s tgz1:tgz2" is merely deprecated, not removed (use "-s tgz1 -s tgz2" instead).
|
1.45 | 14-Sep-2008 |
apb | Allow "-s tgzfile1:tgzfile2" for backward compatibility. Print a warning to encourage users to switch to using "-s tgzfile1 -s tgzfile2".
|
1.44 | 07-Sep-2008 |
apb | fix missing '$' in previous.
|
1.43 | 07-Sep-2008 |
apb | * Allow colons to appear in the names of tgz files, to address PR 39459. * Allow spaces to appear in the name of the TEMPROOT and SRCDIR directories. * Remove the ability to specify a colon-separated list of tgz files using a single "-s" option, because ":" is now a valid character within the name of a single file. Callers should use multiple "-s" options instead.
|
1.42 | 07-Sep-2008 |
apb | Remove "shift" commands that should have been removed when the option parsing loop was converted to use getopts. (Hi christos)
|
1.41 | 05-Sep-2008 |
apb | remove debugging code accidentally committed in revision 1.39.
|
1.40 | 05-Sep-2008 |
apb | Redo previous in a way that more closely matches the style used in postinstall(8).
|
1.39 | 05-Sep-2008 |
apb | The shell builtin getopts returns options without the preceding "-", so adjust a case statement to compensate.
|
1.38 | 05-Sep-2008 |
christos | - `` -> $() and quoting - getopt -> getopts - some errors to stderr - more quoting
|
1.37 | 30-Apr-2008 |
martin | branches: 1.37.2; Convert to 2 clause license
|
1.36 | 20-Dec-2007 |
apb | branches: 1.36.4; Pass NETBSDSRCDIR in the environment to make. This is insurance against Makefiles that should have an early .include <bsd.own.mk> but that fail to do so. It's also slightly more efficient.
|
1.35 | 15-May-2007 |
martti | branches: 1.35.4; /etc/services needs special attention.
|
1.34 | 26-Mar-2007 |
apb | * Make etcupdate's -s option accept a colon-separated list of tgz files. (It was already possible to use several -s options.) * Change man page to refer to "-s tgzdir" instead of "-s tempdir", to reduce confusion between tempdir and temproot. * Always use a temproot directory, even if passed "-s tgzdir". * Always invoke "postinstall check", even when not using a source dir. * Add a BUGS section saying that using -s srcdir is not recommended.
Reviewed by lukem and martti.
|
1.33 | 03-Mar-2007 |
apb | Revert previous. MAKEDEV.subr no longer exists.
|
1.32 | 01-Mar-2007 |
apb | If MAKEDEV.subr is updated, remember to run MAKEDEV later.
|
1.31 | 11-Feb-2007 |
apb | Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570.
|
1.30 | 11-Jan-2007 |
martti | Clean ${SRCDIR}/etc when done. Patch provided by rudolf. http://mail-index.netbsd.org/tech-toolchain/2007/01/11/0001.html
|
1.29 | 03-Sep-2006 |
itohy | branches: 1.29.2; Use "stty size" to acquire screen width reliably. The fields of the first line of "stty -a" is not fixed. Fix PR bin/32343.
|
1.28 | 26-Feb-2006 |
apb | Fix default handling. etcupdate with no "-s" flag should act like "etcupdate -s /usr/src". Approved by christos.
|
1.27 | 26-Feb-2006 |
apb | Typo in comment.
|
1.26 | 26-Feb-2006 |
apb | Pass BUILD=1 in make environment. Fixes PR 30385 from Rui Paulo. Approved by chrisros.
|
1.25 | 19-Feb-2006 |
apb | Wording changes to clarify some the options presented after a file is merged.
|
1.24 | 19-Feb-2006 |
apb | Fix errors in previous. I accidentally committed the wrong code.
|
1.23 | 18-Feb-2006 |
apb | Give etcupdate the ability to use etc.tgz and xetc.tgz.
* Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}. * Deprecate the "-b" flag. It is replaced by "-s tempdir". * Change "-s srcdir" to refer to the top of the source tree (e.g. /usr/src) instead of the etc subdirectory.
In etcupdate's interactive phase, enhance the "s" command to be able to invoke alternative diff commands.
Also some style changes.
Approved by christos
|
1.22 | 17-Apr-2005 |
lukem | Tweaks for the move of postinstall from /etc to /usr/sbin
|
1.21 | 12-Nov-2003 |
grant | branches: 1.21.4; 1.21.6; s/netbsd.org/NetBSD.org/i
|
1.20 | 06-Nov-2003 |
martti | Set ${MACHINE} and ${MACHINE_ARCH}.
|
1.19 | 14-Jul-2003 |
lukem | add MTREE=mtree back, for systems with some .mk version skew...
|
1.18 | 10-Jul-2003 |
lukem | Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables.
|
1.17 | 02-Apr-2003 |
atatat | Use awk instead of fgrep and sed, and default to 80 if we get something that is arithmetically equal to 0.
|
1.16 | 02-Apr-2003 |
perry | Automatically figure out how wide the terminal is with an ugly `stty | fgrep | sed` expression. Really, sdiff should figure this out by default but it does not.
|
1.15 | 02-Apr-2003 |
perry | set USETOOLS=never when doing make distribution, so that users don't have to set it themselves or set TOOLDIR to use etcupdate.
Closes PR install/19752 from Oliver Tonnhofer
|
1.14 | 02-Apr-2003 |
perry | Remove a NO_SENDMAIL=1 in the construction of the reference etc/ -- it was needlessly preventing the update of sendmail configs like submit.cf Should close PR misc/20968 from Martin Weber
|
1.13 | 02-Apr-2003 |
perry | Add a -l option telling etcupdate to skip any file who's RCS id has not been changed. (-l means "skip local modifications".) Code and documentation from Christopher Richards in PR bin/20200
|
1.12 | 03-Mar-2003 |
martti | Checksum files produced by "etcupdate -a" should not be stored in /etc as / might be a read-only filesystem (PR#20201).
|
1.11 | 01-Mar-2003 |
mrg | allow /etc/etcupdate.conf (and ~/.etcupdate.conf) to set IGNOREFILES to a list of files that etcupdate will ignore; never considering them for updating.
|
1.10 | 04-Feb-2003 |
martti | Use md5 instead of sum (bin/20196).
|
1.9 | 24-Jan-2003 |
martti | 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.
|
1.8 | 27-Dec-2002 |
jmmv | Fix a typo in the yesno() function: add a missing question mark. Approved by martti.
|
1.7 | 28-Sep-2002 |
martti | Don't execute /etc/postinstall if -b was used.
|
1.6 | 27-Sep-2002 |
grant | fix typo, from Julio Merino in bin/18440.
|
1.5 | 31-Jul-2002 |
mrg | fix usage() message for "-s" argument. ie, do *not* suggest "/usr/src" as this causes "make distribution" to be run in /usr/src.
|
1.4 | 08-Jul-2002 |
wiz | Fix typo reported in bin/17516.
|
1.3 | 15-May-2002 |
martti | branches: 1.3.2; Include user's PATH (pkg/16828 by HAMAJIMA Katsuomi)
|
1.2 | 13-May-2002 |
martti | Run /etc/postinstall if it's found
|
1.1 | 22-Mar-2002 |
martti | Added etcupdate (etcupdate-20020321 in pkgsrc)
|
1.3.2.6 | 28-Apr-2003 |
tron | Pull up revision 1.10 (requested by martti in ticket #1146): Use md5 instead of sum (bin/20196).
|
1.3.2.5 | 27-Jan-2003 |
jmc | Pullup revisions 1.8-1.9 (requested by martti in ticket #1116) Add a new -a flag (automatically update files which have not been locally modified).
|
1.3.2.4 | 05-Jan-2003 |
jmc | Pull up revisions 1.7-1.8 (requested by jmmv in ticket #1050) Fix a typo in the yesno() function: add a missing question mark.
|
1.3.2.3 | 13-Oct-2002 |
lukem | Pull up revision 1.7 (requested by martti in ticket #871): Don't execute /etc/postinstall if -b was used.
|
1.3.2.2 | 13-Oct-2002 |
lukem | Pull up revision 1.6 (requested by martti in ticket #871): fix typo, from Julio Merino in bin/18440.
|
1.3.2.1 | 02-Aug-2002 |
lukem | Pull up revisions 1.4-1.5 (requested by martti in ticket #602): 1.5: fix usage() message for "-s" argument. ie, do *not* suggest "/usr/src" as this causes "make distribution" to be run in /usr/src. 1.4: Fix typo reported in bin/17516.
|
1.21.6.10 | 11-May-2007 |
ghen | Pull up following revision(s) (requested by martti in ticket #1779): usr.sbin/etcupdate/etcupdate.8: revision 1.12 usr.sbin/etcupdate/etcupdate.8: revision 1.13 usr.sbin/etcupdate/etcupdate: revision 1.34 Xref etcupdate from postinstall, and vice versa. * Make etcupdate's -s option accept a colon-separated list of tgz files. (It was already possible to use several -s options.) * Change man page to refer to "-s tgzdir" instead of "-s tempdir", to reduce confusion between tempdir and temproot. * Always use a temproot directory, even if passed "-s tgzdir". * Always invoke "postinstall check", even when not using a source dir. * Add a BUGS section saying that using -s srcdir is not recommended. Reviewed by lukem and martti.
|
1.21.6.9 | 19-Feb-2007 |
tron | Pull up following revision(s) (requested by martti in ticket #1666): usr.sbin/etcupdate/etcupdate: revision 1.31 Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570.
|
1.21.6.8 | 12-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate: revision 1.29 - 1.30 Use "stty size" to acquire screen width reliably. The fields of the first line of "stty -a" is not fixed. Fix PR bin/32343. Clean ${SRCDIR}/etc when done. Patch provided by rudolf. http://mail-index.netbsd.org/tech-toolchain/2007/01/11/0001.html
|
1.21.6.7 | 01-Mar-2006 |
riz | branches: 1.21.6.7.2; Pull up following revision(s) (requested by apb in ticket #1185): usr.sbin/etcupdate/etcupdate: revision 1.27 Typo in comment.
|
1.21.6.6 | 01-Mar-2006 |
riz | Pull up following revision(s) (requested by apb in ticket #1185): usr.sbin/etcupdate/etcupdate: revision 1.26 Pass BUILD=1 in make environment. Fixes PR 30385 from Rui Paulo. Approved by chrisros.
|
1.21.6.5 | 01-Mar-2006 |
riz | Pull up following revision(s) (requested by apb in ticket #1184): usr.sbin/etcupdate/etcupdate: revision 1.28 Fix default handling. etcupdate with no "-s" flag should act like "etcupdate -s /usr/src". Approved by christos.
|
1.21.6.4 | 01-Mar-2006 |
riz | Pull up following revision(s) (requested by apb in ticket #1184): usr.sbin/etcupdate/etcupdate: revision 1.25 Wording changes to clarify some the options presented after a file is merged.
|
1.21.6.3 | 01-Mar-2006 |
riz | Pull up following revision(s) (requested by apb in ticket #1184): usr.sbin/etcupdate/etcupdate: revision 1.24 Fix errors in previous. I accidentally committed the wrong code.
|
1.21.6.2 | 01-Mar-2006 |
riz | Pull up following revision(s) (requested by apb in ticket #1184): usr.sbin/etcupdate/etcupdate: revision 1.23 usr.sbin/etcupdate/etcupdate.8: revision 1.11 Give etcupdate the ability to use etc.tgz and xetc.tgz. * Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}. * Deprecate the "-b" flag. It is replaced by "-s tempdir". * Change "-s srcdir" to refer to the top of the source tree (e.g. /usr/src) instead of the etc subdirectory. In etcupdate's interactive phase, enhance the "s" command to be able to invoke alternative diff commands. Also some style changes. Approved by christos
|
1.21.6.1 | 20-Apr-2005 |
tron | branches: 1.21.6.1.2; Pull up revision 1.22 (requested by lukem in ticket #168): Tweaks for the move of postinstall from /etc to /usr/sbin
|
1.21.6.7.2.2 | 19-Feb-2007 |
tron | Pull up following revision(s) (requested by martti in ticket #1666): usr.sbin/etcupdate/etcupdate: revision 1.31 Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570.
|
1.21.6.7.2.1 | 12-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate: revision 1.29 - 1.30 Use "stty size" to acquire screen width reliably. The fields of the first line of "stty -a" is not fixed. Fix PR bin/32343. Clean ${SRCDIR}/etc when done. Patch provided by rudolf. http://mail-index.netbsd.org/tech-toolchain/2007/01/11/0001.html
|
1.21.6.1.2.2 | 19-Feb-2007 |
tron | Pull up following revision(s) (requested by martti in ticket #1666): usr.sbin/etcupdate/etcupdate: revision 1.31 Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570.
|
1.21.6.1.2.1 | 19-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate: revision 1.23 - 1.30 usr.sbin/etcupdate/etcupdate.8: revision 1.11 - 1.12
sync etcupdate with HEAD. Fix install/30385 and bin/32343.
|
1.21.4.2 | 27-May-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #10953): usr.sbin/etcupdate/etcupdate: revision 1.31 via patch usr.sbin/etcupdate/etcupdate.8: patch Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570. Sync man page with HEAD.
|
1.21.4.1 | 19-Jan-2007 |
bouyer | Apply patch (requested by martti in ticket #10953): usr.sbin/etcupdate/etcupdate: patch Sync etcupdate(8) with current. Fix PR bin/32343.
|
1.29.2.4 | 23-May-2007 |
riz | Pull up following revision(s) (requested by martti in ticket #654): usr.sbin/etcupdate/etcupdate: revision 1.35 /etc/services needs special attention.
|
1.29.2.3 | 16-Apr-2007 |
bouyer | branches: 1.29.2.3.2; Pull up following revision(s) (requested by apb in ticket #571): usr.sbin/postinstall/postinstall.8: revision 1.6 usr.sbin/postinstall/postinstall: revision 1.39 usr.sbin/etcupdate/etcupdate.8: revision 1.13 usr.sbin/etcupdate/etcupdate: revision 1.34 Allow both etcupdate and postinstall to accept multiple .tgz files (e.g. etc.tgz and xetc.tgz). Make etcupdate invoke postinstall.
|
1.29.2.2 | 19-Feb-2007 |
riz | Pull up following revision(s) (requested by martti in ticket #440): usr.sbin/etcupdate/etcupdate: revision 1.31 Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570.
|
1.29.2.1 | 19-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #359): usr.sbin/etcupdate/etcupdate: revision 1.30 Clean ${SRCDIR}/etc when done. Patch provided by rudolf. http://mail-index.netbsd.org/tech-toolchain/2007/01/11/0001.html
|
1.29.2.3.2.1 | 04-Jun-2007 |
wrstuden | Update to today's netbsd-4.
|
1.35.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
1.36.4.1 | 18-May-2008 |
yamt | sync with head.
|
1.37.2.2 | 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.37.2.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.50.6.1 | 30-Oct-2012 |
yamt | sync with head
|
1.51.8.1 | 10-Aug-2014 |
tls | Rebase.
|
1.51.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.58.2.1 | 13-Nov-2014 |
snj | Pull up following revision(s) (requested by apb in ticket #225): usr.sbin/etcupdate/etcupdate: revision 1.59 Synchronise the "-s" part of the usage message with postinstall. A colon-separated list of tgz files is no longer accepted; you must use multiple -s options instead.
|
1.27 | 14-Jan-2022 |
lukem | etcupdate(8): consistent -h and -? text
|
1.26 | 09-Jan-2022 |
wiz | Match verb forms.
|
1.25 | 09-Jan-2022 |
lukem | etcupdate: add -? for help. improve option errors
Support -? to show help. Implemented using getopts "leading colon optstring" feature. Improve error messages for unknown options and missing arguments. Change usage-related errors from stdout to stderr. Keep all other errors to stdout for now.
|
1.24 | 09-Jan-2022 |
lukem | etcupdate: -h to stdout. improve help
Send -h help to stdout not stderr, and exit 0 not 1. Show options alphabetically. Use UPPER_CASE instead of lowercase as the convention for argument names.
|
1.23 | 21-Nov-2018 |
martin | A few hints that sets may come in .tar.xz format (instead of .tgz)
|
1.22 | 12-Jun-2014 |
apb | branches: 1.22.22; 1.22.24; Update date for previous, and fix some small errors.
|
1.21 | 12-Jun-2014 |
apb | Add "-d destdir" option to etcupdate. This has been only lightly tested.
|
1.20 | 15-Aug-2012 |
apb | branches: 1.20.2; 1.20.8; Remove the ability to specify multiple colon-separated file names with a single "-s" option. Multiple "-s" options must now be used instead. We have been printing a warning about this since 2008-09-14.
|
1.19 | 08-Dec-2009 |
mbalmer | branches: 1.19.6; s/the the/the/
|
1.18 | 04-Oct-2008 |
apb | In both postinstall and etcupdate, in modes where the -s argument refers to tgz files or to a directory in which tgz files have already been extracted, make it an error for the files that should have come from etc.tgz to be missing. This is intended to prevent users from accidentally deleting necessary files when they run "postinstall -s xetc.tgz fix".
Use the absence of .../etc/mtree/set.etc in the extracted directory as a test for the error case.
|
1.17 | 14-Sep-2008 |
apb | Remove options deprecated in NetBSD-4.0: * Remove "-b binarydir" option (use "-s binarydir" instead). * Remove "-s srcdir/etc" option (use "-s srcdir" instead).
Also document that "-s tgz1:tgz2" is merely deprecated, not removed (use "-s tgz1 -s tgz2" instead).
|
1.16 | 07-Sep-2008 |
apb | Document the change in meaning of "-s foo:bar". It now means a single file or directory nmed "foo:bar". If you want the old meaning, use "-s foo -s bar" instead.
|
1.15 | 30-Apr-2008 |
martin | branches: 1.15.2; Convert TNF licenses to new 2 clause variant
|
1.14 | 17-Mar-2008 |
reed | branches: 1.14.2; Document some about being able to view differences and toggling the different diff formats/tools.
|
1.13 | 26-Mar-2007 |
apb | branches: 1.13.4; 1.13.8; * Make etcupdate's -s option accept a colon-separated list of tgz files. (It was already possible to use several -s options.) * Change man page to refer to "-s tgzdir" instead of "-s tempdir", to reduce confusion between tempdir and temproot. * Always use a temproot directory, even if passed "-s tgzdir". * Always invoke "postinstall check", even when not using a source dir. * Add a BUGS section saying that using -s srcdir is not recommended.
Reviewed by lukem and martti.
|
1.12 | 11-Aug-2006 |
hubertf | branches: 1.12.2; Xref etcupdate from postinstall, and vice versa.
|
1.11 | 18-Feb-2006 |
apb | branches: 1.11.2; Give etcupdate the ability to use etc.tgz and xetc.tgz.
* Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}. * Deprecate the "-b" flag. It is replaced by "-s tempdir". * Change "-s srcdir" to refer to the top of the source tree (e.g. /usr/src) instead of the etc subdirectory.
In etcupdate's interactive phase, enhance the "s" command to be able to invoke alternative diff commands.
Also some style changes.
Approved by christos
|
1.10 | 02-Apr-2003 |
wiz | branches: 1.10.4; 1.10.6; 1.10.10; Some Bl improvements; drop trailing whitespace; don't comma-separate "a, and b"; mention arguments in option listing; list options in SYNOPSIS in default order (those without arguments first).
|
1.9 | 02-Apr-2003 |
perry | Massive cleanup of the document, although there is a lot more work to do still.
|
1.8 | 02-Apr-2003 |
perry | Add a -l option telling etcupdate to skip any file who's RCS id has not been changed. (-l means "skip local modifications".) Code and documentation from Christopher Richards in PR bin/20200
|
1.7 | 17-Mar-2003 |
wiz | New sentence, new line; bump date for recent changes.
|
1.6 | 03-Mar-2003 |
martti | Checksum files produced by "etcupdate -a" should not be stored in /etc as / might be a read-only filesystem (PR#20201).
|
1.5 | 01-Mar-2003 |
mrg | allow /etc/etcupdate.conf (and ~/.etcupdate.conf) to set IGNOREFILES to a list of files that etcupdate will ignore; never considering them for updating.
|
1.4 | 14-Feb-2003 |
grant | The correct capitalisation of 'NetBSD.org' is (you guessed it) 'NetBSD.org'.
some mdoc fixes.
|
1.3 | 24-Jan-2003 |
wiz | grammar fix.
|
1.2 | 24-Jan-2003 |
martti | 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.
|
1.1 | 22-Mar-2002 |
martti | branches: 1.1.2; Added etcupdate (etcupdate-20020321 in pkgsrc)
|
1.1.2.1 | 27-Jan-2003 |
jmc | Pullup revisions 1.1-1.3 (requested by martti in ticket #1116) Add a new -a flag (automatically update files which have not been locally modified).
|
1.10.10.1 | 19-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate: revision 1.23 - 1.30 usr.sbin/etcupdate/etcupdate.8: revision 1.11 - 1.12
sync etcupdate with HEAD. Fix install/30385 and bin/32343.
|
1.10.6.3 | 11-May-2007 |
ghen | Pull up following revision(s) (requested by martti in ticket #1779): usr.sbin/etcupdate/etcupdate.8: revision 1.12 usr.sbin/etcupdate/etcupdate.8: revision 1.13 usr.sbin/etcupdate/etcupdate: revision 1.34 Xref etcupdate from postinstall, and vice versa. * Make etcupdate's -s option accept a colon-separated list of tgz files. (It was already possible to use several -s options.) * Change man page to refer to "-s tgzdir" instead of "-s tempdir", to reduce confusion between tempdir and temproot. * Always use a temproot directory, even if passed "-s tgzdir". * Always invoke "postinstall check", even when not using a source dir. * Add a BUGS section saying that using -s srcdir is not recommended. Reviewed by lukem and martti.
|
1.10.6.2 | 13-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate.8: revision 1.12 Xref postinstall
|
1.10.6.1 | 01-Mar-2006 |
riz | branches: 1.10.6.1.2; Pull up following revision(s) (requested by apb in ticket #1184): usr.sbin/etcupdate/etcupdate: revision 1.23 usr.sbin/etcupdate/etcupdate.8: revision 1.11 Give etcupdate the ability to use etc.tgz and xetc.tgz. * Expand the "-s" flag to -s {srcdir|tgzfile|tempdir}. * Deprecate the "-b" flag. It is replaced by "-s tempdir". * Change "-s srcdir" to refer to the top of the source tree (e.g. /usr/src) instead of the etc subdirectory. In etcupdate's interactive phase, enhance the "s" command to be able to invoke alternative diff commands. Also some style changes. Approved by christos
|
1.10.6.1.2.1 | 13-Jan-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #1630): usr.sbin/etcupdate/etcupdate.8: revision 1.12 Xref postinstall
|
1.10.4.1 | 27-May-2007 |
bouyer | Pull up following revision(s) (requested by martti in ticket #10953): usr.sbin/etcupdate/etcupdate: revision 1.31 via patch usr.sbin/etcupdate/etcupdate.8: patch Run pwd_mkdb before running mtree. Reported by Hauke Fath in PR 35570. Sync man page with HEAD.
|
1.11.2.1 | 02-Sep-2006 |
tron | Pull up following revision(s) (requested by hubertf in ticket #98): usr.sbin/postinstall/postinstall.8: revision 1.4 usr.sbin/etcupdate/etcupdate.8: revision 1.12 Xref etcupdate from postinstall, and vice versa.
|
1.12.2.1 | 16-Apr-2007 |
bouyer | Pull up following revision(s) (requested by apb in ticket #571): usr.sbin/postinstall/postinstall.8: revision 1.6 usr.sbin/postinstall/postinstall: revision 1.39 usr.sbin/etcupdate/etcupdate.8: revision 1.13 usr.sbin/etcupdate/etcupdate: revision 1.34 Allow both etcupdate and postinstall to accept multiple .tgz files (e.g. etc.tgz and xetc.tgz). Make etcupdate invoke postinstall.
|
1.13.8.1 | 24-Mar-2008 |
keiichi | sync with head.
|
1.13.4.1 | 23-Mar-2008 |
matt | sync with HEAD
|
1.14.2.1 | 18-May-2008 |
yamt | sync with head.
|
1.15.2.2 | 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.15.2.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.19.6.1 | 30-Oct-2012 |
yamt | sync with head
|
1.20.8.1 | 10-Aug-2014 |
tls | Rebase.
|
1.20.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.22.24.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.22.22.1 | 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|