summaryrefslogtreecommitdiff
path: root/net-misc/radvd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-14 11:10:11 +0100
commit81b8f20732954c4508baf2f77472b5435e3f851f (patch)
tree4180177cb7ba85eab50159ce96218c2419fb24a6 /net-misc/radvd
parent946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff)
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/Manifest4
-rw-r--r--net-misc/radvd/files/radvd-2.19-musl-include.patch28
-rw-r--r--net-misc/radvd/radvd-2.19-r2.ebuild4
-rw-r--r--net-misc/radvd/radvd-2.19-r4.ebuild66
4 files changed, 99 insertions, 3 deletions
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
index 1b179bb45fae..1bbeb908fe8b 100644
--- a/net-misc/radvd/Manifest
+++ b/net-misc/radvd/Manifest
@@ -1,6 +1,8 @@
AUX radvd-2.15.init 1537 BLAKE2B 6ca0db1eeeee77c345e4a5d9ee75d4e4fac188e3e19b153cff748c2b3a6c95960e8c360168b32a0f2b860bf40c21de86bcff1cfb69b2f70e7ce005e46f5d532f SHA512 cd3a6527d7b323266748cf674090419e89dc153daf883601604d040fceb55850d551e44371ba383a2bb98adaf361311969d1eea94a9f3ec1bf8c11aad54aac8e
+AUX radvd-2.19-musl-include.patch 699 BLAKE2B 48ed5443cdad829b22f044ed5783d495ea111d4d573b6a961cf0a2fc44f7bf5a6db7c43e98a4e7f287a54d42114e5ddee9ffbc80f5209a12401a380ed3c196b0 SHA512 2451de4b6ed7979c2c64b30006c5c146612788a990f656c7ed6def6307c7682cb98708c6b780db8778ebe4ae460545bc71c00918d9fcd4bab764a10c1d5bbaf5
AUX radvd.conf 337 BLAKE2B 67d50a761449b35389580ac956758f5c8c9373a14294a9e98e8238cce4ef2847694712e12296197ff196d58a9e5123aa6e27044a2137c36c34c6e2342ee7db63 SHA512 303a79c6e60293571f5cc868ba36f48a98658be8b6a9596c007461cbef2775d7deb67950fdacb3f37765cffdda164bc386e23bbb512cbabebd5173245841e401
AUX radvd.service 603 BLAKE2B fb573b528050d772926f3cb3cf82984b946345f636b661583f3aa5ef720a664cc13b20b8435ad2bcdd5bbdbad6451530384cd869f6d33d4e6f2ccf014ff9871b SHA512 3371d18e71ddb7672e929152d9f93201b49c1ce08c77d59cbcac7654362690a9ab97db08519f5fbe210738595aa52f30f5972cacca988b9274e2218c21bc7dd2
DIST radvd-2.19.tar.xz 168264 BLAKE2B e28705837263d2d377721e4eaee56b2f86d636d77cf052f08a7c74d5d7f3871f6821a2681ba4997f283b4debe9b3df28a88b01f6fc16b87ee7c3f8b6bbf431b4 SHA512 a1eb40af90fc83ebab2517c16a0f7e85c11338ab276bec400b7c33177748d1e36bc5abd7e373b6742f12f7c690dd7ae6b951bc832c7de9bbb56f7e9bc844ed22
-EBUILD radvd-2.19-r2.ebuild 1413 BLAKE2B 98bfa605c46f0ad1d3fe33395bdf30aade4991dbcfafa0baf1356fe5a88887c41350a35b2a429136a3a778dddfe86587e78bdcee2f444c1ca1b8da99f22dc4ed SHA512 9f9fbad92d6c2cf0a8ed735a046397c74e1bc252146d7cee463be3bd81ecfd7d957d67f96e62651b5c16dddb6956a747d5341b56280edf1def58ac955faebf95
+EBUILD radvd-2.19-r2.ebuild 1415 BLAKE2B a964bab2f685a74db1f08a15463b52423e70bf362c9b69a1b3988028567712d48ca435e2dc298935e9805b068b3857a5529598488612fca0c3ac90bfba193acb SHA512 434706478702c8320f0989ac17d43ffa293fef27619b61f5e98615a5da1488164c631d0ad33ad7e3e7aaa10030566fc0d9427ef212540d67929574e6df1c0a16
+EBUILD radvd-2.19-r4.ebuild 1420 BLAKE2B 5603cce415c09d6238d0b1349ed986661a9cf02755ce7168117ab212d870bb293868a69380d22c7424215bb1f5f1c196162e31fd763c9d4d07b443c8ff21f637 SHA512 8f1e5e347f498b31d2bab8e69853b74938fd1b849874a16d263af6ed5636f08f57f67dce0aa3718ffd86636ce3346e94f10fcfa5373bfdb4233ff243392c75ff
MISC metadata.xml 417 BLAKE2B 7f94abef147b6a917da0c6d0070855bc54c121e0a6fbb54161e7e7de2ce0bf709de51fd3a5e834b52b2b19fbd544330266852788a810ee7f60a039a5c7c6fe14 SHA512 1402bb46da7074aa12c0154417b4d1aa3c887a3817281b59f8dcd3aa98708b30b2fa522c23d920afb4ff824753e7be2555ceb085ee72b967ff60249959c10476
diff --git a/net-misc/radvd/files/radvd-2.19-musl-include.patch b/net-misc/radvd/files/radvd-2.19-musl-include.patch
new file mode 100644
index 000000000000..cba7666f8129
--- /dev/null
+++ b/net-misc/radvd/files/radvd-2.19-musl-include.patch
@@ -0,0 +1,28 @@
+https://github.com/radvd-project/radvd/commit/06689f8c06f44c7e87f7ff1d814428f88375b53f
+https://github.com/radvd-project/radvd/pull/161
+https://github.com/radvd-project/radvd/issues/158
+
+From: Jonathan Davies <jpds@protonmail.com>
+Date: Thu, 25 Nov 2021 15:29:18 +0000
+Subject: [PATCH] Reverts the include.h change in
+ 46883f8a1a02fe42040dd8e48aec0ed871545d4d
+
+Closes: #158
+
+Signed-off-by: Jonathan Davies <jpds@protonmail.com>
+--- a/includes.h
++++ b/includes.h
+@@ -76,12 +76,7 @@
+ #include <sys/sysctl.h>
+ #endif
+
+-#if !defined(__GLIBC__) && defined(linux)
+-#include <linux/if.h>
+-#define IF_NAMESIZE IFNAMSIZ
+-#else
+ #include <net/if.h>
+-#endif
+
+ #ifdef HAVE_NET_IF_DL_H
+ #include <net/if_dl.h>
+
diff --git a/net-misc/radvd/radvd-2.19-r2.ebuild b/net-misc/radvd/radvd-2.19-r2.ebuild
index 27ee5d0320ed..09f0b09aa5c9 100644
--- a/net-misc/radvd/radvd-2.19-r2.ebuild
+++ b/net-misc/radvd/radvd-2.19-r2.ebuild
@@ -6,8 +6,8 @@ EAPI=7
inherit readme.gentoo-r1 systemd toolchain-funcs
DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
-HOMEPAGE="http://v6web.litech.org/radvd/"
-SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.xz"
+HOMEPAGE="https://v6web.litech.org/radvd/"
+SRC_URI="https://v6web.litech.org/radvd/dist/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
diff --git a/net-misc/radvd/radvd-2.19-r4.ebuild b/net-misc/radvd/radvd-2.19-r4.ebuild
new file mode 100644
index 000000000000..856b6bce0726
--- /dev/null
+++ b/net-misc/radvd/radvd-2.19-r4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 systemd toolchain-funcs
+
+DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
+HOMEPAGE="https://v6web.litech.org/radvd/"
+SRC_URI="https://v6web.litech.org/radvd/dist/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="selinux test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ test? ( dev-libs/check )
+"
+RDEPEND="
+ acct-group/radvd
+ acct-user/radvd
+ selinux? ( sec-policy/selinux-radvd )
+"
+
+DOCS=( CHANGES README TODO radvd.conf.example )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-musl-include.patch
+)
+
+src_configure() {
+ econf --with-pidfile=/run/radvd/radvd.pid \
+ --with-systemdsystemunitdir=no \
+ $(use_with test check)
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ default
+
+ docinto html
+ dodoc INTRO.html
+
+ newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
+ newconfd "${FILESDIR}"/${PN}.conf ${PN}
+
+ systemd_dounit "${FILESDIR}"/${PN}.service
+
+ readme.gentoo_create_doc
+}
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Please create a configuration file ${ROOT}/etc/radvd.conf.
+See ${ROOT}/usr/share/doc/${PF} for an example.
+
+grsecurity users should allow a specific group to read /proc
+and add the radvd user to that group, otherwise radvd may
+segfault on startup."