commit:     23306dabcf0b8e2a541e56e49902af8f16f4ab4c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 13:50:27 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 13:50:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23306dab

net-misc/ndisc6: add 1.0.8

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-misc/ndisc6/Manifest            |  1 +
 net-misc/ndisc6/ndisc6-1.0.8.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/net-misc/ndisc6/Manifest b/net-misc/ndisc6/Manifest
index af64682c14f8..3a441dfabd66 100644
--- a/net-misc/ndisc6/Manifest
+++ b/net-misc/ndisc6/Manifest
@@ -1,2 +1,3 @@
 DIST ndisc6-1.0.6.tar.bz2 262008 BLAKE2B 
b451f8a6f74fe0d30546152e9711055cb2d9fd1433a83f0fdcc57eba4f9eaf41705b03fcfcc14666906f90f3a450c2ef6e3d66faca5019106664dd96dd6d70cf
 SHA512 
e9ce26d139c5cdcaac7a507c247ace5ba1d6bc95a92fbdb693788e463183965390a8228133a8bbbf07ba19eeae64c7a12ce13eb031c1a0c0c47b086d42c527ae
 DIST ndisc6-1.0.7.tar.bz2 262144 BLAKE2B 
6eeb4d8b78e189f1c2db26312b67d8a9ed4343fad0c9db08bfc8e7d4514f50b1b11c6ee5f784cc0480979758a0fae840e87b61bbbdf4c372fe58117cb8dfdab4
 SHA512 
cd3da7efc050b9f71a0d41336367c21936b37a2a040b58f01ccd5657a4cbd791b974bcd32e0725b325d9322974b0e721af9a6d9ef4693506e437c29a15d81526
+DIST ndisc6-1.0.8.tar.bz2 262355 BLAKE2B 
f2be7c6027358698ed271670e319fd4c3e89af742c540ddf8b8a430857506fb500ec0d3bbb977e15470c4d7a4a9d5640a09a235d9f9fdf1d5f509490ed30687e
 SHA512 
74a8b0058f9171f1098513891fc1ed890ec43f89195eb501af0e38a67f6e849e44ff7158acf8a6d2eb87c49a00daabf0c3a550e724c1c1afecc2437a35621cc0

diff --git a/net-misc/ndisc6/ndisc6-1.0.8.ebuild 
b/net-misc/ndisc6/ndisc6-1.0.8.ebuild
new file mode 100644
index 000000000000..4718530be728
--- /dev/null
+++ b/net-misc/ndisc6/ndisc6-1.0.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="IPv6 diagnostic tools"
+HOMEPAGE="https://www.remlab.net/ndisc6/";
+SRC_URI="https://www.remlab.net/files/${PN}/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~x64-macos"
+IUSE="debug"
+
+BDEPEND="
+       dev-lang/perl
+       sys-devel/gettext
+"
+
+src_configure() {
+       local args=(
+               --localstatedir="${EPREFIX}"/var
+               $(use_enable debug assert)
+       )
+       econf "${args[@]}"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       rm -r "${ED}/var" || die
+
+       newinitd "${FILESDIR}"/rdnssd.rc-2 rdnssd
+       newconfd "${FILESDIR}"/rdnssd.conf rdnssd
+
+       exeinto /etc/rdnssd
+       newexe "${FILESDIR}"/resolvconf-2 resolvconf
+       dodoc AUTHORS ChangeLog NEWS README
+}

Reply via email to