blob: 5369be8271db1e6afae3bef5c8e5482d817e1a06 (
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
|
# $Id: PKGBUILD 108314 2014-03-26 15:54:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Guillem Rieu <guillemr@gmx.net>
pkgname=dante
pkgver=1.4.0
pkgrel=3
pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
url="http://www.inet.no/dante"
arch=(i686 x86_64)
license=('custom')
depends=('pam' 'krb5')
backup=('etc/socks.conf'
'etc/sockd.conf')
source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
sockd.tmpfiles.d
sockd.service)
md5sums=('c117a3ce25afb936f13b76f1d2524879'
'8588bb1cf6e9cde0f542a96edc0a0f17'
'f5520e3350de5d4d1baa05cf33678c06')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
[ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
--sbindir=/usr/bin \
--disable-libwrap
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -dm0755 ${pkgdir}/etc
cp example/{socks,sockd}.conf ${pkgdir}/etc
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
install -Dm0644 $srcdir/sockd.tmpfiles.d $pkgdir/usr/lib/tmpfiles.d/sockd.conf
}
|