head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.28 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.26 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.24 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.22 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.20 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.18 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.16 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.14 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.12 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.10 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.8 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.6 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.4 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.2 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.4.0.6 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.4 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.2 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.3.0.12 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.10 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.8 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.6 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.4 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.2 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.2.0.24 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.4 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.26 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.22 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.20 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.18 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.16 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.14 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.12 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.10 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.8 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.6 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.2 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.1.0.32 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.30 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.28 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.26 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.24 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.22 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.20 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.18 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.16 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.14 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.12 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.10 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.8 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.6 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2022.12.22.13.40.10; author schmonz; state Exp; branches; next 1.4; commitid tnYLYyZkYMVJCy6E; 1.4 date 2021.12.31.10.04.24; author schmonz; state Exp; branches; next 1.3; commitid 187v0FSvtcXbSMmD; 1.3 date 2020.09.17.08.50.01; author schmonz; state Exp; branches; next 1.2; commitid Ug7MQS7gGpKkznoC; 1.2 date 2017.05.20.01.05.05; author schmonz; state Exp; branches; next 1.1; commitid GQnwMVF2Q4Fc54Sz; 1.1 date 2013.05.27.08.36.00; author sbd; state Exp; branches; next ; commitid q4rO7zq4Q7bzjfRw; desc @@ 1.5 log @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 @ text @$NetBSD: patch-list-installed.d_50list-installed,v 1.4 2021/12/31 10:04:24 schmonz Exp $ Add pkg_install support. --- list-installed.d/50list-installed.orig 2022-09-08 16:13:15.000000000 +0000 +++ list-installed.d/50list-installed @@@@ -15,9 +15,11 @@@@ else # Output to stdout a *sorted* list of all currently installed # (or removed but still with config-files) packages, in the # format "package version\n" (or something similar). - if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then + if [ "$LOWLEVEL_PACKAGE_MANAGER" = pkg_install ]; then + pkg_info -a -I | awk '{print $1}' | sed -e 's|\(.*\)-|\1 |' | sort + elif [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then dpkg-query -W -f '${Status}\t${Package} ${Version} ${Architecture}\n' | \ - grep -E '(ok installed|ok config-files)' | cut -f2,3 + @@EGREP@@ '(ok installed|ok config-files)' | cut -f2,3 elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacman ]; then @ 1.4 log @Use ${EGREP} instead of whatever "egrep" happens to be at runtime. Fixes "etckeeper init" on Solaris 11. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-list-installed.d_50list-installed,v 1.3 2020/09/17 08:50:01 schmonz Exp $ d5 1 a5 1 --- list-installed.d/50list-installed.orig 2020-01-22 13:59:54.000000000 +0000 d7 1 a7 1 @@@@ -10,9 +10,11 @@@@ else d16 1 a16 1 - egrep '(ok installed|ok config-files)' | cut -f2,3 @ 1.3 log @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" @ text @d1 1 a1 1 $NetBSD: patch-list-installed.d_50list-installed,v 1.2 2017/05/20 01:05:05 schmonz Exp $ d7 1 a7 1 @@@@ -10,7 +10,9 @@@@ else d16 2 a17 1 egrep '(ok installed|ok config-files)' | cut -f2,3 d19 2 @ 1.2 log @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. @ text @d1 1 a1 1 $NetBSD: patch-list-installed.d_50list-installed,v 1.1 2013/05/27 08:36:00 sbd Exp $ d5 1 a5 1 --- list-installed.d/50list-installed.orig 2016-07-17 23:01:39.000000000 +0000 d13 1 a13 1 + pkg_info -a -I | awk '{print $1}' | sort @ 1.1 log @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. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- list-installed.d/50list-installed.orig 2011-02-22 20:19:36.000000000 +0000 d7 11 a17 11 @@@@ -2,7 +2,9 @@@@ # Output to stdout a *sorted* list of all currently installed # (or removed but still with config-files) packages, in the # format "package version\n" (or something similar). -if [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then +if [ "$LOWLEVEL_PACKAGE_MANAGER" = pkg_install ]; then + pkg_info -a -I | awk '{print $1}' | sort +elif [ "$LOWLEVEL_PACKAGE_MANAGER" = dpkg ]; then dpkg-query -W -f '${Status}\t${Package} ${Version}\n' | \ egrep '(ok installed|ok config-files)' | cut -f2,3 elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then @