diff options
author | 2021-05-03 23:17:15 +0200 | |
---|---|---|
committer | 2021-05-15 20:25:36 +0200 | |
commit | e0781b9663a80448f0aa5fefe5c14d6f0ad195e6 (patch) | |
tree | 49814856fadf109de7db95e051228a9b92052fd0 /net-misc | |
parent | dev-libs/libical: Drop 3.0.8 (diff) | |
download | gentoo-e0781b9663a80448f0aa5fefe5c14d6f0ad195e6.tar.gz gentoo-e0781b9663a80448f0aa5fefe5c14d6f0ad195e6.tar.bz2 gentoo-e0781b9663a80448f0aa5fefe5c14d6f0ad195e6.zip |
net-misc/radvd: Drop 2.17 and 2.18, EAPI6--
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/radvd/Manifest | 2 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch | 48 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.17-r1.ebuild | 66 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.17-r2.ebuild | 70 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.18-r1.ebuild | 73 | ||||
-rw-r--r-- | net-misc/radvd/radvd-2.18.ebuild | 69 |
6 files changed, 0 insertions, 328 deletions
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index 20f1a9e7a006..acedd8af8fa2 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -1,3 +1 @@ -DIST radvd-2.17.tar.gz 214937 BLAKE2B 1eec22e09607c0396f9539aef203b76d5beca18d1fdf5aa0ff202dcb2ff0e36ed8af74fc7900eb7b16012bfb0672f9660f17c88c222ac0269947d3cf4a270db3 SHA512 117a42c2c007d730b956cf999ac281f50a1a9b57c9428fe0f860cb211ac234ec62f59fead244a80191aaa15ef4ce96fb7dba9bd1a3cb6c3b29f1b6897d7a6132 -DIST radvd-2.18.tar.gz 224183 BLAKE2B 4bacf9e17b78286a032ca5e6b6424aa8742d2e42b3a00a67e5d8beeda139a70a574e69c0d8fde2c2754b6e9c9e92a97dfb6a2a67b4b3ce91740aa8edee994c5e SHA512 b66068ec40d4f228f679946039d7c696bf611eb55b88cb37bbea5e748cf7cdda796dc0b12e0f1e54b26a6af21750c8714ea18a152ef932741c0f0a6a7a9de59a DIST radvd-2.19.tar.gz 222794 BLAKE2B 1c877d5a9eda6bda41b5c20ac9c1e28a26defc192fe14fc2d65888280bc96fc1ff6f4212ccaeac5f7e899087b2805772ed4c0cbbda163b2a87c79a2c178eda2b SHA512 caa621fd77e34ff6858d60a41b0ee02aff967ac14f2b84c402359744f4bece5c1563419860431c328adc0385e9893ed1f2421d652247a3aa0dfc0aaad1e01233 diff --git a/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch b/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch deleted file mode 100644 index 09fb29f9e318..000000000000 --- a/net-misc/radvd/files/radvd-2.17-nd_opt_6co.patch +++ /dev/null @@ -1,48 +0,0 @@ -nd_opt_6co: fix serialization - -Bug: https://github.com/reubenhwk/radvd/issues/77 -Bug: https://bugs.gentoo.org/637958 ---- a/radvd.h -+++ b/radvd.h -@@ -261,5 +261,3 @@ struct nd_opt_6co { - uint8_t nd_opt_6co_context_len; -- uint8_t nd_opt_6co_res : 3; -- uint8_t nd_opt_6co_c : 1; -- uint8_t nd_opt_6co_cid : 4; -+ uint8_t nd_opt_6co_res_c_cid; /* [ res=3-bits | c=1-bit | cid=4-bits ] */ - uint16_t nd_opt_6co_reserved; ---- a/send.c -+++ b/send.c -@@ -621,5 +621,5 @@ static void add_ra_option_lowpanco(struct safe_buffer *sb, struct AdvLowpanCo co - co.nd_opt_6co_context_len = lowpanco->ContextLength; -- co.nd_opt_6co_c = lowpanco->ContextCompressionFlag; -- co.nd_opt_6co_cid = lowpanco->AdvContextID; -- co.nd_opt_6co_valid_lifetime = lowpanco->AdvLifeTime; -+ co.nd_opt_6co_res_c_cid = ((lowpanco->ContextCompressionFlag ? 1 : 0) << 4) -+ | (lowpanco->AdvContextID & 0x0F); -+ co.nd_opt_6co_valid_lifetime = htons(lowpanco->AdvLifeTime); - co.nd_opt_6co_con_prefix = lowpanco->AdvContextPrefix; -@@ -637,5 +637,5 @@ static void add_ra_option_abro(struct safe_buffer *sb, struct AdvAbro const *abr - abro.nd_opt_abro_len = 3; -- abro.nd_opt_abro_ver_low = abroo->Version[1]; -- abro.nd_opt_abro_ver_high = abroo->Version[0]; -- abro.nd_opt_abro_valid_lifetime = abroo->ValidLifeTime; -+ abro.nd_opt_abro_ver_low = htons(abroo->Version[1]); -+ abro.nd_opt_abro_ver_high = htons(abroo->Version[0]); -+ abro.nd_opt_abro_valid_lifetime = htons(abroo->ValidLifeTime); - abro.nd_opt_abro_6lbr_address = abroo->LBRaddress; ---- a/test/send.c -+++ b/test/send.c -@@ -311,6 +311,5 @@ START_TEST(test_add_ra_option_lowpanco) - unsigned char expected[] = { -- 0x22, 0x03, 0x32, 0x48, 0x00, 0x00, 0xe8, 0x03, 0x00, 0x00, 0x00, 0x00, -+ 0x22, 0x03, 0x32, 0x14, 0x00, 0x00, 0x03, 0xe8, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - }; -- - ck_assert_int_eq(sb.used, sizeof(expected)); -@@ -336,3 +335,3 @@ START_TEST(test_add_ra_option_abro) - unsigned char expected[] = { -- 0x23, 0x03, 0x0a, 0x00, 0x02, 0x00, 0x02, 0x00, 0xfe, 0x80, 0x00, 0x00, -+ 0x23, 0x03, 0x00, 0x0a, 0x00, 0x02, 0x00, 0x02, 0xfe, 0x80, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0xa2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, diff --git a/net-misc/radvd/radvd-2.17-r1.ebuild b/net-misc/radvd/radvd-2.17-r1.ebuild deleted file mode 100644 index 7bed2c874d95..000000000000 --- a/net-misc/radvd/radvd-2.17-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user readme.gentoo-r1 - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ppc sparc x86" -IUSE="kernel_FreeBSD selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -src_configure() { - econf --with-pidfile=/run/radvd/radvd.pid \ - --with-systemdsystemunitdir=no \ - $(use_with test check) -} - -src_install() { - default - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - if use kernel_FreeBSD ; then - sed -i -e \ - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ - "${D}"/etc/init.d/${PN} || die - fi - - 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." diff --git a/net-misc/radvd/radvd-2.17-r2.ebuild b/net-misc/radvd/radvd-2.17-r2.ebuild deleted file mode 100644 index f323029a5944..000000000000 --- a/net-misc/radvd/radvd-2.17-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user readme.gentoo-r1 - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~sparc ~x86" -IUSE="kernel_FreeBSD selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -PATCHES=( - "${FILESDIR}"/${P}-nd_opt_6co.patch -) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -src_configure() { - econf --with-pidfile=/run/radvd/radvd.pid \ - --with-systemdsystemunitdir=no \ - $(use_with test check) -} - -src_install() { - default - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - if use kernel_FreeBSD ; then - sed -i -e \ - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ - "${D}"/etc/init.d/${PN} || die - fi - - 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." diff --git a/net-misc/radvd/radvd-2.18-r1.ebuild b/net-misc/radvd/radvd-2.18-r1.ebuild deleted file mode 100644 index e64526ed134a..000000000000 --- a/net-misc/radvd/radvd-2.18-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user readme.gentoo-r1 toolchain-funcs - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="kernel_FreeBSD selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -PATCHES=( -) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -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 - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - if use kernel_FreeBSD ; then - sed -i -e \ - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ - "${D}"/etc/init.d/${PN} || die - fi - - 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." diff --git a/net-misc/radvd/radvd-2.18.ebuild b/net-misc/radvd/radvd-2.18.ebuild deleted file mode 100644 index a39b4d0db4e3..000000000000 --- a/net-misc/radvd/radvd-2.18.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd user readme.gentoo-r1 - -DESCRIPTION="Linux IPv6 Router Advertisement Daemon" -HOMEPAGE="http://v6web.litech.org/radvd/" -SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 sparc x86" -IUSE="kernel_FreeBSD selinux test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/libdaemon" -DEPEND="${CDEPEND} - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-radvd ) -" -DOCS=( CHANGES README TODO radvd.conf.example ) - -PATCHES=( -) - -pkg_setup() { - enewgroup radvd - enewuser radvd -1 -1 /dev/null radvd -} - -src_configure() { - econf --with-pidfile=/run/radvd/radvd.pid \ - --with-systemdsystemunitdir=no \ - $(use_with test check) -} - -src_install() { - default - - insinto /usr/share/doc/${PF}/html - doins INTRO.html - - newinitd "${FILESDIR}"/${PN}-2.15.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - - systemd_dounit "${FILESDIR}"/${PN}.service - - if use kernel_FreeBSD ; then - sed -i -e \ - 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \ - "${D}"/etc/init.d/${PN} || die - fi - - 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." |