summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Jochmaring2015-11-15 16:18:02 +0100
committerJonas Jochmaring2015-11-15 16:18:02 +0100
commit2c3afacb42f02fdceba585597774691b69f2051d (patch)
treef1bfd3e06ce453ce703e21f47a108aaa3628480e
parent8747c3168fe3ad7f4d3e70de38b621f3d05c5c9a (diff)
downloadaur-2c3afacb42f02fdceba585597774691b69f2051d.tar.gz
added optdepends needed for bcfg2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e92734e735d..16e02ee09f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bcfg2
pkgdesc = Configuration management tool.
pkgver = 1.3.6
- pkgrel = 1
+ pkgrel = 2
url = http://bcfg2.org
arch = i686
arch = x86_64
@@ -11,6 +11,10 @@ pkgbase = bcfg2
depends = python2-lxml
depends = python2-lockfile
depends = python2-daemon
+ optdepends = gamin: autodetect changes without bcfg2 server restart (only one needed)
+ optdepends = python2-pyinotify: autodetect changes without bcfg2 server restart (only one needed)
+ optdepends = python2-genshi: Genshi templating plugin
+ optdepends = python2-cheetah: Cheetah templating plugin
source = ftp://ftp.mcs.anl.gov/pub/bcfg/bcfg2-1.3.6.tar.gz
md5sums = 07065402dc1ae4525894fdb148c1b668
diff --git a/PKGBUILD b/PKGBUILD
index c2f5212cf23..63e3ac2614e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,23 +4,27 @@
pkgname=bcfg2
pkgver=1.3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Configuration management tool."
url="http://bcfg2.org"
license=('BSD')
arch=('i686' 'x86_64')
depends=('python2' 'python2-setuptools' 'python2-lxml' 'python2-lockfile' 'python2-daemon')
+optdepends=('gamin: autodetect changes without bcfg2 server restart (only one needed)'
+ 'python2-pyinotify: autodetect changes without bcfg2 server restart (only one needed)'
+ 'python2-genshi: Genshi templating plugin'
+ 'python2-cheetah: Cheetah templating plugin')
source=("ftp://ftp.mcs.anl.gov/pub/bcfg/${pkgname}-${pkgver}.tar.gz")
md5sums=('07065402dc1ae4525894fdb148c1b668')
build() {
- cd $srcdir/$pkgname-$pkgver
- python2 setup.py build
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py build
}
package() {
cd $srcdir/$pkgname-$pkgver
- python2 setup.py install --root=$pkgdir
+ python2 setup.py install --root=$pkgdir
install -d $pkgdir/usr/lib/systemd/system
install -m 644 redhat/systemd/bcfg2-server.service $pkgdir/usr/lib/systemd/system
install -m 644 redhat/systemd/bcfg2.service $pkgdir/usr/lib/systemd/system