[arch-commits] Commit in ndisc6/repos/community-x86_64 (8 files)
Sébastien Luttringer
seblu at gemini.archlinux.org
Fri Mar 25 23:25:12 UTC 2022
Date: Friday, March 25, 2022 @ 23:25:11
Author: seblu
Revision: 1176738
archrelease: copy trunk to community-x86_64
Added:
ndisc6/repos/community-x86_64/PKGBUILD
(from rev 1176737, ndisc6/trunk/PKGBUILD)
ndisc6/repos/community-x86_64/ndisc6.install
(from rev 1176737, ndisc6/trunk/ndisc6.install)
ndisc6/repos/community-x86_64/rdnssd at .service
(from rev 1176737, ndisc6/trunk/rdnssd at .service)
ndisc6/repos/community-x86_64/resolvconf-hook
(from rev 1176737, ndisc6/trunk/resolvconf-hook)
Deleted:
ndisc6/repos/community-x86_64/PKGBUILD
ndisc6/repos/community-x86_64/ndisc6.install
ndisc6/repos/community-x86_64/rdnssd at .service
ndisc6/repos/community-x86_64/resolvconf-hook
-----------------+
PKGBUILD | 132 +++++++++++++++++++++++++++---------------------------
ndisc6.install | 28 +++++------
rdnssd at .service | 20 ++++----
resolvconf-hook | 10 ++--
4 files changed, 95 insertions(+), 95 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-25 23:25:04 UTC (rev 1176737)
+++ PKGBUILD 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -1,66 +0,0 @@
-# Maintainer: Sébastien Luttringer
-# Contributor: Chris Brannon <chris at the-brannons.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-
-pkgname=ndisc6
-pkgver=1.0.4
-pkgrel=2
-pkgdesc='Collection of IPv6 networking utilities'
-arch=('x86_64')
-url='https://www.remlab.net/ndisc6/'
-license=('GPL')
-depends=('glibc' 'perl')
-makedepends=('glibc' 'gcc' 'systemd')
-options=('!emptydirs')
-install=$pkgname.install
-source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2"{,.asc}
- 'rdnssd at .service'
- 'resolvconf-hook')
-validpgpkeys=('9480583353E334D2F03FE80CC3EC6DBEDD6D12BD') # Rémi Denis-Courmont <remi at remlab.net>
-md5sums=('a796350c1629aa3e438a2bb55be1b792'
- 'SKIP'
- '58b44cbe6d38082fb299eb136754bf31'
- '48d0a77ed9536cd0d4642e1f1ca0b255')
-
-prepare() {
- cd $pkgname-$pkgver
- # apply patch from the source array (should be a pacman feature)
- local src
- for src in "${source[@]}"; do
- src="${src%%::*}"
- src="${src##*/}"
- [[ $src = *.patch ]] || continue
- msg2 "Applying patch $src..."
- patch -Np1 < "../$src"
- done
- # patch invalid path
- sed -ri 's,^PATH=.*,PATH=/usr/local/sbin:/usr/local/bin:/usr/bin,' rdnss/merge-hook.in
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --localstatedir=/var \
- --sysconfdir=/etc
- make
-}
-
-package() {
- pushd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- popd
-
- # service
- install -Dm644 "$srcdir/rdnssd at .service" "$pkgdir/usr/lib/systemd/system/rdnssd at .service"
-
- # tmpfiles
- 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"
-
- # resolvconf merge hook
- install -Dm755 "$srcdir/resolvconf-hook" "$pkgdir/etc/rdnssd/resolvconf-hook"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ndisc6/repos/community-x86_64/PKGBUILD (from rev 1176737, ndisc6/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -0,0 +1,66 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Chris Brannon <chris at the-brannons.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=ndisc6
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='Collection of IPv6 networking utilities'
+arch=('x86_64')
+url='https://www.remlab.net/ndisc6/'
+license=('GPL')
+depends=('glibc' 'perl')
+makedepends=('glibc' 'gcc' 'systemd')
+options=('!emptydirs')
+install=$pkgname.install
+source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2"
+ 'rdnssd at .service'
+ 'resolvconf-hook')
+#Contacted by mail, Rémi was not able to provide its public key.
+#He suggested to only rely on https to trust the source.
+sha256sums=('36932f9fc47e2844abcda7550fa1343b3af4b4208dfb61e0c9d9224aad5df351'
+ '7b3055a55b6367691cc42e6ba30879f6a2690629ad66211448649a6e7a81758c'
+ 'c485bb8e5ee480dca2897f950ba9854f8b9deaf782480072536fa4f2d0152d24')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local src
+ for src in "${source[@]}"; do
+ src="${src%%::*}"
+ src="${src##*/}"
+ [[ $src = *.patch ]] || continue
+ echo "Applying patch $src..."
+ patch -Np1 < "../$src"
+ done
+ # patch invalid path
+ sed -ri 's,^PATH=.*,PATH=/usr/local/sbin:/usr/local/bin:/usr/bin,' rdnss/merge-hook.in
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ pushd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ popd
+
+ # service
+ install -Dm644 "$srcdir/rdnssd at .service" "$pkgdir/usr/lib/systemd/system/rdnssd at .service"
+
+ # tmpfiles
+ 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"
+
+ # resolvconf merge hook
+ install -Dm755 "$srcdir/resolvconf-hook" "$pkgdir/etc/rdnssd/resolvconf-hook"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: ndisc6.install
===================================================================
--- ndisc6.install 2022-03-25 23:25:04 UTC (rev 1176737)
+++ ndisc6.install 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if (( "$(vercmp $2 1.0.2-7)" <= 0 )); then
- cat << EOF
-===> rdnssd.service has been replaced by rdnssd at .service. Update your setup.
-===> hint: systemctl enable rdnssd at merge-hook.service
-EOF
- fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: ndisc6/repos/community-x86_64/ndisc6.install (from rev 1176737, ndisc6/trunk/ndisc6.install)
===================================================================
--- ndisc6.install (rev 0)
+++ ndisc6.install 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( "$(vercmp $2 1.0.2-7)" <= 0 )); then
+ cat << EOF
+===> rdnssd.service has been replaced by rdnssd at .service. Update your setup.
+===> hint: systemctl enable rdnssd at merge-hook.service
+EOF
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: rdnssd at .service
===================================================================
--- rdnssd at .service 2022-03-25 23:25:04 UTC (rev 1176737)
+++ rdnssd at .service 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -1,10 +0,0 @@
-[Unit]
-Description=RDNSS daemon for Linux
-Before=network.target
-Requires=network.target
-
-[Service]
-ExecStart=/usr/bin/rdnssd -f -H /etc/rdnssd/%i
-
-[Install]
-WantedBy=multi-user.target
Copied: ndisc6/repos/community-x86_64/rdnssd at .service (from rev 1176737, ndisc6/trunk/rdnssd at .service)
===================================================================
--- rdnssd at .service (rev 0)
+++ rdnssd at .service 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -0,0 +1,10 @@
+[Unit]
+Description=RDNSS daemon for Linux
+Before=network.target
+Requires=network.target
+
+[Service]
+ExecStart=/usr/bin/rdnssd -f -H /etc/rdnssd/%i
+
+[Install]
+WantedBy=multi-user.target
Deleted: resolvconf-hook
===================================================================
--- resolvconf-hook 2022-03-25 23:25:04 UTC (rev 1176737)
+++ resolvconf-hook 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-if [[ -f /run/rdnssd/resolv.conf ]]; then
- /usr/bin/resolvconf -a rdnssd < /run/rdnssd/resolv.conf
-fi
Copied: ndisc6/repos/community-x86_64/resolvconf-hook (from rev 1176737, ndisc6/trunk/resolvconf-hook)
===================================================================
--- resolvconf-hook (rev 0)
+++ resolvconf-hook 2022-03-25 23:25:11 UTC (rev 1176738)
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+if [[ -f /run/rdnssd/resolv.conf ]]; then
+ /usr/bin/resolvconf -a rdnssd < /run/rdnssd/resolv.conf
+fi
More information about the arch-commits
mailing list