summaryrefslogtreecommitdiff
path: root/community/dante
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-10-18 10:38:15 -0300
commit59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (patch)
tree452fb18314fb6d4393552d1ef1190a3168353f44 /community/dante
parentbb3524a1ba0370174d0c586ae94cd503b562a207 (diff)
parent9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/gambas2/PKGBUILD community-staging/gambas3/PKGBUILD community-staging/libextractor/PKGBUILD community-staging/pdf2djvu/PKGBUILD community/dante/PKGBUILD community/gnunet/PKGBUILD community/luafilesystem/PKGBUILD community/luajit/PKGBUILD community/python-mpi4py/PKGBUILD community/python-psutil/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/pycrypto/PKGBUILD extra/pygobject/PKGBUILD extra/pygobject2/PKGBUILD extra/pyopenssl/PKGBUILD extra/python/PKGBUILD extra/vde2/PKGBUILD gnome-unstable/clutter-gtk/PKGBUILD gnome-unstable/clutter/PKGBUILD gnome-unstable/eog/PKGBUILD gnome-unstable/evolution-data-server/PKGBUILD gnome-unstable/gcr/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/gnome-keyring/PKGBUILD gnome-unstable/gnome-themes-standard/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD staging/kdebase-workspace/PKGBUILD testing/iputils/PKGBUILD testing/php/PKGBUILD testing/php/php-fpm.conf.in.patch testing/php/php-fpm.service testing/php/rc.d.php-fpm
Diffstat (limited to 'community/dante')
-rw-r--r--community/dante/PKGBUILD11
-rw-r--r--community/dante/sockd.service11
2 files changed, 18 insertions, 4 deletions
diff --git a/community/dante/PKGBUILD b/community/dante/PKGBUILD
index b3328db88..7907f5fd7 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.1
+pkgrel=2
pkgdesc="SOCKS v4 and v5 compatible proxy server and client"
url="http://www.inet.no/dante"
arch=(i686 x86_64 'mips64el')
@@ -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