summaryrefslogtreecommitdiff
path: root/community/gnunet
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/gnunet
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/gnunet')
-rw-r--r--community/gnunet/PKGBUILD16
-rw-r--r--community/gnunet/gnunet.service10
2 files changed, 19 insertions, 7 deletions
diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD
index e9e17f0ad..7fbf3f806 100644
--- a/community/gnunet/PKGBUILD
+++ b/community/gnunet/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71937 2012-06-03 21:24:21Z spupykin $
+# $Id: PKGBUILD 78354 2012-10-17 15:17:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>
pkgname=gnunet
pkgver=0.9.3
-pkgrel=1
+pkgrel=2
pkgdesc="A framework for secure peer-to-peer networking"
arch=('i686' 'x86_64' 'mips64el')
url="http://gnunet.org"
@@ -17,8 +17,14 @@ options=('!libtool' '!makeflags')
install=gnunet.install
source=(ftp://ftp.gnu.org/gnu/gnunet/gnunet-$pkgver.tar.gz{,.sig}
gnunet.rc
+ gnunet.service
gnunet.conf.d
defaults.conf)
+md5sums=('4234ad22e3204941773632a1d0c2e0e8'
+ '5baf691913b007fb33e365239e3f7217'
+ '54cce3d2415d95b2e5bd1bd88db3a0ea'
+ 'f161b46915736e4017e77ad735521453'
+ '0fe23b2ca5b3fc47a0b5645e04406da0')
build() {
cd $srcdir/gnunet-$pkgver
@@ -34,9 +40,5 @@ package() {
install -D -m0644 $srcdir/gnunet.conf.d $pkgdir/etc/conf.d/gnunetd
install -D -m0644 $srcdir/defaults.conf $pkgdir/etc/gnunetd.conf
rm -rf $pkgdir/usr/include/libltdl $pkgdir/usr/lib/libltdl.* $pkgdir/usr/include/ltdl.h
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}
-md5sums=('4234ad22e3204941773632a1d0c2e0e8'
- '26135208534eb638f8585ccf19472c6f'
- '5baf691913b007fb33e365239e3f7217'
- 'f161b46915736e4017e77ad735521453'
- '0fe23b2ca5b3fc47a0b5645e04406da0')
diff --git a/community/gnunet/gnunet.service b/community/gnunet/gnunet.service
new file mode 100644
index 000000000..5625978a5
--- /dev/null
+++ b/community/gnunet/gnunet.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=A framework for secure peer-to-peer networking
+
+[Service]
+User=nobody
+Type=forking
+ExecStart=/usr/bin/gnunet-arm -s -c /etc/gnunetd.conf
+
+[Install]
+WantedBy=multi-user.target