Up to [cvs.NetBSD.org] / pkgsrc / sysutils / etckeeper
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
etckeeper: update to 1.18.23. Changes: * Fix determining command line for commit log when using some package managers like pacman and zypper. * Fix bug in xbps support when generating commit message. Thanks, Alexander Karelas * Include cron.daily back in etckeeper. * Makefile: Install cron.daily on debian based systems. * cron.daily: Avoid doing anything when etckeeper.timer is enabled.
etckeeper: update to 1.18.22. Changes:
* Add /etc/cups/printers.conf{,.0} to ignore list
etckeeper: fix commit on many platforms. Bump PKGREVISION.
etckeeper: update to 1.18.21. Changes: * Consistently use mktemp if available, falling back to tempfile otherwise.
Update to 1.18.20. From the changelog: * Added support for Gentoo (emerge, qlist, and cave) * Skip running pre-commit hook inside linked worktrees, to avoid it updating .etckeeper with the permissions of files not in /etc. * commit: Run bzr with --quiet, since it outputs non-errors to stderr. Closes: #1018874
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
Fix a missing EGREP subst. While here, subst PERL5 too. Bump PKGREVISION.
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.
Use ${EGREP} instead of whatever "egrep" happens to be at runtime. Fixes
"etckeeper init" on Solaris 11. Bump PKGREVISION.
sysutils: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
sysutils: Remove SHA1 hashes for distfiles
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"
Update to 1.18.12 (during the freeze, for the bugfixes). From the changelog: * Support platforms without a hostname command, fall back to reading /etc/hostname. Thanks, Chris Morgan * commit: Support -mmessage, without a space, since eg git commit can be used that way. Thanks, martin f. krafft * commit: When multiple parameters are given, use them all as the commit message, instead of the old behavior of only using the first parameter and throwing the rest away. Thanks, martin f. krafft
(sysutils/etckeeper) Updated from 1.18.8 to 1.18.10
(from debian/changelog)
etckeeper (1.18.10) unstable; urgency=medium
* Avoid post-install failing when ps is from busybox or another
version not supporting procps-specific options.
* Use ps --no-headers rather than problimatic -h option.
-- Joey Hess <id@joeyh.name> Sun, 23 Dec 2018 13:05:44 -0400
etckeeper (1.18.9) unstable; urgency=medium
* When run during a package installation, include in the commit
message the command line that caused etckeeper to run.
Thanks, Laszlo Gombos
-- Joey Hess <id@joeyh.name> Wed, 12 Dec 2018 01:01:05 -0400
Update to 1.18.8. From the changelog: * Work around git commit's lack of robustness, by providing reasonable default values for GIT_COMMITTER_EMAIL etc. This was already done as part of the su/sudo handling, and is now always done. * Don't hardcode the master branch when pushing to PUSH_REMOTE. Instead, let git push whatever branches it is configured to push to that remote. * Added some unit tests. Thanks, Henrik Riomar. * etckeeper will work on systems that do not have perl installed. (perl is still used when available as it's faster) Thanks, William Johansson and radhus. * Prevent LC_ALL overriding the LC_COLLATE used to sort metadata. * Only show errors (no progress indicators) when pushing Git/Mercurial repos to avoid unncessary cron mails. Thanks, Nils Steinger. * Fix regex in 20-warn-problem-files. * Added support for apk (alpine linux) Thanks, Henrik Riomar.
Revert patch to "be silent if there's nothing to commit." Upstream recommends using `etckeeper unclean` to determine if there are any changes in need of committing, which works with every VCS that etckeeper supports. Bump PKGREVISION.
Be silent if there's nothing to commit. From Nathan Arthur in private mail.
Update to 1.18.5.1. From the changelog:
* New upstream release:
* merged Makefile patch
* update standards version, no change
* Remove pre-compiled .pyc for bzr plugin from Debian package,
and add python:Depends to Depends so that dh_python2 will install
maintainer script snippets. Unfortunately, this adds a completely
unnecessary dependency on python, which etckeeper does not need in
normal operation.
* Make etckeeper commit store metadata changes. The pre-commit
hook has always (and continues) to do that, but pre-commit is only
run when there are changes to tommit. This makes metadata-only
changes get committed.
* Move systemd files to /lib/systemd; /usr/lib/systemd is not used
on Debian.
* Optimised find for special and hard linked files.
Thanks, Rike-Benjamin Schuppner.
* Adjust when Pacman 5 calls etckeeper hooks.
Thanks, Tilman Blumenbach and Christian Hesse.
* Only run Pacman hooks when files in /etc have changed.
Thanks, Christian Hesse.
* Added systemd timer that can run etckeeper 10 minutes after boot, and also
daily. It's not enabled by default, partly because of overlap with the
cron job.
Thanks, Christian Hesse.
* Added support for pacmatic, contributed by nicolaichuk.
* bzr: make sure EMAIL is defined
Thanks, Serge E. Hallyn
* Fix Makefile version patterns to ignore non-native version number
(Antoine Beaupré)
* Support ~/.config/git/config when determining the author name and email.
Thanks, Richard Savio
* Added support for Arch's pacman package manager version 5.
Thanks, Tilman Blumenbach.
* Set HOME if it's not set, as is the case when using ubuntu's
update-manager.
* Move bash completion out of etc and into usr.
* Prepare upload to Debian unstable
* Fix Makefile version patterns to ignore non-native version number
* Fix lintian warnings:
* remove .pyc files on build
* install bash completions in standard location
* ignore missing debian/config file, we ask only on purge on purpose
* ignore full path for /usr/bin/etckeeper, we use it to stash it for
later
* Update to standards 3.9.6, no change
* Remove obsolete XS-Python-Version field
* Run debconf-updatepo, outdating a bunch of translations
* Use getent utility instead of perl. (Elan Ruusamäe)
* Initial FreeBSD support with pkgng plugin. (William Johansson)
* Fix README.md symlink in package (Sebastian Schmidt, Antoine Beaupré,
closes: #791566)
* Fix typo of GIT_COMMITTER_EMAIL.
* Update git URL in control file.
* Send yum pre-commit output to /dev/null
Thanks, Andrew Colin Kissa
* Set LANG=C internally when doing some operations that have
been reported to fail in other locales.
* Fix name of DNF plugin.
* Add --version
Thanks Andreas Wansner.
* New website, http://etckeeper.branchable.com/
* Add build-depends on dh-python.
* Added support for Fedora's DNF highlevel package manager.
Thanks, Peter Listiak and Petr Spacek.
* Add architecture info to dpkg list-installed. Closes: #768145
* Orphaned the Debian package.
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 SHA512 digests for distfiles for sysutils category Problems found with existing digests: Package memconf distfile memconf-2.16/memconf.gz b6f4b736cac388dddc5070670351cf7262aba048 [recorded] 95748686a5ad8144232f4d4abc9bf052721a196f [calculated] Problems found locating distfiles: Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9 Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
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.