summaryrefslogtreecommitdiff
path: root/community/sslh/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/sslh/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/sslh/PKGBUILD')
-rw-r--r--community/sslh/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/sslh/PKGBUILD b/community/sslh/PKGBUILD
new file mode 100644
index 000000000..c2235965f
--- /dev/null
+++ b/community/sslh/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 94597 2013-07-27 17:54:41Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Le_suisse <lesuisse.dev+aur at gmail dot com>
+# Contributor: Jason Rodriguez <jason-aur@catloaf.net>
+
+pkgname=sslh
+pkgver=1.15
+pkgrel=1
+pkgdesc='SSL/SSH/OpenVPN/XMPP/tinc port multiplexer'
+arch=('i686' 'x86_64')
+url='http://www.rutschle.net/tech/sslh.shtml'
+license=('GPL2')
+depends=('libconfig')
+backup=('etc/sslh.conf')
+install=$pkgname.install
+source=("http://www.rutschle.net/tech/$pkgname-$pkgver.tar.gz"
+ 'sslh-select.service'
+ 'sslh-fork.service')
+md5sums=('cdb3e4499ff00438495f46ef7204ec58'
+ '67e8c9511508673254afa3e1ca61ff89'
+ 'a4402244a4d819beb3c6dc7ff031084e')
+
+build() {
+ cd $pkgname-$pkgver
+ make VERSION=\"v$pkgver\"
+}
+
+package() {
+ # manually install to have both ssl-fork and ssl-select
+ cd $pkgname-$pkgver
+ 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"
+ # 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 et: