diff options
Diffstat (limited to 'community/dante')
-rw-r--r-- | community/dante/PKGBUILD | 11 | ||||
-rw-r--r-- | community/dante/sockd.service | 11 |
2 files changed, 18 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 } diff --git a/community/dante/sockd.service b/community/dante/sockd.service new file mode 100644 index 000000000..6a18a8b0a --- /dev/null +++ b/community/dante/sockd.service @@ -0,0 +1,11 @@ +[Unit] +Description=SOCKS v4 and v5 compatible proxy server and client + +[Service] +Type=forking +EnvironmentFile=/etc/conf.d/sockd.conf +PIDFile=/var/run/sockd.pid +ExecStart=sockd $SOCKD_OPTS + +[Install] +WantedBy=multi-user.target |