diff options
author | root <root@rshg054.dnsready.net> | 2012-05-20 00:04:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-20 00:04:49 +0000 |
commit | aad2fba0fc475162b566f1577d8e7a020cd9e80d (patch) | |
tree | f289660c47a6cbbf3b68078aeb56f5c19e30a662 /community/sslh | |
parent | 5d334c7470b5851fbacd4545c8ee0ea676a21ccc (diff) |
Sun May 20 00:04:49 UTC 2012
Diffstat (limited to 'community/sslh')
-rw-r--r-- | community/sslh/PKGBUILD | 33 | ||||
-rw-r--r-- | community/sslh/sslh.rc | 1 |
2 files changed, 17 insertions, 17 deletions
diff --git a/community/sslh/PKGBUILD b/community/sslh/PKGBUILD index 7b4254d11..1d2f48306 100644 --- a/community/sslh/PKGBUILD +++ b/community/sslh/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 70458 2012-05-08 13:27:24Z seblu $ +# $Id: PKGBUILD 70896 2012-05-18 22:00:49Z 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.12 +pkgver=1.13b pkgrel=1 pkgdesc='SSL/SSH/OpenVPN/XMPP/tinc port multiplexer' arch=('i686' 'x86_64') @@ -14,38 +14,37 @@ depends=('libconfig') backup=('etc/conf.d/sslh' 'etc/sslh.conf') source=("http://www.rutschle.net/tech/$pkgname-$pkgver.tar.gz" 'sslh.rc' - 'sslh.conf' - 'sslh.service') -md5sums=('265014ecdae4512eacca91aaff0b9a81' - 'e1c44f8160b7fef397f81db63eec8421' - 'c51c63d2b28080bae4c1c7a0c469bab7' - 'ee8a4fcfc1f6839f7c93deb6f59f7fd6') + 'sslh.conf') +md5sums=('fbd8934e6f799437c562866f09afee5b' + 'c2a0c7c58d091acf5b4672f58066ee8f' + 'c51c63d2b28080bae4c1c7a0c469bab7') build() { - cd $pkgname-$pkgver + #cd $pkgname-$pkgver + cd $pkgname-1.13 # fix archlinux path in manpage sed -i 's/init.d/rc.d/' sslh.pod sed -i 's+/etc/default+/etc/conf.d+' sslh.pod - # remove default pidfile in example - sed -i '/pidfile:/d' example.cfg - # daemon mode by default (as not overridable in command line) - sed -i 's/foreground: true;/foreground: false;/' example.cfg - make + make VERSION=\"v$pkgver\" } package() { # 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 + #cd $pkgname-$pkgver + cd $pkgname-1.13 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 manpage install -Dm 0644 sslh.8.gz "$pkgdir/usr/share/man/man8/sslh.8.gz" + # install example file install -Dm 0644 example.cfg "$pkgdir/etc/sslh.conf" + # install systemd service + install -Dm 644 scripts/systemd.sslh.service \ + "$pkgdir/usr/lib/systemd/system/sslh.service" } # vim:set ts=2 sw=2 ft=sh et: diff --git a/community/sslh/sslh.rc b/community/sslh/sslh.rc index cd5397cad..456e122f4 100644 --- a/community/sslh/sslh.rc +++ b/community/sslh/sslh.rc @@ -6,6 +6,7 @@ DAEMON=/usr/bin/sslh PID=$(pidof -o %PPID $DAEMON) +DAEMON_OPTS="--background $DAEMON_OPTS" case "$1" in start) |