[arch-commits] Commit in radvd/repos (12 files)

Sébastien Luttringer seblu at archlinux.org
Wed Jul 30 20:32:20 UTC 2014


    Date: Wednesday, July 30, 2014 @ 22:32:20
  Author: seblu
Revision: 116613

db-move: moved radvd from [community-testing] to [community] (i686, x86_64)

Added:
  radvd/repos/community-i686/01-fix-rdnssinfo-length-fix.patch
    (from rev 116612, radvd/repos/community-testing-i686/01-fix-rdnssinfo-length-fix.patch)
  radvd/repos/community-i686/PKGBUILD
    (from rev 116612, radvd/repos/community-testing-i686/PKGBUILD)
  radvd/repos/community-i686/radvd.service
    (from rev 116612, radvd/repos/community-testing-i686/radvd.service)
  radvd/repos/community-x86_64/01-fix-rdnssinfo-length-fix.patch
    (from rev 116612, radvd/repos/community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch)
  radvd/repos/community-x86_64/PKGBUILD
    (from rev 116612, radvd/repos/community-testing-x86_64/PKGBUILD)
  radvd/repos/community-x86_64/radvd.service
    (from rev 116612, radvd/repos/community-testing-x86_64/radvd.service)
Deleted:
  radvd/repos/community-i686/PKGBUILD
  radvd/repos/community-i686/radvd.service
  radvd/repos/community-testing-i686/
  radvd/repos/community-testing-x86_64/
  radvd/repos/community-x86_64/PKGBUILD
  radvd/repos/community-x86_64/radvd.service

----------------------------------------------------+
 /PKGBUILD                                          |  112 +++++++++++++++++++
 /radvd.service                                     |   18 +++
 community-i686/01-fix-rdnssinfo-length-fix.patch   |   25 ++++
 community-i686/PKGBUILD                            |   43 -------
 community-i686/radvd.service                       |    9 -
 community-x86_64/01-fix-rdnssinfo-length-fix.patch |   25 ++++
 community-x86_64/PKGBUILD                          |   43 -------
 community-x86_64/radvd.service                     |    9 -
 8 files changed, 180 insertions(+), 104 deletions(-)

Copied: radvd/repos/community-i686/01-fix-rdnssinfo-length-fix.patch (from rev 116612, radvd/repos/community-testing-i686/01-fix-rdnssinfo-length-fix.patch)
===================================================================
--- community-i686/01-fix-rdnssinfo-length-fix.patch	                        (rev 0)
+++ community-i686/01-fix-rdnssinfo-length-fix.patch	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,25 @@
+From d1282b5ddeadd1d93f61cceb122b942c56e629dc Mon Sep 17 00:00:00 2001
+From: Reuben Hawkins <reubenhwk at gmail.com>
+Date: Tue, 29 Jul 2014 20:31:18 -0700
+Subject: [PATCH] send.c: rdnssinfo length fix
+
+---
+ send.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/send.c b/send.c
+index ec6b93b..a2dded6 100644
+--- a/send.c
++++ b/send.c
+@@ -329,7 +329,7 @@ static void add_rdnss(struct safe_buffer * sb, struct AdvRDNSS const *rdnss, int
+ 		memcpy(&rdnssinfo.nd_opt_rdnssi_addr2, &rdnss->AdvRDNSSAddr2, sizeof(struct in6_addr));
+ 		memcpy(&rdnssinfo.nd_opt_rdnssi_addr3, &rdnss->AdvRDNSSAddr3, sizeof(struct in6_addr));
+ 
+-		safe_buffer_append(sb, &rdnssinfo, sizeof(rdnssinfo));
++		safe_buffer_append(sb, &rdnssinfo, sizeof(rdnssinfo) - (3 - rdnss->AdvRDNSSNumber) * sizeof(struct in6_addr));
+ 
+ 		rdnss = rdnss->next;
+ 	}
+-- 
+2.0.3
+

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-07-30 20:32:07 UTC (rev 116612)
+++ community-i686/PKGBUILD	2014-07-30 20:32:20 UTC (rev 116613)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-
-pkgname=radvd
-pkgver=1.14
-pkgrel=1
-pkgdesc='IPv6 Router Advertisement Daemon'
-url='http://www.litech.org/radvd/'
-license=('custom')
-depends=('glibc' 'libdaemon')
-arch=('i686' 'x86_64')
-backup=('etc/radvd.conf')
-source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
-        "$pkgname.service")
-sha1sums=('f2edd0d52490adeca643ba5e9aae5e190f8ea066'
-          'SKIP'
-          '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --with-pidfile=/run/radvd.pid \
-    --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="$pkgdir" install
-  # default config
-  install -D -m 644 radvd.conf.example "$pkgdir/etc/radvd.conf"
-  # license
-  install -D -m 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-  # systemd
-  install -D -m 644 ../$pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: radvd/repos/community-i686/PKGBUILD (from rev 116612, radvd/repos/community-testing-i686/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.2
+pkgrel=1
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('i686' 'x86_64')
+backup=('etc/radvd.conf')
+source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
+        "$pkgname.service"
+        '01-fix-rdnssinfo-length-fix.patch')
+sha1sums=('23ce0a4f2a927dab15088fcc781934172f8c039e'
+          'SKIP'
+          '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc'
+          'e19cd657042ee9897cfd7b89fac39f34f0707877')
+
+prepare() {
+  patch -p1 -d $pkgname-$pkgver < '01-fix-rdnssinfo-length-fix.patch'
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-pidfile=/run/radvd.pid \
+    --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # default config
+  install -D -m 644 radvd.conf.example "$pkgdir/etc/radvd.conf"
+  # license
+  install -D -m 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+  # systemd
+  install -D -m 644 ../$pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/radvd.service
===================================================================
--- community-i686/radvd.service	2014-07-30 20:32:07 UTC (rev 116612)
+++ community-i686/radvd.service	2014-07-30 20:32:20 UTC (rev 116613)
@@ -1,9 +0,0 @@
-[Unit]
-Description=IPv6 Router Advertisement Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
-
-[Install]
-WantedBy=multi-user.target

Copied: radvd/repos/community-i686/radvd.service (from rev 116612, radvd/repos/community-testing-i686/radvd.service)
===================================================================
--- community-i686/radvd.service	                        (rev 0)
+++ community-i686/radvd.service	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
+
+[Install]
+WantedBy=multi-user.target

Copied: radvd/repos/community-x86_64/01-fix-rdnssinfo-length-fix.patch (from rev 116612, radvd/repos/community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch)
===================================================================
--- community-x86_64/01-fix-rdnssinfo-length-fix.patch	                        (rev 0)
+++ community-x86_64/01-fix-rdnssinfo-length-fix.patch	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,25 @@
+From d1282b5ddeadd1d93f61cceb122b942c56e629dc Mon Sep 17 00:00:00 2001
+From: Reuben Hawkins <reubenhwk at gmail.com>
+Date: Tue, 29 Jul 2014 20:31:18 -0700
+Subject: [PATCH] send.c: rdnssinfo length fix
+
+---
+ send.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/send.c b/send.c
+index ec6b93b..a2dded6 100644
+--- a/send.c
++++ b/send.c
+@@ -329,7 +329,7 @@ static void add_rdnss(struct safe_buffer * sb, struct AdvRDNSS const *rdnss, int
+ 		memcpy(&rdnssinfo.nd_opt_rdnssi_addr2, &rdnss->AdvRDNSSAddr2, sizeof(struct in6_addr));
+ 		memcpy(&rdnssinfo.nd_opt_rdnssi_addr3, &rdnss->AdvRDNSSAddr3, sizeof(struct in6_addr));
+ 
+-		safe_buffer_append(sb, &rdnssinfo, sizeof(rdnssinfo));
++		safe_buffer_append(sb, &rdnssinfo, sizeof(rdnssinfo) - (3 - rdnss->AdvRDNSSNumber) * sizeof(struct in6_addr));
+ 
+ 		rdnss = rdnss->next;
+ 	}
+-- 
+2.0.3
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-07-30 20:32:07 UTC (rev 116612)
+++ community-x86_64/PKGBUILD	2014-07-30 20:32:20 UTC (rev 116613)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-
-pkgname=radvd
-pkgver=1.14
-pkgrel=1
-pkgdesc='IPv6 Router Advertisement Daemon'
-url='http://www.litech.org/radvd/'
-license=('custom')
-depends=('glibc' 'libdaemon')
-arch=('i686' 'x86_64')
-backup=('etc/radvd.conf')
-source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
-        "$pkgname.service")
-sha1sums=('f2edd0d52490adeca643ba5e9aae5e190f8ea066'
-          'SKIP'
-          '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --with-pidfile=/run/radvd.pid \
-    --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="$pkgdir" install
-  # default config
-  install -D -m 644 radvd.conf.example "$pkgdir/etc/radvd.conf"
-  # license
-  install -D -m 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-  # systemd
-  install -D -m 644 ../$pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: radvd/repos/community-x86_64/PKGBUILD (from rev 116612, radvd/repos/community-testing-x86_64/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.2
+pkgrel=1
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('i686' 'x86_64')
+backup=('etc/radvd.conf')
+source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc}
+        "$pkgname.service"
+        '01-fix-rdnssinfo-length-fix.patch')
+sha1sums=('23ce0a4f2a927dab15088fcc781934172f8c039e'
+          'SKIP'
+          '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc'
+          'e19cd657042ee9897cfd7b89fac39f34f0707877')
+
+prepare() {
+  patch -p1 -d $pkgname-$pkgver < '01-fix-rdnssinfo-length-fix.patch'
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-pidfile=/run/radvd.pid \
+    --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # default config
+  install -D -m 644 radvd.conf.example "$pkgdir/etc/radvd.conf"
+  # license
+  install -D -m 644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+  # systemd
+  install -D -m 644 ../$pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/radvd.service
===================================================================
--- community-x86_64/radvd.service	2014-07-30 20:32:07 UTC (rev 116612)
+++ community-x86_64/radvd.service	2014-07-30 20:32:20 UTC (rev 116613)
@@ -1,9 +0,0 @@
-[Unit]
-Description=IPv6 Router Advertisement Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
-
-[Install]
-WantedBy=multi-user.target

Copied: radvd/repos/community-x86_64/radvd.service (from rev 116612, radvd/repos/community-testing-x86_64/radvd.service)
===================================================================
--- community-x86_64/radvd.service	                        (rev 0)
+++ community-x86_64/radvd.service	2014-07-30 20:32:20 UTC (rev 116613)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list