summaryrefslogtreecommitdiff
path: root/community/dante/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dante/PKGBUILD')
-rw-r--r--community/dante/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/dante/PKGBUILD b/community/dante/PKGBUILD
index a2cecbd7b..41f9b7551 100644
--- a/community/dante/PKGBUILD
+++ b/community/dante/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 55000 2011-08-30 09:22:57Z spupykin $
+# $Id: PKGBUILD 78352 2012-10-17 15:16:38Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Guillem Rieu <guillemr@gmx.net>
pkgname=dante
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
url="http://www.inet.no/dante"
arch=(i686 x86_64)
@@ -14,9 +14,11 @@ backup=('etc/socks.conf'
'etc/sockd.conf')
options=('!libtool')
source=(ftp://ftp.inet.no/pub/socks/${pkgname}-${pkgver}.tar.gz
- sockd.rc)
+ sockd.rc
+ sockd.service)
md5sums=('250c6456cd3fefa17f07fa80c9ccf6bd'
- '5110dfd78a2b38fff27a886ee88b58a6')
+ '5110dfd78a2b38fff27a886ee88b58a6'
+ '41f1ca885e2383d9db0c29bb7904de65')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -36,4 +38,5 @@ package() {
# rc-script
install -D -m755 ${srcdir}/sockd.rc ${pkgdir}/etc/rc.d/sockd
echo 'SOCKD_OPTS="-D"' >${pkgdir}/etc/conf.d/sockd.conf
+ install -Dm0644 $srcdir/sockd.service $pkgdir/usr/lib/systemd/system/sockd.service
}