summaryrefslogtreecommitdiffstats
path: root/abs/core/certmaster/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/certmaster/PKGBUILD')
-rw-r--r--abs/core/certmaster/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/core/certmaster/PKGBUILD b/abs/core/certmaster/PKGBUILD
index 85cb0f1..0b8458b 100644
--- a/abs/core/certmaster/PKGBUILD
+++ b/abs/core/certmaster/PKGBUILD
@@ -1,10 +1,10 @@
pkgname=certmaster
pkgver=0.28
-pkgrel=4
+pkgrel=5
pkgdesc="certmaster"
url="https://fedorahosted.org/certmaster/ "
license="gpl"
-depends=('pyopenssl')
+depends=('python2-pyopenssl')
makedepends=()
conflicts=()
replaces=()
@@ -18,10 +18,11 @@ arch=('i686' 'x86_64')
build() {
cd $srcdir/$pkgname-${pkgver}
python setup.py build
- python setup.py install --prefix=$pkgdir/usr
}
package() {
+ cd $srcdir/$pkgname-${pkgver}
+ python setup.py install --prefix=$pkgdir/usr
cd $srcdir
install -m755 -D minion.conf $pkgdir/etc/certmaster/minion.conf
install -m755 -D certmaster.conf $pkgdir/etc/certmaster/certmaster.conf
@@ -30,6 +31,7 @@ package() {
cd $pkgdir
find $pkgdir/usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \;
find $pkgdir/ -name "*.pyc" -print | xargs rm -f
+ find $pkgdir/usr/lib/* -exec sed -i 's|SSLv3_METHOD|TLSv1_2_METHOD|' {} \;
}
md5sums=('f5acc9ff1efa34971296e26d794c5b35'
'953ff601e5381b457383e7a3c4928192'