summaryrefslogtreecommitdiff
path: root/community/ndisc6
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-10 11:35:18 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-10 11:35:18 +0200
commit51d25a8023c8dafdbcafd8bcc6adb19979f15ac6 (patch)
tree3419b254ec8c04b09a938d993fdb768eae03c005 /community/ndisc6
parent11fe0679d59f68c3fbe3d0a205e5087bf694262e (diff)
parent7b2739f21a7ed0d52497fa381c9a2383e71ab7a8 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/kdemultimedia/PKGBUILD extra/kdenetwork/PKGBUILD extra/samba/PKGBUILD multilib/lib32-gnutls/PKGBUILD multilib/wine/PKGBUILD staging/kdemultimedia/PKGBUILD
Diffstat (limited to 'community/ndisc6')
-rw-r--r--community/ndisc6/PKGBUILD20
-rw-r--r--community/ndisc6/ndisc6.install3
2 files changed, 13 insertions, 10 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD
index a110249fe..babbd1901 100644
--- a/community/ndisc6/PKGBUILD
+++ b/community/ndisc6/PKGBUILD
@@ -1,26 +1,29 @@
-# $Id: PKGBUILD 60785 2011-12-17 22:54:36Z cbrannon $
+# $Id: PKGBUILD 72134 2012-06-09 00:04:05Z heftig $
# Maintainer: Chris Brannon <chris@the-brannons.com>
# Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
pkgname=ndisc6
pkgver=1.0.2
-pkgrel=2
+pkgrel=3
pkgdesc="A collection of IPv6 networking utilities - ndisc6, rdisc6, tcptraceroute6, tracert6, rltraceroute6, tcpspray6"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.remlab.net/ndisc6/"
license=("GPL")
depends=('glibc' 'perl')
makedepends=('glibc' 'gcc')
-options=(emptydirs)
+options=(!emptydirs)
+install=ndisc6.install
source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2
rdnssd.rc.d
rdnssd.confd)
+md5sums=('50cb4c19606cf6ff2b7388e71832f579'
+ '3421fd731c4da4f9e07fc6b6ff4e5084'
+ 'f1910902932e2622fc166960819db6c4')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr
make
-
}
package() {
@@ -29,10 +32,7 @@ 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 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
- echo "d /var/run/rdnssd 0755 nobody root" > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-}
-md5sums=('50cb4c19606cf6ff2b7388e71832f579'
- '3421fd731c4da4f9e07fc6b6ff4e5084'
- 'f1910902932e2622fc166960819db6c4')
+ 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/ndisc6.install b/community/ndisc6/ndisc6.install
new file mode 100644
index 000000000..086fb6829
--- /dev/null
+++ b/community/ndisc6/ndisc6.install
@@ -0,0 +1,3 @@
+post_install() {
+ systemd-tmpfiles --create usr/lib/tmpfiles.d/ndisc6.conf
+}