pkgsrc/sysutils/etckeeper/patches/patch-etckeeper.conf
schmonz 3d1b11e708 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.
2017-05-20 01:05:05 +00:00

20 lines
718 B
Text

$NetBSD: patch-etckeeper.conf,v 1.3 2017/05/20 01:05:05 schmonz Exp $
Make pkg_install the package manager.
--- etckeeper.conf.orig 2016-07-17 23:01:39.000000000 +0000
+++ etckeeper.conf
@@ -33,11 +33,11 @@ DARCS_COMMIT_OPTIONS="-a"
# The high-level package manager that's being used.
# (apt, pacman, pacman-g2, yum, dnf, zypper etc)
-HIGHLEVEL_PACKAGE_MANAGER=apt
+HIGHLEVEL_PACKAGE_MANAGER=pkg_add
# The low-level package manager that's being used.
# (dpkg, rpm, pacman, pacmatic, pacman-g2, etc)
-LOWLEVEL_PACKAGE_MANAGER=dpkg
+LOWLEVEL_PACKAGE_MANAGER=pkg_install
# To push each commit to a remote, put the name of the remote here.
# (eg, "origin" for git). Space-separated lists of multiple remotes