blob: 8af57a0ad78977c052d2b3c8c072ab4e3d9eaea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $Id: PKGBUILD 105863 2014-02-16 17:09:52Z 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.16
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-v$pkgver.tar.gz"
'sslh-select.service'
'sslh-fork.service')
md5sums=('1e85b84eb82a96b81de9b1e637a3e795'
'67e8c9511508673254afa3e1ca61ff89'
'a4402244a4d819beb3c6dc7ff031084e')
build() {
cd $pkgname-v$pkgver
make VERSION=\"v$pkgver\"
}
package() {
# manually install to have both ssl-fork and ssl-select
cd $pkgname-v$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:
|