summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-04-15 22:57:46 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-04-15 22:57:46 (GMT)
commit3c5c91e8f9f7730149149b600bc64aae88dd0a30 (patch)
tree78998119187a07eb80e559ad1750cf7864e0b97e /abs/core
parentfdc17c0ee008b1c7a7922622335eae37a1566f81 (diff)
downloadlinhes_pkgbuild-3c5c91e8f9f7730149149b600bc64aae88dd0a30.zip
linhes_pkgbuild-3c5c91e8f9f7730149149b600bc64aae88dd0a30.tar.gz
linhes_pkgbuild-3c5c91e8f9f7730149149b600bc64aae88dd0a30.tar.bz2
certmaster: change to TLSv1.2 protocol for SSL
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/certmaster/PKGBUILD8
-rw-r--r--abs/core/certmaster/certmaster.install2
2 files changed, 6 insertions, 4 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'
diff --git a/abs/core/certmaster/certmaster.install b/abs/core/certmaster/certmaster.install
index b30f7ee..d22b6d7 100644
--- a/abs/core/certmaster/certmaster.install
+++ b/abs/core/certmaster/certmaster.install
@@ -13,7 +13,7 @@ post_install() {
then
mkdir -p /var/log/certmaster
fi
- /usr/LH/bin/acl_fix_fstab.py
+# /usr/LH/bin/acl_fix_fstab.py
mount -o remount /
if [ ! -e /etc/pki/certmaster/ca ]
then