summaryrefslogtreecommitdiff
path: root/community/dante/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 03:59:45 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-25 03:59:45 +0000
commitec963aec4666ff7087ae150cb84398533a78f296 (patch)
tree4da354e279473e5bd24dccdc93e816b2ebbe076f /community/dante/PKGBUILD
parentf28fb29dd903558bdb2765f573eaf149897e7d1c (diff)
Tue Mar 25 03:55:20 UTC 2014
Diffstat (limited to 'community/dante/PKGBUILD')
-rw-r--r--community/dante/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/dante/PKGBUILD b/community/dante/PKGBUILD
index 3a6bc1db9..7ce4c8385 100644
--- a/community/dante/PKGBUILD
+++ b/community/dante/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 101630 2013-11-29 15:58:15Z spupykin $
+# $Id: PKGBUILD 108159 2014-03-24 07:55:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Guillem Rieu <guillemr@gmx.net>
pkgname=dante
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
url="http://www.inet.no/dante"
arch=(i686 x86_64)
@@ -13,9 +13,11 @@ 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'
- '9bb18a0165764092bd01da0ff6303fbf')
+ '8588bb1cf6e9cde0f542a96edc0a0f17'
+ '1cdfc0c1cd932cfe0fe3c0319e2be3f0')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -28,9 +30,9 @@ build() {
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
- mkdir -p ${pkgdir}/etc/conf.d
+ install -dm0755 ${pkgdir}/etc
cp example/{socks,sockd}.conf ${pkgdir}/etc
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
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
}