Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/radvd/files/, net-misc/radvd/
Date: Tue, 27 Sep 2016 21:58:16
Message-Id: 1475013488.483250f63414b3a716e664d99c120dbd1a2211b0.xmw@gentoo
1 commit: 483250f63414b3a716e664d99c120dbd1a2211b0
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 27 21:57:44 2016 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 21:58:08 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483250f6
7
8 net-misc/radvd: drop old.
9
10 Package-Manager: portage-2.2.28
11
12 net-misc/radvd/Manifest | 1 -
13 .../radvd/files/radvd-2.10-musl-libc-fix.patch | 87 ----------------------
14 net-misc/radvd/radvd-2.12.ebuild | 69 -----------------
15 3 files changed, 157 deletions(-)
16
17 diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
18 index d1c07cd..50d3864 100644
19 --- a/net-misc/radvd/Manifest
20 +++ b/net-misc/radvd/Manifest
21 @@ -1,5 +1,4 @@
22 DIST radvd-1.9.8.tar.gz 176288 SHA256 645ccf1c9b16e769ff4179813712e580e2c8786d64a888d8afa1e296c057c1c1 SHA512 25ffa2fe1289ee826432ade3846aa5008e34ff9f0cbe954bf44ebae22198de59b40b7b4a70d19c74117b3280a7ca6a4bf740536f4a08e0bf169e760748548971 WHIRLPOOL 228182cb6fdc6065a728f679ee6d93286c48f186b209b6ff8d553f06317d0e799687c5abf0179cda5c42d2ca72ca32bdacbc31e0a14a06d18316a6538eb09017
23 -DIST radvd-2.12.tar.gz 210605 SHA256 6b81211e9027e008306ffdcb48948b0035f6e0f3bfcbf0a2a39b1b13f6b9c3fa SHA512 1703b90f2990a1fe2113b5ae1b564ebb25b9106ac13c2268f78aaea804263ca7cc33976fe30fd52f01a91283f66114b37200747d8178c4e1985035361e6143d9 WHIRLPOOL a10351d758397d527cef3e739f6783beb3090175868948b13e365dd1adee671a8cc821bbe8c3bfc6ba8e8622be886567bee68d3460d6220c0b14dffcf35f1b37
24 DIST radvd-2.13.tar.gz 211392 SHA256 bd009f13e253f546049103fdf829145bf47d4ad9341d49c3e500b1cfadd6d469 SHA512 050fd273727acfac6f6a7eb1245d4a6ef01cbfb4654a922b98f0944931535770154dd564a09a43bc96bd1a575ecd426cee042dc1129dc453cbda03d7975d49ce WHIRLPOOL 03451fb0561130c97cf509cf18ad69a508106e46ced18d351cd6274d009879006c552d4484ac2a470078f420951c60415e40852a2a43e20b90b19e2b89a94ae5
25 DIST radvd-2.14.tar.gz 211461 SHA256 46d31c05daea11c3d1e3dc092997d3631b3bc72b20a4f279b05304b83dbd7aa8 SHA512 8fdfd776f998b82e9dcbb29a13e44b1ba060f2e4b03bae0167549fb58731f16e80e980f9636e0d7614270b8e6457779ac044b433c5c5d26d9fb72ea9e2d3cb02 WHIRLPOOL 6f2974c4e9d689052b36885c2b82425e346bdd7fd3a928a650f2c71debc7cd5e3c13504759fb5cec20641f4e6fdf35ce6a83fe3023f6efa00efff3da84b01954
26 DIST radvd-2.15.tar.gz 214256 SHA256 83dd770595e6182757fd652cfc46ee462b73d8d34ba0848a1d481c4d51143607 SHA512 51ed457814f32750f915e22556c739d0a574af6318d469ae77c42fb7dfce8752edc2b70e3dd910d46c6198a5a81e4be4611dd4e379920488f4d4427cda0a7ea0 WHIRLPOOL 3b8d9436b6c37088f7af0de06e12ef93a05ab2b71df0617e63d6ee106b336a22dfad3df07e6c0301da5bf4d8a646a2c2ce2a50d9ca991f541c51ce35ebb2b187
27
28 diff --git a/net-misc/radvd/files/radvd-2.10-musl-libc-fix.patch b/net-misc/radvd/files/radvd-2.10-musl-libc-fix.patch
29 deleted file mode 100644
30 index c44f284..00000000
31 --- a/net-misc/radvd/files/radvd-2.10-musl-libc-fix.patch
32 +++ /dev/null
33 @@ -1,87 +0,0 @@
34 -From 1d8973e13d89802eee0b648451e2b97ac65cf9e0 Mon Sep 17 00:00:00 2001
35 -From: Reuben Hawkins <reubenhwk@×××××.com>
36 -Date: Sat, 16 May 2015 09:27:38 -0700
37 -Subject: [PATCH] device-linux.c: IEEE 802.15.4 musl libc fix
38 -
39 -The ARPHRD_IEEE802154 macro's definition and name have been recently
40 -moved around from kernel header to glibc headers. Include linux/if_arp.h
41 -if available and then use either ARPHRD_IEEE802154_MONITOR or ARPHRD_IEEE802154_PHY,
42 -whichever comes first.
43 ----
44 - configure.ac | 1 +
45 - device-linux.c | 8 ++++++++
46 - includes.h | 6 ++++++
47 - 3 files changed, 15 insertions(+)
48 -
49 -diff --git a/configure.ac b/configure.ac
50 -index 0c1efd6..4bd4c9d 100644
51 ---- a/configure.ac
52 -+++ b/configure.ac
53 -@@ -156,6 +156,7 @@ AC_HEADER_STDC
54 - AC_CHECK_HEADERS( \
55 - getopt.h \
56 - ifaddrs.h \
57 -+ linux/if_arp.h \
58 - machine/limits.h \
59 - machine/param.h \
60 - net/if_arp.h \
61 -diff --git a/device-linux.c b/device-linux.c
62 -index fa7d978..de83f2e 100644
63 ---- a/device-linux.c
64 -+++ b/device-linux.c
65 -@@ -79,10 +79,12 @@ int update_device_info(int sock, struct Interface *iface)
66 - iface->sllao.if_maxmtu = -1;
67 - break;
68 - #endif /* ARPHDR_ARCNET */
69 -+#ifdef ARPHRD_IEEE802154
70 - case ARPHRD_IEEE802154:
71 - iface->sllao.if_hwaddr_len = 64;
72 - iface->sllao.if_prefix_len = 64;
73 - break;
74 -+#endif
75 - default:
76 - iface->sllao.if_hwaddr_len = -1;
77 - iface->sllao.if_prefix_len = -1;
78 -@@ -371,9 +373,15 @@ static char const *hwstr(unsigned short sa_family)
79 - case ARPHRD_IEEE802154:
80 - rc = "ARPHRD_IEEE802154";
81 - break;
82 -+#if ARPHRD_IEEE802154_MONITOR
83 -+ case ARPHRD_IEEE802154_MONITOR:
84 -+ rc = "ARPHRD_IEEE802154_MONITOR";
85 -+ break;
86 -+#elif ARPHRD_IEEE802154_PHY
87 - case ARPHRD_IEEE802154_PHY:
88 - rc = "ARPHRD_IEEE802154_PHY";
89 - break;
90 -+#endif
91 - case ARPHRD_VOID:
92 - rc = "ARPHRD_VOID";
93 - break;
94 -diff --git a/includes.h b/includes.h
95 -index 39a36d2..d2449c4 100644
96 ---- a/includes.h
97 -+++ b/includes.h
98 -@@ -81,9 +81,11 @@
99 - #ifdef HAVE_NET_IF_DL_H
100 - #include <net/if_dl.h>
101 - #endif
102 -+
103 - #ifdef HAVE_NET_IF_TYPES_H
104 - #include <net/if_types.h>
105 - #endif
106 -+
107 - #if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)
108 - #include <net/if_arp.h>
109 - #endif /* defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) */
110 -@@ -100,3 +102,7 @@
111 - #include <ifaddrs.h>
112 - #endif
113 -
114 -+#ifdef HAVE_LINUX_IF_ARP_H
115 -+#include <linux/if_arp.h>
116 -+#endif
117 -+
118 ---
119 -2.3.6
120 -
121
122 diff --git a/net-misc/radvd/radvd-2.12.ebuild b/net-misc/radvd/radvd-2.12.ebuild
123 deleted file mode 100644
124 index 69d0543..00000000
125 --- a/net-misc/radvd/radvd-2.12.ebuild
126 +++ /dev/null
127 @@ -1,69 +0,0 @@
128 -# Copyright 1999-2016 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -# $Id$
131 -
132 -EAPI=5
133 -
134 -inherit systemd user eutils readme.gentoo
135 -
136 -DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
137 -HOMEPAGE="http://v6web.litech.org/radvd/"
138 -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
139 -
140 -LICENSE="BSD"
141 -SLOT="0"
142 -KEYWORDS="amd64 arm ~arm64 ~hppa ppc ~sparc x86 ~x86-fbsd"
143 -IUSE="kernel_FreeBSD selinux test"
144 -
145 -CDEPEND="dev-libs/libdaemon"
146 -DEPEND="${CDEPEND}
147 - sys-devel/bison
148 - sys-devel/flex
149 - virtual/pkgconfig
150 - test? ( dev-libs/check )"
151 -RDEPEND="${CDEPEND}
152 - selinux? ( sec-policy/selinux-radvd )
153 -"
154 -DOCS=( CHANGES README TODO radvd.conf.example )
155 -
156 -pkg_setup() {
157 - enewgroup radvd
158 - enewuser radvd -1 -1 /dev/null radvd
159 -
160 - # force ownership of radvd user and group (bug #19647)
161 - [[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/var/run/radvd
162 -}
163 -
164 -src_configure() {
165 - econf --with-pidfile=/var/run/radvd/radvd.pid \
166 - --disable-silent-rules \
167 - $(use_with test check)
168 -}
169 -
170 -src_install() {
171 - default
172 -
173 - dohtml INTRO.html
174 -
175 - newinitd "${FILESDIR}"/${PN}-1.9.1.init ${PN}
176 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
177 -
178 - systemd_dounit "${FILESDIR}"/${PN}.service
179 - systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd ${PN}.conf
180 -
181 - if use kernel_FreeBSD ; then
182 - sed -i -e \
183 - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
184 - "${D}"/etc/init.d/${PN} || die
185 - fi
186 -
187 - readme.gentoo_create_doc
188 -}
189 -
190 -DISABLE_AUTOFORMATTING=1
191 -DOC_CONTENTS="Please create a configuratoion ${ROOT}etc/radvd.conf.
192 -See ${ROOT}usr/share/doc/${PF} for an example.
193 -
194 -grsecurity users should allow a specific group to read /proc
195 -and add the radvd user to that group, otherwise radvd may
196 -segfault on startup."