diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-11 03:27:04 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-11 03:27:04 +0000 |
commit | b8322aaddc0dc6b249457dd19ab7fb246b92c997 (patch) | |
tree | ef66f8d10e7f48e478ef6c86585faef602b77d32 /community/stunnel/PKGBUILD | |
parent | fe548131c28daad221e6789ddb8e99e54cc155a5 (diff) |
Sat Jan 11 03:21:10 UTC 2014
Diffstat (limited to 'community/stunnel/PKGBUILD')
-rw-r--r-- | community/stunnel/PKGBUILD | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/community/stunnel/PKGBUILD b/community/stunnel/PKGBUILD index eb440b4bf..988e5c2e8 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') 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" \ |