From 3c5c91e8f9f7730149149b600bc64aae88dd0a30 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 15 Apr 2016 22:57:46 +0000 Subject: certmaster: change to TLSv1.2 protocol for SSL --- abs/core/certmaster/PKGBUILD | 8 +++++--- abs/core/certmaster/certmaster.install | 2 +- 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 -- cgit v0.12