[arch-commits] Commit in ndisc6/repos (16 files)
seblu at nymeria.archlinux.org
seblu at nymeria.archlinux.org
Thu Jan 24 13:20:12 UTC 2013
Date: Thursday, January 24, 2013 @ 14:20:12
Author: seblu
Revision: 82792
archrelease: copy trunk to community-i686, community-x86_64
Added:
ndisc6/repos/community-i686/PKGBUILD
(from rev 82791, ndisc6/trunk/PKGBUILD)
ndisc6/repos/community-i686/ndisc6.install
(from rev 82791, ndisc6/trunk/ndisc6.install)
ndisc6/repos/community-i686/rdnssd.service
(from rev 82791, ndisc6/trunk/rdnssd.service)
ndisc6/repos/community-x86_64/PKGBUILD
(from rev 82791, ndisc6/trunk/PKGBUILD)
ndisc6/repos/community-x86_64/ndisc6.install
(from rev 82791, ndisc6/trunk/ndisc6.install)
ndisc6/repos/community-x86_64/rdnssd.service
(from rev 82791, ndisc6/trunk/rdnssd.service)
Deleted:
ndisc6/repos/community-i686/PKGBUILD
ndisc6/repos/community-i686/ndisc6.install
ndisc6/repos/community-i686/rdnssd.confd
ndisc6/repos/community-i686/rdnssd.rc.d
ndisc6/repos/community-i686/rdnssd.service
ndisc6/repos/community-x86_64/PKGBUILD
ndisc6/repos/community-x86_64/ndisc6.install
ndisc6/repos/community-x86_64/rdnssd.confd
ndisc6/repos/community-x86_64/rdnssd.rc.d
ndisc6/repos/community-x86_64/rdnssd.service
---------------------------------+
community-i686/PKGBUILD | 80 ++++++++++++++++++--------------------
community-i686/ndisc6.install | 11 +++--
community-i686/rdnssd.confd | 8 ---
community-i686/rdnssd.rc.d | 51 ------------------------
community-i686/rdnssd.service | 24 +++++------
community-x86_64/PKGBUILD | 80 ++++++++++++++++++--------------------
community-x86_64/ndisc6.install | 11 +++--
community-x86_64/rdnssd.confd | 8 ---
community-x86_64/rdnssd.rc.d | 51 ------------------------
community-x86_64/rdnssd.service | 24 +++++------
10 files changed, 116 insertions(+), 232 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-i686/PKGBUILD 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Chris Brannon <chris at the-brannons.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-pkgname=ndisc6
-pkgver=1.0.2
-pkgrel=4
-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)
-install=ndisc6.install
-source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2
- rdnssd.rc.d
- rdnssd.confd
- rdnssd.service)
-md5sums=('50cb4c19606cf6ff2b7388e71832f579'
- '3421fd731c4da4f9e07fc6b6ff4e5084'
- 'f1910902932e2622fc166960819db6c4'
- 'beeb4f033e9eb951e2de962f609c7c2a')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$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"
-}
Copied: ndisc6/repos/community-i686/PKGBUILD (from rev 82791, ndisc6/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-24 13:20:12 UTC (rev 82792)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Chris Brannon <chris at the-brannons.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=ndisc6
+pkgver=1.0.2
+pkgrel=5
+pkgdesc='Collection of IPv6 networking utilities'
+arch=('i686' 'x86_64')
+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.service')
+md5sums=('50cb4c19606cf6ff2b7388e71832f579'
+ 'beeb4f033e9eb951e2de962f609c7c2a')
+
+build() {
+ 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 $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ 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:
Deleted: community-i686/ndisc6.install
===================================================================
--- community-i686/ndisc6.install 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-i686/ndisc6.install 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,3 +0,0 @@
-post_install() {
- systemd-tmpfiles --create usr/lib/tmpfiles.d/ndisc6.conf
-}
Copied: ndisc6/repos/community-i686/ndisc6.install (from rev 82791, ndisc6/trunk/ndisc6.install)
===================================================================
--- community-i686/ndisc6.install (rev 0)
+++ community-i686/ndisc6.install 2013-01-24 13:20:12 UTC (rev 82792)
@@ -0,0 +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:
Deleted: community-i686/rdnssd.confd
===================================================================
--- community-i686/rdnssd.confd 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-i686/rdnssd.confd 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,8 +0,0 @@
-
-# This default merge hook adds IPv6 DNS resolvers
-# before the existing IPv4 ones in /etc/resolv.conf.
-MERGEHOOK="/etc/rdnssd/merge-hook"
-
-# User who runs rdnssd.
-RUN_AS="nobody"
-
Deleted: community-i686/rdnssd.rc.d
===================================================================
--- community-i686/rdnssd.rc.d 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-i686/rdnssd.rc.d 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rdnssd
-
-PIDFILE="/var/run/rdnssd.pid"
-PID=`cat "$PIDFILE" 2>/dev/null`
-case "$1" in
- start)
- stat_busy "Starting RDNSS Daemon"
- if [ ! -z "$PID" -a -e "/proc/$PID" ]; then
- stat_append "-- Already running"
- stat_die
- else
- /usr/sbin/rdnssd -p "$PIDFILE" \
- ${MERGEHOOK/*/-H} "$MERGEHOOK" \
- ${RUN_AS/*/-u} "$RUN_AS"
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon rdnssd
- stat_done
- fi
- fi
- ;;
- stop)
- stat_busy "Stopping RDNSS Daemon"
- if [ -z "$PID" ]; then
- stat_append "-- Not running"
- stat_die
- else
- kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon sshd
- stat_done
- fi
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Deleted: community-i686/rdnssd.service
===================================================================
--- community-i686/rdnssd.service 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-i686/rdnssd.service 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,12 +0,0 @@
-[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
Copied: ndisc6/repos/community-i686/rdnssd.service (from rev 82791, ndisc6/trunk/rdnssd.service)
===================================================================
--- community-i686/rdnssd.service (rev 0)
+++ community-i686/rdnssd.service 2013-01-24 13:20:12 UTC (rev 82792)
@@ -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
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-x86_64/PKGBUILD 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Chris Brannon <chris at the-brannons.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-pkgname=ndisc6
-pkgver=1.0.2
-pkgrel=4
-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)
-install=ndisc6.install
-source=(http://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2
- rdnssd.rc.d
- rdnssd.confd
- rdnssd.service)
-md5sums=('50cb4c19606cf6ff2b7388e71832f579'
- '3421fd731c4da4f9e07fc6b6ff4e5084'
- 'f1910902932e2622fc166960819db6c4'
- 'beeb4f033e9eb951e2de962f609c7c2a')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --localstatedir=/var --sysconfdir=/etc --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$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"
-}
Copied: ndisc6/repos/community-x86_64/PKGBUILD (from rev 82791, ndisc6/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-01-24 13:20:12 UTC (rev 82792)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Chris Brannon <chris at the-brannons.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=ndisc6
+pkgver=1.0.2
+pkgrel=5
+pkgdesc='Collection of IPv6 networking utilities'
+arch=('i686' 'x86_64')
+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.service')
+md5sums=('50cb4c19606cf6ff2b7388e71832f579'
+ 'beeb4f033e9eb951e2de962f609c7c2a')
+
+build() {
+ 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 $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ 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:
Deleted: community-x86_64/ndisc6.install
===================================================================
--- community-x86_64/ndisc6.install 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-x86_64/ndisc6.install 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,3 +0,0 @@
-post_install() {
- systemd-tmpfiles --create usr/lib/tmpfiles.d/ndisc6.conf
-}
Copied: ndisc6/repos/community-x86_64/ndisc6.install (from rev 82791, ndisc6/trunk/ndisc6.install)
===================================================================
--- community-x86_64/ndisc6.install (rev 0)
+++ community-x86_64/ndisc6.install 2013-01-24 13:20:12 UTC (rev 82792)
@@ -0,0 +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:
Deleted: community-x86_64/rdnssd.confd
===================================================================
--- community-x86_64/rdnssd.confd 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-x86_64/rdnssd.confd 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,8 +0,0 @@
-
-# This default merge hook adds IPv6 DNS resolvers
-# before the existing IPv4 ones in /etc/resolv.conf.
-MERGEHOOK="/etc/rdnssd/merge-hook"
-
-# User who runs rdnssd.
-RUN_AS="nobody"
-
Deleted: community-x86_64/rdnssd.rc.d
===================================================================
--- community-x86_64/rdnssd.rc.d 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-x86_64/rdnssd.rc.d 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rdnssd
-
-PIDFILE="/var/run/rdnssd.pid"
-PID=`cat "$PIDFILE" 2>/dev/null`
-case "$1" in
- start)
- stat_busy "Starting RDNSS Daemon"
- if [ ! -z "$PID" -a -e "/proc/$PID" ]; then
- stat_append "-- Already running"
- stat_die
- else
- /usr/sbin/rdnssd -p "$PIDFILE" \
- ${MERGEHOOK/*/-H} "$MERGEHOOK" \
- ${RUN_AS/*/-u} "$RUN_AS"
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon rdnssd
- stat_done
- fi
- fi
- ;;
- stop)
- stat_busy "Stopping RDNSS Daemon"
- if [ -z "$PID" ]; then
- stat_append "-- Not running"
- stat_die
- else
- kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon sshd
- stat_done
- fi
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Deleted: community-x86_64/rdnssd.service
===================================================================
--- community-x86_64/rdnssd.service 2013-01-24 13:19:57 UTC (rev 82791)
+++ community-x86_64/rdnssd.service 2013-01-24 13:20:12 UTC (rev 82792)
@@ -1,12 +0,0 @@
-[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
Copied: ndisc6/repos/community-x86_64/rdnssd.service (from rev 82791, ndisc6/trunk/rdnssd.service)
===================================================================
--- community-x86_64/rdnssd.service (rev 0)
+++ community-x86_64/rdnssd.service 2013-01-24 13:20:12 UTC (rev 82792)
@@ -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
More information about the arch-commits
mailing list