[arch-commits] Commit in radvd/repos/community-x86_64 (5 files)

Thore Bödecker foxxx0 at archlinux.org
Tue Feb 26 12:07:17 UTC 2019


    Date: Tuesday, February 26, 2019 @ 12:07:16
  Author: foxxx0
Revision: 436125

archrelease: copy trunk to community-x86_64

Added:
  radvd/repos/community-x86_64/PKGBUILD
    (from rev 436124, radvd/trunk/PKGBUILD)
  radvd/repos/community-x86_64/radvd.service
    (from rev 436124, radvd/trunk/radvd.service)
Deleted:
  radvd/repos/community-x86_64/PKGBUILD
  radvd/repos/community-x86_64/avoid-premature-warning-about-all-zeros-prefix.patch
  radvd/repos/community-x86_64/radvd.service

------------------------------------------------------+
 PKGBUILD                                             |  125 +++++++----------
 avoid-premature-warning-about-all-zeros-prefix.patch |   36 ----
 radvd.service                                        |   18 +-
 3 files changed, 66 insertions(+), 113 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-26 12:07:08 UTC (rev 436124)
+++ PKGBUILD	2019-02-26 12:07:16 UTC (rev 436125)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
-
-pkgname=radvd
-pkgver=2.17
-pkgrel=2
-pkgdesc='IPv6 Router Advertisement Daemon'
-url='http://www.litech.org/radvd/'
-license=('custom')
-depends=('glibc')
-makedepends=('check')
-arch=('x86_64')
-backup=('etc/radvd.conf')
-validpgpkeys=('B11F2EED32FB6728F700337C411FA8C112D91A31') # Reuben Hawkins
-source=("http://www.litech.org/radvd/dist/${pkgname}-${pkgver}.tar.xz"{,.asc}
-        "$pkgname.service"
-        'avoid-premature-warning-about-all-zeros-prefix.patch')
-sha512sums=('f62aa8acb423320423637c7908abe1d3b8ec4b32f78a81ba67c1a4ecf9bcaaae4e3671fc0c2c5b5776edfe5e6b5d3bf1daf60e55387dd0c0d7370a86d867873c'
-            'SKIP'
-            'ff24665937ab2b937d24599e3ae14956d531f969a471b6616775c3d5c48330ae1b22cdd4d569867a92c3d6af1548be75de70e5ead6a9ae4ae45566a6523988dd'
-            '413ce0c04f1024d9bfba34911834e9db4a2d30e6c270f989f63c33cd04deabb87627ea2e62a364ac80e44c5501c8ed5afd50f8d7446725240815cae95ae086d5')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-    if [[ "${filename}" =~ \.patch$ ]]; then
-      msg2 "Applying patch ${filename##*/}"
-      patch -p1 -N -i "${srcdir}/${filename##*/}"
-    fi
-  done
-  :
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --with-pidfile=/run/radvd.pid \
-    --with-check \
-    --mandir=/usr/share/man
-  make
-}
-
-check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make check
-}
-
-package() {
-  cd "${srcdir}/${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 "${srcdir}/${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 436124, radvd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-26 12:07:16 UTC (rev 436125)
@@ -0,0 +1,57 @@
+# Maintainer: Sébastien Luttringer
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
+
+pkgname=radvd
+pkgver=2.18
+pkgrel=1
+pkgdesc='IPv6 Router Advertisement Daemon'
+url='http://www.litech.org/radvd/'
+license=('custom')
+depends=('glibc')
+makedepends=('check')
+arch=('x86_64')
+backup=('etc/radvd.conf')
+validpgpkeys=('10E2511038172B516DCA5BD36FE19F21451C9A2B') # Reuben Hawkins
+source=("http://www.litech.org/radvd/dist/${pkgname}-${pkgver}.tar.xz"{,.asc}
+        "${pkgname}.service")
+sha512sums=('f45a600d63a93fc58cc3d1c33545ed641337a82281dbeca2f98a9fee224d38e7c547c1624e02682df007e0215b39b5756f60093bae9264d54e4b388f89b6d108'
+            'SKIP'
+            'f8abe3e0233c33313e768c45b2873bfc70b6461337c57ae6e07196d3e9d23338fdec56b1c92d3fa1a2a691f83fd850588095352570ce3d2c0cc32ac07862f426')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  :
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-pidfile=/run/radvd.pid \
+    --with-check \
+    --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/${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 "${srcdir}/${pkgname}.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: avoid-premature-warning-about-all-zeros-prefix.patch
===================================================================
--- avoid-premature-warning-about-all-zeros-prefix.patch	2019-02-26 12:07:08 UTC (rev 436124)
+++ avoid-premature-warning-about-all-zeros-prefix.patch	2019-02-26 12:07:16 UTC (rev 436125)
@@ -1,36 +0,0 @@
-From b37baa1137d0bd5b9cceb2e447550f1c0a105ac6 Mon Sep 17 00:00:00 2001
-From: Sergey Alirzaev <zl29ah at gmail.com>
-Date: Thu, 16 Nov 2017 14:53:45 +0300
-Subject: [PATCH] avoid premature warning about all-zeros prefix
-
----
- gram.y | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/gram.y b/gram.y
-index 1c74c9d..cc0dd4b 100644
---- a/gram.y
-+++ b/gram.y
-@@ -436,9 +436,11 @@ prefixhead	: T_PREFIX IPV6ADDR '/' NUMBER
- 			struct in6_addr zeroaddr;
- 			memset(&zeroaddr, 0, sizeof(zeroaddr));
- 
-+#ifndef HAVE_IFADDRS_H	// all-zeros prefix is a way to tell us to get the prefix from the interface config
- 			if (!memcmp($2, &zeroaddr, sizeof(struct in6_addr))) {
- 				flog(LOG_WARNING, "invalid all-zeros prefix in %s, line %d", filename, num_lines);
- 			}
-+#endif
- 			prefix = malloc(sizeof(struct AdvPrefix));
- 
- 			if (prefix == NULL) {
---- a/test/send.c	2017-06-29 06:32:29.000000000 +0200
-+++ b/test/send.c	2018-01-09 16:50:01.329226089 +0100
-@@ -50,7 +50,7 @@
- 	};
- 
- 	ck_assert_int_eq(sizeof(expected), sb.used);
--	ck_assert_int_eq(0, memcmp(expected, sb.buffer, sb.used));
-+	//ck_assert_int_eq(0, memcmp(expected, sb.buffer, sb.used));
- #endif
- 
- 	safe_buffer_free(&sb);

Deleted: radvd.service
===================================================================
--- radvd.service	2019-02-26 12:07:08 UTC (rev 436124)
+++ radvd.service	2019-02-26 12:07:16 UTC (rev 436125)
@@ -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 436124, radvd/trunk/radvd.service)
===================================================================
--- radvd.service	                        (rev 0)
+++ radvd.service	2019-02-26 12:07:16 UTC (rev 436125)
@@ -0,0 +1,9 @@
+[Unit]
+Description=IPv6 Router Advertisement Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/radvd --nodaemon
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list