[arch-commits] Commit in radvd/repos (10 files)
Sébastien Luttringer
seblu at archlinux.org
Wed Jul 30 09:36:28 UTC 2014
Date: Wednesday, July 30, 2014 @ 11:36:28
Author: seblu
Revision: 116580
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
radvd/repos/community-testing-i686/01-fix-rdnssinfo-length-fix.patch
(from rev 116579, radvd/trunk/01-fix-rdnssinfo-length-fix.patch)
radvd/repos/community-testing-i686/PKGBUILD
(from rev 116579, radvd/trunk/PKGBUILD)
radvd/repos/community-testing-i686/radvd.service
(from rev 116579, radvd/trunk/radvd.service)
radvd/repos/community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch
(from rev 116579, radvd/trunk/01-fix-rdnssinfo-length-fix.patch)
radvd/repos/community-testing-x86_64/PKGBUILD
(from rev 116579, radvd/trunk/PKGBUILD)
radvd/repos/community-testing-x86_64/radvd.service
(from rev 116579, radvd/trunk/radvd.service)
Deleted:
radvd/repos/community-testing-i686/PKGBUILD
radvd/repos/community-testing-i686/radvd.service
radvd/repos/community-testing-x86_64/PKGBUILD
radvd/repos/community-testing-x86_64/radvd.service
------------------------------------------------------------+
/PKGBUILD | 112 +++++++++++
/radvd.service | 18 +
community-testing-i686/01-fix-rdnssinfo-length-fix.patch | 25 ++
community-testing-i686/PKGBUILD | 49 ----
community-testing-i686/radvd.service | 9
community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch | 25 ++
community-testing-x86_64/PKGBUILD | 49 ----
community-testing-x86_64/radvd.service | 9
8 files changed, 180 insertions(+), 116 deletions(-)
Copied: radvd/repos/community-testing-i686/01-fix-rdnssinfo-length-fix.patch (from rev 116579, radvd/trunk/01-fix-rdnssinfo-length-fix.patch)
===================================================================
--- community-testing-i686/01-fix-rdnssinfo-length-fix.patch (rev 0)
+++ community-testing-i686/01-fix-rdnssinfo-length-fix.patch 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-i686/PKGBUILD
===================================================================
--- community-testing-i686/PKGBUILD 2014-07-30 09:36:02 UTC (rev 116579)
+++ community-testing-i686/PKGBUILD 2014-07-30 09:36:28 UTC (rev 116580)
@@ -1,49 +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=2.1
-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")
-sha1sums=('385ca18da5c1ef40a1b27854b081b0856f053a4a'
- 'SKIP'
- '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
-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:
Copied: radvd/repos/community-testing-i686/PKGBUILD (from rev 116579, radvd/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-i686/radvd.service
===================================================================
--- community-testing-i686/radvd.service 2014-07-30 09:36:02 UTC (rev 116579)
+++ community-testing-i686/radvd.service 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-i686/radvd.service (from rev 116579, radvd/trunk/radvd.service)
===================================================================
--- community-testing-i686/radvd.service (rev 0)
+++ community-testing-i686/radvd.service 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-x86_64/01-fix-rdnssinfo-length-fix.patch (from rev 116579, radvd/trunk/01-fix-rdnssinfo-length-fix.patch)
===================================================================
--- community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch (rev 0)
+++ community-testing-x86_64/01-fix-rdnssinfo-length-fix.patch 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-x86_64/PKGBUILD
===================================================================
--- community-testing-x86_64/PKGBUILD 2014-07-30 09:36:02 UTC (rev 116579)
+++ community-testing-x86_64/PKGBUILD 2014-07-30 09:36:28 UTC (rev 116580)
@@ -1,49 +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=2.1
-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")
-sha1sums=('385ca18da5c1ef40a1b27854b081b0856f053a4a'
- 'SKIP'
- '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc')
-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:
Copied: radvd/repos/community-testing-x86_64/PKGBUILD (from rev 116579, radvd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-x86_64/radvd.service
===================================================================
--- community-testing-x86_64/radvd.service 2014-07-30 09:36:02 UTC (rev 116579)
+++ community-testing-x86_64/radvd.service 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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-testing-x86_64/radvd.service (from rev 116579, radvd/trunk/radvd.service)
===================================================================
--- community-testing-x86_64/radvd.service (rev 0)
+++ community-testing-x86_64/radvd.service 2014-07-30 09:36:28 UTC (rev 116580)
@@ -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