From 1f21fbe26dfbc982492c8b7b90f3758a910f113d Mon Sep 17 00:00:00 2001 From: William Johansson Date: Fri, 24 Apr 2015 20:22:51 +0200 Subject: Initial FreeBSD support with pkgng plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a basic pkgng plugin as a preparation to integrate etckeeper on FreeBSD. Currently not enabled to build automatically. To use on FreeBSD, install etckeeper manually and install the plugin with: $ cd pkgng $ make $ make install and add this line to /usr/local/etc/pkg.conf: PLUGINS [ etckeeper ] --- list-installed.d/50list-installed | 2 ++ 1 file changed, 2 insertions(+) (limited to 'list-installed.d') diff --git a/list-installed.d/50list-installed b/list-installed.d/50list-installed index 2ac569a..4a8ce70 100755 --- a/list-installed.d/50list-installed +++ b/list-installed.d/50list-installed @@ -17,5 +17,7 @@ else rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pacman ]; then pacman -Q + elif [ "$LOWLEVEL_PACKAGE_MANAGER" = pkgng ]; then + pkg info -E "*" fi fi -- cgit v1.2.3