diff options
author | root <root@rshg054.dnsready.net> | 2012-06-10 00:04:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-10 00:04:00 +0000 |
commit | 7b2739f21a7ed0d52497fa381c9a2383e71ab7a8 (patch) | |
tree | e92096f88e034d79e6f814971f98eb098c0abd80 /community/ndisc6 | |
parent | 0c7e29df5c6742895884a0bbcf86381f8e601782 (diff) |
Sun Jun 10 00:04:00 UTC 2012
Diffstat (limited to 'community/ndisc6')
-rw-r--r-- | community/ndisc6/PKGBUILD | 20 | ||||
-rw-r--r-- | community/ndisc6/ndisc6.install | 3 |
2 files changed, 13 insertions, 10 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD index df7d0ce45..d25c3a9d8 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') 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 +} |