diff options
author | root <root@rshg054.dnsready.net> | 2012-10-18 01:24:49 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-18 01:24:49 -0700 |
commit | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch) | |
tree | 817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /community/gnunet | |
parent | c84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff) |
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'community/gnunet')
-rw-r--r-- | community/gnunet/PKGBUILD | 9 | ||||
-rw-r--r-- | community/gnunet/gnunet.service | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD index 4a6a82c1d..1f63c7d37 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') url="http://gnunet.org" @@ -17,10 +17,12 @@ options=('!libtool' '!makeflags') install=gnunet.install source=(ftp://ftp.gnu.org/gnu/gnunet/gnunet-$pkgver.tar.gz gnunet.rc + gnunet.service gnunet.conf.d defaults.conf) -md5sums=('7d2b75d8662804b8047c98ed59979dcb' +md5sums=('4234ad22e3204941773632a1d0c2e0e8' '5baf691913b007fb33e365239e3f7217' + '54cce3d2415d95b2e5bd1bd88db3a0ea' 'f161b46915736e4017e77ad735521453' '0fe23b2ca5b3fc47a0b5645e04406da0') @@ -38,4 +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 } 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 |