summaryrefslogtreecommitdiff
path: root/community/sslh/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-02-06 15:15:42 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-02-06 15:15:42 +0100
commit9437cdbc03cb103235fa0b043f4cf73882f10f34 (patch)
tree5dba8834685e18222c996b3cd4c728958ed3a49b /community/sslh/PKGBUILD
parent7cfa9860fb15a4bf5066e33255da1a9b09cc95b1 (diff)
parenta110e74fe4a31aebb09e0da6e407af69ed996837 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/drbd/PKGBUILD community/dumb/PKGBUILD community/echat/PKGBUILD community/librcc/PKGBUILD community/linux-tools/PKGBUILD community/python2-pysqlite-legacy/PKGBUILD community/python2-pyxmpp/PKGBUILD core/libksba/PKGBUILD core/ncurses/PKGBUILD extra/libbonobo/PKGBUILD extra/libmpeg2/PKGBUILD extra/qt/PKGBUILD extra/rarian/PKGBUILD extra/wpa_supplicant_gui/PKGBUILD libre/audacious-plugins-libre/PKGBUILD
Diffstat (limited to 'community/sslh/PKGBUILD')
-rw-r--r--community/sslh/PKGBUILD31
1 files changed, 14 insertions, 17 deletions
diff --git a/community/sslh/PKGBUILD b/community/sslh/PKGBUILD
index e61cc9832..bcf70fee3 100644
--- a/community/sslh/PKGBUILD
+++ b/community/sslh/PKGBUILD
@@ -1,36 +1,31 @@
-# $Id: PKGBUILD 81431 2012-12-20 23:33:39Z seblu $
+# $Id: PKGBUILD 83699 2013-02-04 14:24:41Z seblu $
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributor: Le_suisse <lesuisse.dev+aur at gmail dot com>
# Contributor: Jason Rodriguez <jason-aur@catloaf.net>
pkgname=sslh
pkgver=1.14
-pkgrel=1
+pkgrel=2
pkgdesc='SSL/SSH/OpenVPN/XMPP/tinc port multiplexer'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.rutschle.net/tech/sslh.shtml'
license=('GPL2')
depends=('libconfig')
-backup=('etc/conf.d/sslh' 'etc/sslh.conf')
+backup=('etc/sslh.conf')
+install=$pkgname.install
source=("http://www.rutschle.net/tech/$pkgname-$pkgver.tar.gz"
- 'sslh.rc'
- 'sslh.conf')
+ 'sslh-select.service'
+ 'sslh-fork.service')
md5sums=('36e64bd6c7d0a299d5acd1109988099b'
- 'c2a0c7c58d091acf5b4672f58066ee8f'
- 'c51c63d2b28080bae4c1c7a0c469bab7')
+ '67e8c9511508673254afa3e1ca61ff89'
+ 'a4402244a4d819beb3c6dc7ff031084e')
build() {
cd $pkgname-$pkgver
- # fix archlinux path in manpage
- sed -i 's/init.d/rc.d/' sslh.pod
- sed -i 's+/etc/default+/etc/conf.d+' sslh.pod
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"
# manually install to have both ssl-fork and ssl-select
cd $pkgname-$pkgver
install -Dm 0755 sslh-fork "$pkgdir/usr/bin/sslh-fork"
@@ -40,9 +35,11 @@ package() {
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"
+ # systemd
+ install -Dm 644 $srcdir/sslh-fork.service \
+ "$pkgdir/usr/lib/systemd/system/sslh-fork.service"
+ install -Dm 644 $srcdir/sslh-select.service \
+ "$pkgdir/usr/lib/systemd/system/sslh-select.service"
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et: