summaryrefslogtreecommitdiff
path: root/community/dante
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
committerroot <root@rshg047.dnsready.net>2011-07-15 23:12:20 +0000
commit76c26b027d797f3671bf0b6c6618eda2496cf88d (patch)
treec386be56a0a3bc7b668a674e9cec6405a4d2fb2f /community/dante
parent29657877f6a02dbba1bd58b417b4ccd211939690 (diff)
Fri Jul 15 23:12:20 UTC 2011
Diffstat (limited to 'community/dante')
-rw-r--r--community/dante/PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/community/dante/PKGBUILD b/community/dante/PKGBUILD
index 54cb9c850..d34736e3f 100644
--- a/community/dante/PKGBUILD
+++ b/community/dante/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 50232 2011-06-27 10:23:04Z spupykin $
+# $Id: PKGBUILD 51686 2011-07-13 08:09:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Guillem Rieu <guillemr@gmx.net>
pkgname=dante
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
url="http://www.inet.no/dante"
arch=(i686 x86_64)
license=('custom')
-depends=('tcp_wrappers' 'pam')
+depends=('pam')
backup=('etc/socks.conf'
'etc/sockd.conf')
options=('!libtool')
@@ -20,22 +20,19 @@ md5sums=('19b8a15860ce6b9e96453ddd7f1cbfe2'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
- [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc
+ [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-libwrap
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
-
# Config files
mkdir -p ${pkgdir}/etc/conf.d
cp example/{socks,sockd}.conf ${pkgdir}/etc
-
# License
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-
# rc-script
install -D -m755 ${srcdir}/sockd.rc ${pkgdir}/etc/rc.d/sockd
echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf