summaryrefslogtreecommitdiff
path: root/community/ndisc6
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-30 10:11:16 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-30 10:11:16 +0200
commitc7e80d90ff5637e1be58084748ff74d0aefda9dd (patch)
tree595803e7e17e207ccd5b5d5142124e668cba3a1f /community/ndisc6
parent38e2ca05a73307a06dc9a8d6e9e97da7fcdff4fa (diff)
parent3025740c981e5acc29f25b400bc93046776d7008 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/python2-matplotlib/PKGBUILD community-testing/python2-matplotlib/setup.cfg kde-unstable/kdebindings-python/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus/PKGBUILD testing/libusbx/PKGBUILD testing/pyqt/PKGBUILD
Diffstat (limited to 'community/ndisc6')
-rw-r--r--community/ndisc6/PKGBUILD12
-rw-r--r--community/ndisc6/rdnssd.service12
2 files changed, 20 insertions, 4 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD
index babbd1901..e61d42718 100644
--- a/community/ndisc6/PKGBUILD
+++ b/community/ndisc6/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 72134 2012-06-09 00:04:05Z heftig $
+# $Id: PKGBUILD 73033 2012-06-28 18:43:36Z cbrannon $
# Maintainer: Chris Brannon <chris@the-brannons.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=ndisc6
pkgver=1.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="A collection of IPv6 networking utilities - ndisc6, rdisc6, tcptraceroute6, tracert6, rltraceroute6, tcpspray6"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.remlab.net/ndisc6/"
@@ -14,10 +14,12 @@ options=(!emptydirs)
install=ndisc6.install
source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2
rdnssd.rc.d
- rdnssd.confd)
+ rdnssd.confd
+ rdnssd.service)
md5sums=('50cb4c19606cf6ff2b7388e71832f579'
'3421fd731c4da4f9e07fc6b6ff4e5084'
- 'f1910902932e2622fc166960819db6c4')
+ 'f1910902932e2622fc166960819db6c4'
+ 'beeb4f033e9eb951e2de962f609c7c2a')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -32,6 +34,8 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/rdnssd.rc.d" "$pkgdir/etc/rc.d/rdnssd"
install -Dm644 "$srcdir/rdnssd.confd" "$pkgdir/etc/conf.d/rdnssd"
+ install -Dm644 "$srcdir/rdnssd.service" \
+ "$pkgdir/usr/lib/systemd/system/rdnssd.service"
install -d "$pkgdir/usr/lib/tmpfiles.d"
echo "d /run/rdnssd 0755 nobody root" > "$pkgdir/usr/lib/tmpfiles.d/ndisc6.conf"
diff --git a/community/ndisc6/rdnssd.service b/community/ndisc6/rdnssd.service
new file mode 100644
index 000000000..dcaf73331
--- /dev/null
+++ b/community/ndisc6/rdnssd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=RDNSS daemon for Linux
+Before=network.target
+Requires=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/rdnssd.pid
+ExecStart=/usr/sbin/rdnssd -H /etc/rdnssd/merge-hook
+
+[Install]
+WantedBy=multi-user.target