diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-01-26 10:54:14 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-01-26 10:54:14 -0300 |
commit | 38e7e59a562c5f8ea83719e4dfd5cd4c9917d5b1 (patch) | |
tree | 8097f94554cc6e2c64d19db24e56e70e041e7757 /community/ndisc6 | |
parent | 328b5407de9f088d32c429b1b37f6efde3da06f8 (diff) | |
parent | 7d3e94229ca9849421d263542eb2c61f64a91c10 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bird/PKGBUILD
community/gmic/PKGBUILD
community/linux-tools/PKGBUILD
community/linux-tools/cpupower.systemd
community/linux-tools/usbipd.service
community/macchanger/PKGBUILD
community/ndisc6/PKGBUILD
community/nemiver/PKGBUILD
core/gpgme/PKGBUILD
extra/amarok/PKGBUILD
extra/java-commons-daemon/PKGBUILD
extra/libao/PKGBUILD
extra/liblastfm/PKGBUILD
Diffstat (limited to 'community/ndisc6')
-rw-r--r-- | community/ndisc6/PKGBUILD | 42 | ||||
-rw-r--r-- | community/ndisc6/ndisc6.install | 5 |
2 files changed, 24 insertions, 23 deletions
diff --git a/community/ndisc6/PKGBUILD b/community/ndisc6/PKGBUILD index e61d42718..a84eac204 100644 --- a/community/ndisc6/PKGBUILD +++ b/community/ndisc6/PKGBUILD @@ -1,42 +1,38 @@ -# $Id: PKGBUILD 73033 2012-06-28 18:43:36Z cbrannon $ -# Maintainer: Chris Brannon <chris@the-brannons.com> +# $Id: PKGBUILD 82792 2013-01-24 13:20:12Z seblu $ +# Maintainer: Sébastien Luttringer <seblu@archlinux.org> +# Contributor: Chris Brannon <chris@the-brannons.com> # Contributor: Mark Smith <markzzzsmith@yahoo.com.au> + pkgname=ndisc6 pkgver=1.0.2 -pkgrel=4 -pkgdesc="A collection of IPv6 networking utilities - ndisc6, rdisc6, tcptraceroute6, tracert6, rltraceroute6, tcpspray6" +pkgrel=5 +pkgdesc='Collection of IPv6 networking utilities' arch=('i686' 'x86_64' 'mips64el') -url="http://www.remlab.net/ndisc6/" -license=("GPL") +url='http://www.remlab.net/ndisc6/' +license=('GPL') depends=('glibc' 'perl') makedepends=('glibc' 'gcc') options=(!emptydirs) install=ndisc6.install -source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2 - rdnssd.rc.d - rdnssd.confd - rdnssd.service) +source=("http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2" + 'rdnssd.service') md5sums=('50cb4c19606cf6ff2b7388e71832f579' - '3421fd731c4da4f9e07fc6b6ff4e5084' - 'f1910902932e2622fc166960819db6c4' 'beeb4f033e9eb951e2de962f609c7c2a') build() { - cd "$srcdir/$pkgname-$pkgver" - + cd $pkgname-$pkgver + # patch invalid path + sed -ri 's,PATH=/sbin:/bin,PATH=/sbin:/bin:/usr/sbin:/usr/bin,' rdnssd/merge-hook.in ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr make } package() { - cd "$srcdir/$pkgname-$pkgver" - + cd $pkgname-$pkgver 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" + install -Dm644 "$srcdir/rdnssd.service" "$pkgdir/usr/lib/systemd/system/rdnssd.service" + install -Dm644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" + echo 'd /run/rdnssd 0755 nobody root' > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } + +# vim:set ts=2 sw=2 et: diff --git a/community/ndisc6/ndisc6.install b/community/ndisc6/ndisc6.install index 086fb6829..7d917ca19 100644 --- a/community/ndisc6/ndisc6.install +++ b/community/ndisc6/ndisc6.install @@ -1,3 +1,8 @@ +#!/bin/sh + +# arg 1: the new package version post_install() { systemd-tmpfiles --create usr/lib/tmpfiles.d/ndisc6.conf } + +# vim:set ts=2 sw=2 ft=sh et: |