[arch-commits] Commit in radvd/trunk (3 files)
Thore Bödecker
foxxx0 at archlinux.org
Tue Feb 26 12:07:09 UTC 2019
Date: Tuesday, February 26, 2019 @ 12:07:08
Author: foxxx0
Revision: 436124
upgpkg: radvd 2.18-1
update to 2.18
Modified:
radvd/trunk/PKGBUILD
radvd/trunk/radvd.service
Deleted:
radvd/trunk/avoid-premature-warning-about-all-zeros-prefix.patch
------------------------------------------------------+
PKGBUILD | 22 ++--------
avoid-premature-warning-about-all-zeros-prefix.patch | 36 -----------------
radvd.service | 2
3 files changed, 7 insertions(+), 53 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-26 11:13:46 UTC (rev 436123)
+++ PKGBUILD 2019-02-26 12:07:08 UTC (rev 436124)
@@ -4,8 +4,8 @@
# Contributor: Mark Smith <markzzzsmith at yahoo.com.au>
pkgname=radvd
-pkgver=2.17
-pkgrel=2
+pkgver=2.18
+pkgrel=1
pkgdesc='IPv6 Router Advertisement Daemon'
url='http://www.litech.org/radvd/'
license=('custom')
@@ -13,25 +13,15 @@
makedepends=('check')
arch=('x86_64')
backup=('etc/radvd.conf')
-validpgpkeys=('B11F2EED32FB6728F700337C411FA8C112D91A31') # Reuben Hawkins
+validpgpkeys=('10E2511038172B516DCA5BD36FE19F21451C9A2B') # 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'
+ "${pkgname}.service")
+sha512sums=('f45a600d63a93fc58cc3d1c33545ed641337a82281dbeca2f98a9fee224d38e7c547c1624e02682df007e0215b39b5756f60093bae9264d54e4b388f89b6d108'
'SKIP'
- 'ff24665937ab2b937d24599e3ae14956d531f969a471b6616775c3d5c48330ae1b22cdd4d569867a92c3d6af1548be75de70e5ead6a9ae4ae45566a6523988dd'
- '413ce0c04f1024d9bfba34911834e9db4a2d30e6c270f989f63c33cd04deabb87627ea2e62a364ac80e44c5501c8ed5afd50f8d7446725240815cae95ae086d5')
+ 'f8abe3e0233c33313e768c45b2873bfc70b6461337c57ae6e07196d3e9d23338fdec56b1c92d3fa1a2a691f83fd850588095352570ce3d2c0cc32ac07862f426')
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
:
}
Deleted: avoid-premature-warning-about-all-zeros-prefix.patch
===================================================================
--- avoid-premature-warning-about-all-zeros-prefix.patch 2019-02-26 11:13:46 UTC (rev 436123)
+++ avoid-premature-warning-about-all-zeros-prefix.patch 2019-02-26 12:07:08 UTC (rev 436124)
@@ -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);
Modified: radvd.service
===================================================================
--- radvd.service 2019-02-26 11:13:46 UTC (rev 436123)
+++ radvd.service 2019-02-26 12:07:08 UTC (rev 436124)
@@ -3,7 +3,7 @@
After=network.target
[Service]
-ExecStart=/usr/bin/radvd --nodaemon --logmethod=stderr
+ExecStart=/usr/bin/radvd --nodaemon
[Install]
WantedBy=multi-user.target
More information about the arch-commits
mailing list