summaryrefslogtreecommitdiffstats
path: root/abs/core/certmaster
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-09-16 17:15:08 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-09-16 17:15:08 (GMT)
commitab7fa7b3c11b2cf1cfe49cb66149ef3d0d67b6b7 (patch)
tree484672f3eb8f3d85e2339250048bc5fce4b727c0 /abs/core/certmaster
parentd6560b4da709f229d12c7eec7c088b50f0b474db (diff)
downloadlinhes_pkgbuild-ab7fa7b3c11b2cf1cfe49cb66149ef3d0d67b6b7.zip
linhes_pkgbuild-ab7fa7b3c11b2cf1cfe49cb66149ef3d0d67b6b7.tar.gz
linhes_pkgbuild-ab7fa7b3c11b2cf1cfe49cb66149ef3d0d67b6b7.tar.bz2
linhes-scripts: remove acl_fix.fstab.py as it isn't needed in R8.
Remove linhes-scripts as a dep from LinHES-system, certmaster, e16_theme_settings and wmaker_settings as acl_fix_fstab.py was the reason for the dep.
Diffstat (limited to 'abs/core/certmaster')
-rw-r--r--abs/core/certmaster/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/abs/core/certmaster/PKGBUILD b/abs/core/certmaster/PKGBUILD
index 0c2bb91..85cb0f1 100644
--- a/abs/core/certmaster/PKGBUILD
+++ b/abs/core/certmaster/PKGBUILD
@@ -1,10 +1,10 @@
pkgname=certmaster
pkgver=0.28
-pkgrel=3
+pkgrel=4
pkgdesc="certmaster"
url="https://fedorahosted.org/certmaster/ "
license="gpl"
-depends=('pyopenssl' 'linhes-scripts>=7-24' )
+depends=('pyopenssl')
makedepends=()
conflicts=()
replaces=()
@@ -16,17 +16,20 @@ source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf logrotate-certmaster
arch=('i686' 'x86_64')
build() {
- cd $startdir/src/$pkgname-${pkgver}
+ cd $srcdir/$pkgname-${pkgver}
python setup.py build
- python setup.py install --prefix=$startdir/pkg/usr
- cd $startdir/src
- install -m755 -D minion.conf $startdir/pkg/etc/certmaster/minion.conf
- install -m755 -D certmaster.conf $startdir/pkg/etc/certmaster/certmaster.conf
- install -m644 -D logrotate-certmaster.conf $startdir/pkg/etc/logrotate.d/certmaster
- mkdir -p $startdir/pkg/var/log/certmaster
- cd $startdir/pkg
- find ./usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \;
- find ./ -name "*.pyc" -print | xargs rm -f
+ python setup.py install --prefix=$pkgdir/usr
+}
+
+package() {
+ cd $srcdir
+ install -m755 -D minion.conf $pkgdir/etc/certmaster/minion.conf
+ install -m755 -D certmaster.conf $pkgdir/etc/certmaster/certmaster.conf
+ install -m644 -D logrotate-certmaster.conf $pkgdir/etc/logrotate.d/certmaster
+ mkdir -p $pkgdir/var/log/certmaster
+ cd $pkgdir
+ find $pkgdir/usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \;
+ find $pkgdir/ -name "*.pyc" -print | xargs rm -f
}
md5sums=('f5acc9ff1efa34971296e26d794c5b35'
'953ff601e5381b457383e7a3c4928192'