summaryrefslogtreecommitdiffstats
path: root/abs/core/certmaster/PKGBUILD
blob: 3ce72f772cfaf6d5e520f4ebfe3dc75cb9230eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
pkgname=certmaster
pkgver=0.28
pkgrel=1
pkgdesc="certmaster"
url="https://fedorahosted.org/certmaster/ "
license="gpl"
depends=(pyopenssl)
makedepends=()
conflicts=()
replaces=()
moddir="pkg/usr/lib/python2.6/site-packages/func/minion/modules/"
backup=('etc/certmaster/certmaster.conf' 'etc/certmaster/minion.conf')

install=certmaster.install
source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf acl_fix_fstab.py logrotate-certmaster.conf)
arch=('i686')

build() {
	cd $startdir/src/$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 -m755 -D logrotate-certmaster.conf $startdir/pkg/etc/logrotate.d/certmaster.conf
	install -m755 -D acl_fix_fstab.py $startdir/pkg/usr/MythVantage/bin/acl_fix_fstab.py
	mkdir -p  $startdir/pkg/var/log/certmaster
        cd $startdir/pkg
        find ./ -name "*.pyc" -print | xargs rm -f
}
md5sums=('f5acc9ff1efa34971296e26d794c5b35'
         '953ff601e5381b457383e7a3c4928192'
         'be7bd532ae103ab3c0048980314b4fd9'
         '214e34c095f6f29277197a2a6666f8b2'
         '6bc28ccd331a6c4c05e0a9c9755a848f')