[arch-commits] Commit in sslh/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Thu Jun 15 02:04:30 UTC 2017
Date: Thursday, June 15, 2017 @ 02:04:29
Author: seblu
Revision: 236876
upgpkg: sslh 1.18-2
Added:
sslh/trunk/PKGBUILD
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-15 02:04:29 UTC (rev 236876)
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 171217 2016-04-16 22:11:23Z seblu $
+# Maintainer: Sébastien "Seblu" Luttringer <seblu at archlinux.org>
+# Contributor: Le_suisse <lesuisse.dev+aur at gmail dot com>
+# Contributor: Jason Rodriguez <jason-aur at catloaf.net>
+
+pkgname=sslh
+pkgver=1.18
+pkgrel=2
+pkgdesc='SSL/SSH/OpenVPN/XMPP/tinc port multiplexer'
+arch=('i686' 'x86_64')
+url='http://www.rutschle.net/tech/sslh.shtml'
+license=('GPL2')
+depends=('libcap' 'libconfig')
+backup=('etc/sslh.conf')
+install=$pkgname.install
+source=("http://www.rutschle.net/tech/sslh/$pkgname-v$pkgver.tar.gz"
+ 'sslh.conf'
+ 'sslh.sysusers'
+ 'sslh-select.service'
+ 'sslh-fork.service')
+md5sums=('0e3568d5d234516c634d4df156473298'
+ 'd5405c7ca7e1813e4d49a473e5834640'
+ 'f39544277a30595d4b7476b3f87ebbcf'
+ '0f3f9e3ac2ac4b576d684b21b566aeb9'
+ '4e64f0850ec9bd44071ae8d5369316e5')
+
+build() {
+ cd $pkgname-v$pkgver
+ make VERSION=\"v$pkgver\" USELIBCAP=1
+}
+
+package() {
+ # default arch config
+ install -Dm 644 sslh.conf "$pkgdir/etc/sslh.conf"
+ # manually install to have both ssl-fork and ssl-select
+ cd $pkgname-v$pkgver
+ install -Dm 755 sslh-fork "$pkgdir/usr/bin/sslh-fork"
+ install -Dm 755 sslh-select "$pkgdir/usr/bin/sslh-select"
+ ln -s sslh-fork "$pkgdir/usr/bin/sslh"
+ # install manpage
+ install -Dm 644 sslh.8.gz "$pkgdir/usr/share/man/man8/sslh.8.gz"
+ # install examples files
+ install -Dm 644 basic.cfg "$pkgdir/usr/share/doc/$pkgname/basic.cfg"
+ install -Dm 644 example.cfg "$pkgdir/usr/share/doc/$pkgname/example.cfg"
+ # systemd
+ cd "$pkgdir"
+ install -dm 755 usr/lib/{systemd/system,sysusers.d}
+ install -Dm 644 "$srcdir"/sslh-{fork,select}.service usr/lib/systemd/system
+ install -Dm 644 "$srcdir"/sslh.sysusers usr/lib/sysusers.d/sslh.conf
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list