summaryrefslogtreecommitdiff
path: root/pcr/etckeeper
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/etckeeper
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/etckeeper')
-rw-r--r--pcr/etckeeper/PKGBUILD42
-rw-r--r--pcr/etckeeper/etckeeper-archlinux.conf38
-rw-r--r--pcr/etckeeper/etckeeper-pacman.patch9
3 files changed, 0 insertions, 89 deletions
diff --git a/pcr/etckeeper/PKGBUILD b/pcr/etckeeper/PKGBUILD
deleted file mode 100644
index 09a5d4d15..000000000
--- a/pcr/etckeeper/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): Buce <dmbuce@gmail.com>
-# Contributor: Danie Roux <accounts@danieroux.com>
-# Contributor: Diogo Leal <estranho@diogoleal.com>
-
-pkgname=etckeeper
-pkgver=1.4
-pkgdesc="Collection of tools to let /etc be stored in a git, hg, bzr or darcs repository."
-url="http://joeyh.name/code/etckeeper/"
-license=('GPL2')
-
-pkgrel=1
-arch=('any')
-depends=('inetutils' 'python2')
-makedepends=('bzr') # bzr must be there at compile time to have bzr support
-optdepends=('git' 'hg' 'bzr' 'darcs')
-backup=(etc/etckeeper/etckeeper.conf)
-source=("libre://$pkgname-$pkgver.tar.gz" $pkgname-pacman.patch $pkgname-archlinux.conf)
-
-mksource=("$pkgname-$pkgver::git://git.kitenet.net/$pkgname#tag=${pkgver}")
-mkmd5sums=('SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # add pacman support to `list-installed`
- patch -p0 -i "${srcdir}/${pkgname}-pacman.patch"
-
- # use python2
- sed -i 's@^#!/usr/bin/python$@&2@' etckeeper-bzr/__init__.py
- make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" DESTDIR="$pkgdir" install
-}
-
-md5sums=('74be692fdb2d3352324e9332a270635d'
- 'f1f00bf9331d1ef7f29b0ac29cdfcbda'
- '99d8d2838f49fa0f2f21c9e37948100d')
diff --git a/pcr/etckeeper/etckeeper-archlinux.conf b/pcr/etckeeper/etckeeper-archlinux.conf
deleted file mode 100644
index 83e2c577d..000000000
--- a/pcr/etckeeper/etckeeper-archlinux.conf
+++ /dev/null
@@ -1,38 +0,0 @@
-# The VCS to use.
-#VCS="hg"
-VCS="git"
-#VCS="bzr"
-#VCS="darcs"
-
-# Options passed to git commit when run by etckeeper.
-GIT_COMMIT_OPTIONS=""
-
-# Options passed to hg commit when run by etckeeper.
-HG_COMMIT_OPTIONS=""
-
-# Options passed to bzr commit when run by etckeeper.
-BZR_COMMIT_OPTIONS=""
-
-# Options passed to darcs record when run by etckeeper.
-DARCS_COMMIT_OPTIONS="-a"
-
-# Uncomment to avoid etckeeper committing existing changes
-# to /etc automatically once per day.
-#AVOID_DAILY_AUTOCOMMITS=1
-
-# Uncomment the following to avoid special file warning
-# (the option is enabled automatically by cronjob regardless).
-#AVOID_SPECIAL_FILE_WARNING=1
-
-# Uncomment to avoid etckeeper committing existing changes to
-# /etc before installation. It will cancel the installation,
-# so you can commit the changes by hand.
-#AVOID_COMMIT_BEFORE_INSTALL=1
-
-# The high-level package manager that's being used.
-# (apt, pacman-g2, yum etc)
-HIGHLEVEL_PACKAGE_MANAGER=pacman
-
-# The low-level package manager that's being used.
-# (dpkg, rpm, pacman-g2, etc)
-LOWLEVEL_PACKAGE_MANAGER=pacman
diff --git a/pcr/etckeeper/etckeeper-pacman.patch b/pcr/etckeeper/etckeeper-pacman.patch
deleted file mode 100644
index 1fb4acb62..000000000
--- a/pcr/etckeeper/etckeeper-pacman.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- list-installed.d/50list-installed.orig 2012-10-21 23:45:30.000000000 -0400
-+++ list-installed.d/50list-installed 2012-10-21 23:45:39.000000000 -0400
-@@ -7,4 +7,6 @@
- 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
-+ { pacman -Qd|sed 's/.*/& (dep)/'; pacman -Qe|sed 's/.*/& (explicit)/'; } |sort
- fi