Up to [cvs.NetBSD.org] / pkgsrc / sysutils / etckeeper
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update to 1.18.18. From the changelog: 1.18.18: - Replace deprecated egrep with grep -E. Thanks, Sam James - Added support for Void Linux's xbps package manager. Thanks, Zev Weiss. 1.18.17: - Fix committing of files with spaces in name when perl is not available. Thanks, Henrik Riomar - Ignore udev's FHS violating large binary cache file /etc/udev/hwdb.bin - Avoid warning messages from grep about binary files when there are filenames in /etc that do not correspond to the current locale settings. Thanks, thm pkgsrc changes: - Adjust installed bash-completion location to match other packages - Use MAKE_DIRS instead of OWN_DIRS so unchanged files are uninstalled - Take MAINTAINER
Update to 1.18.16. From the changelog: * Improve sorting stability. * Prefer mktemp over tempfile as the latter displays a deprecation warning since debianutils 4.10. Thanks, Luke Mlsna. * Use "command -v" rather than "which" to detect installed programs, as it is more portable. Thanks, Eli Schwartz. * Improve commit messages generated by package manager changes, listing packages that are responsible for the changed config files. Thanks to emkael for the patch. * If gc.auto is not configured, override the default to make it gc ten times more frequently, to avoid wasting space with loose objects. * update-ignore: Preserve permissions from any preexisting VCS ignore file. Thanks, Austin Chu. * Removed the debian directory from the upstream source package as it's not being maintained; see the debian package for an up-to-date one. * debian/changelog moved to CHANGELOG and debian/copyright to COPYRIGHT.
Sort PLIST.
Update to 1.18.14. From the changelog: * pacman 5.2 deprecated File hooks, use Path. Thanks, Christian Hesse * Added zsh completion. Thanks, James Rowe * commit: Recent changes added code that does not work on all POSIX shells. Fixed by Thorsten Glaser. pkgsrc changes: - Install the daily script called from libexec/etckeeper.daily - Do our SUBSTing as the do-configure phase - Better match other package managers in "etckeeper list-installed"
etckeeper: fix PLIST
Sort PLIST files. Unsorted entries in PLIST files have generated a pkglint warning for at least 12 years. Somewhat more recently, pkglint has learned to sort PLIST files automatically. Since pkglint 5.4.23, the sorting is only done in obvious, simple cases. These have been applied by running: pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
Update to 1.15. From the changelog: * Recommend cron-daemon, rather than cron, as etckeeper only needs cron.daily functionality. Closes: #762721 * Handle failure to commit in post-install, pre-install by showing a warning, rather than propigating the error to apt. This avoids breaking the apt run when eg, git is misconfigured and cannot commit. pre-install already did this when it was able to use debconf to display a message, but now debconf is not used, and it always behaves this way. Closes: #760011 * Ignore check-mk-agent-logwatch's FHS violating /etc/check_mk/logwatch.state. Closes: #753903 * Only allow [-a-z_] in etckeeper commands to avoid any possible directory traversal etc issues. * update-ignore, uninit: Fix parsing of ignore files containing '\' * Portability fixes. Thanks, Harald Dunkel. * Add support for pushing to multiple remote repositories. Thanks, Rouben. * Fix handling of git ignores like dir/* Thanks, Pim van den Berg * Fix too broad matching of .gitignored files. Closes: #732339 * Remove lvm/backup from default ignores, because lvm documentation recommends backing that up, for use by vgcfgrestore. * Fix exporting of some git variables. Closes: #728583 * Fix git update-ignore syntax. Closes: #721873 * Avoid listing .gitignored files in .etckeeper file. Closes: #607665 Thanks, Zdenek Crha * Fix hilarious typo hardcoding my name. Closes: #718425 * Guard git config calls. Closes: #717957 * Quote user and group names, in case one contains a space. * Added support for the pacman package manager. (Thanks, Tiago Stürmer Daitx) * Use user.name and user.email from the .gitconfig file belonging to the user who sued or sudoed to root, in preference to making up values for that user. * cron.daily: Fix typo in stale lockfile handling code. Closes: #717908 * Deal with unix^wlinux portability nonsense.
Add sysutils/etckeeper version 1.3 etckeeper is a collection of tools to let /etc be stored in a git, mercurial, darcs, or bzr repository. It hooks into apt (and other package managers including yum and pacman-g2) to automatically commit changes made to /etc during package upgrades. It tracks file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. It's quite modular and configurable, while also being simple to use if you understand the basics of working with revision control.