1 |
commit: 40df145a08d097de25b416cb23508bcef502efca |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 28 18:17:51 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 28 18:19:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40df145a |
7 |
|
8 |
net-misc/radvd: 2.19 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
net-misc/radvd/Manifest | 1 + |
14 |
net-misc/radvd/radvd-2.19.ebuild | 73 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest |
18 |
index 8658b7a1b10..20f1a9e7a00 100644 |
19 |
--- a/net-misc/radvd/Manifest |
20 |
+++ b/net-misc/radvd/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST radvd-2.17.tar.gz 214937 BLAKE2B 1eec22e09607c0396f9539aef203b76d5beca18d1fdf5aa0ff202dcb2ff0e36ed8af74fc7900eb7b16012bfb0672f9660f17c88c222ac0269947d3cf4a270db3 SHA512 117a42c2c007d730b956cf999ac281f50a1a9b57c9428fe0f860cb211ac234ec62f59fead244a80191aaa15ef4ce96fb7dba9bd1a3cb6c3b29f1b6897d7a6132 |
23 |
DIST radvd-2.18.tar.gz 224183 BLAKE2B 4bacf9e17b78286a032ca5e6b6424aa8742d2e42b3a00a67e5d8beeda139a70a574e69c0d8fde2c2754b6e9c9e92a97dfb6a2a67b4b3ce91740aa8edee994c5e SHA512 b66068ec40d4f228f679946039d7c696bf611eb55b88cb37bbea5e748cf7cdda796dc0b12e0f1e54b26a6af21750c8714ea18a152ef932741c0f0a6a7a9de59a |
24 |
+DIST radvd-2.19.tar.gz 222794 BLAKE2B 1c877d5a9eda6bda41b5c20ac9c1e28a26defc192fe14fc2d65888280bc96fc1ff6f4212ccaeac5f7e899087b2805772ed4c0cbbda163b2a87c79a2c178eda2b SHA512 caa621fd77e34ff6858d60a41b0ee02aff967ac14f2b84c402359744f4bece5c1563419860431c328adc0385e9893ed1f2421d652247a3aa0dfc0aaad1e01233 |
25 |
|
26 |
diff --git a/net-misc/radvd/radvd-2.19.ebuild b/net-misc/radvd/radvd-2.19.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f11d60a013d |
29 |
--- /dev/null |
30 |
+++ b/net-misc/radvd/radvd-2.19.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit systemd user eutils readme.gentoo-r1 toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Linux IPv6 Router Advertisement Daemon" |
40 |
+HOMEPAGE="http://v6web.litech.org/radvd/" |
41 |
+SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="kernel_FreeBSD selinux test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+CDEPEND="dev-libs/libdaemon" |
50 |
+DEPEND="${CDEPEND} |
51 |
+ sys-devel/bison |
52 |
+ sys-devel/flex |
53 |
+ virtual/pkgconfig |
54 |
+ test? ( dev-libs/check )" |
55 |
+RDEPEND="${CDEPEND} |
56 |
+ selinux? ( sec-policy/selinux-radvd ) |
57 |
+" |
58 |
+DOCS=( CHANGES README TODO radvd.conf.example ) |
59 |
+ |
60 |
+PATCHES=( |
61 |
+) |
62 |
+ |
63 |
+pkg_setup() { |
64 |
+ enewgroup radvd |
65 |
+ enewuser radvd -1 -1 /dev/null radvd |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf --with-pidfile=/run/radvd/radvd.pid \ |
70 |
+ --with-systemdsystemunitdir=no \ |
71 |
+ $(use_with test check) |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ emake AR="$(tc-getAR)" |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ default |
80 |
+ |
81 |
+ insinto /usr/share/doc/${PF}/html |
82 |
+ doins INTRO.html |
83 |
+ |
84 |
+ newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} |
85 |
+ newconfd "${FILESDIR}"/${PN}.conf ${PN} |
86 |
+ |
87 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
88 |
+ |
89 |
+ if use kernel_FreeBSD ; then |
90 |
+ sed -i -e \ |
91 |
+ 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ |
92 |
+ "${D}"/etc/init.d/${PN} || die |
93 |
+ fi |
94 |
+ |
95 |
+ readme.gentoo_create_doc |
96 |
+} |
97 |
+ |
98 |
+DISABLE_AUTOFORMATTING=1 |
99 |
+DOC_CONTENTS="Please create a configuration file ${ROOT}etc/radvd.conf. |
100 |
+See ${ROOT}usr/share/doc/${PF} for an example. |
101 |
+ |
102 |
+grsecurity users should allow a specific group to read /proc |
103 |
+and add the radvd user to that group, otherwise radvd may |
104 |
+segfault on startup." |