summaryrefslogtreecommitdiff
path: root/community/stunnel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/stunnel/PKGBUILD')
-rw-r--r--community/stunnel/PKGBUILD15
1 files changed, 4 insertions, 11 deletions
diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD
index 3b994e1a6..55c65cd38 100644
--- a/community/stunnel/PKGBUILD
+++ b/community/stunnel/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 99994 2013-10-31 02:53:44Z allan $
+# $Id: PKGBUILD 103727 2014-01-10 21:25:08Z bgyorgy $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
@@ -6,7 +6,7 @@
pkgname=stunnel
pkgver=4.56
-pkgrel=3
+pkgrel=4
pkgdesc="A program that allows you to encrypt arbitrary TCP connections inside SSL"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.stunnel.org"
@@ -42,17 +42,10 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- for i in ca.pl importCA.sh; do
- install -Dm755 "tools/$i" "$pkgdir/usr/share/stunnel/$i"
- done
-
- install -Dm644 tools/stunnel.cnf "$pkgdir/etc/stunnel/stunnel.cnf"
+ install -Dm644 tools/stunnel.cnf "$pkgdir/etc/stunnel/stunnel-openssl.cnf-sample"
+ install -Dm644 tools/stunnel.service "$pkgdir/usr/lib/systemd/system/stunnel.service"
install -Dm644 "$srcdir/stunnel.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/stunnel.conf"
- # move systemd service into place
- install -dm755 "$pkgdir/usr/lib/systemd/system"
- mv "tools/stunnel.service" "$pkgdir/usr/lib/systemd/system/"
-
sed -e "s:/usr/var/lib/stunnel/:/var/run/stunnel:g" \
-e "s:/usr/etc/stunnel/:/etc/stunnel/:g" \
-e "s:no\(body\|group\):stunnel:g" \