summaryrefslogtreecommitdiff
path: root/community/sslh/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-17 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-04-17 00:01:34 +0000
commitd1bfef207c6695736de171fc604b68eab0c1f1cd (patch)
treeaead3dfb062624c07d4ce9b8d1d05255eb9f4ec3 /community/sslh/PKGBUILD
parentea3d877b99c32e3a9e00ab220440d4518430e5bc (diff)
Tue Apr 17 00:01:34 UTC 2012
Diffstat (limited to 'community/sslh/PKGBUILD')
-rw-r--r--community/sslh/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/community/sslh/PKGBUILD b/community/sslh/PKGBUILD
index d4e795cc7..51667b8c6 100644
--- a/community/sslh/PKGBUILD
+++ b/community/sslh/PKGBUILD
@@ -1,22 +1,24 @@
-# $Id$
-# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
+# $Id: PKGBUILD 69412 2012-04-15 23:37:55Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Le_suisse <lesuisse.dev+aur at gmail dot com>
# Contributor: Jason Rodriguez <jason-aur@catloaf.net>
pkgname=sslh
pkgver=1.10
-pkgrel=5
+pkgrel=6
pkgdesc='SSL/SSH/OpenVPN/XMPP/tinc port multiplexer'
arch=('i686' 'x86_64')
url='http://www.rutschle.net/tech/sslh.shtml'
license=('GPL2')
backup=('etc/conf.d/sslh')
-source=("http://www.rutschle.net/tech/${pkgname}-${pkgver}.tar.gz"
+source=("http://www.rutschle.net/tech/$pkgname-$pkgver.tar.gz"
'sslh.rc'
- 'sslh.conf')
+ 'sslh.conf'
+ 'sslh.service')
md5sums=('bc34e9a4770d634633e70589c72708cc'
- '0680f09267c33205acf16ac6d4adf926'
- '808199410bd6ab67421bf3544f805d1a')
+ 'f64da291e97f1a99c33cb6ebf939b95b'
+ '808199410bd6ab67421bf3544f805d1a'
+ 'ee8a4fcfc1f6839f7c93deb6f59f7fd6')
build() {
cd $pkgname-$pkgver
@@ -27,10 +29,17 @@ build() {
}
package() {
- install -D -m 755 sslh.rc "${pkgdir}/etc/rc.d/sslh"
- install -D -m 644 sslh.conf "${pkgdir}/etc/conf.d/sslh"
+ # install initscripts
+ install -Dm 755 sslh.rc "$pkgdir/etc/rc.d/sslh"
+ install -Dm 644 sslh.conf "$pkgdir/etc/conf.d/sslh"
+ # install systemd service
+ install -Dm 644 sslh.service "$pkgdir/usr/lib/systemd/system/sslh.service"
+ # manually install to have both ssl-fork and ssl-select
cd $pkgname-$pkgver
- make PREFIX="$pkgdir/usr" install
+ install -Dm 0755 sslh-fork "$pkgdir/usr/bin/sslh-fork"
+ install -Dm 0755 sslh-select "$pkgdir/usr/bin/sslh-select"
+ ln -s sslh-fork "$pkgdir/usr/bin/sslh"
+ install -Dm 0644 sslh.8.gz "$pkgdir/usr/share/man/man8/sslh.8.gz"
}
# vim:set ts=2 sw=2 ft=sh et: