diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /net-misc/ndisc6 | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'net-misc/ndisc6')
| -rw-r--r-- | net-misc/ndisc6/Manifest | 2 | ||||
| -rw-r--r-- | net-misc/ndisc6/files/rdnssd.conf | 2 | ||||
| -rw-r--r-- | net-misc/ndisc6/files/rdnssd.rc-2 | 24 | ||||
| -rw-r--r-- | net-misc/ndisc6/files/resolvconf-2 | 7 | ||||
| -rw-r--r-- | net-misc/ndisc6/metadata.xml | 5 | ||||
| -rw-r--r-- | net-misc/ndisc6/ndisc6-1.0.7.ebuild | 36 | ||||
| -rw-r--r-- | net-misc/ndisc6/ndisc6-1.0.8.ebuild | 38 |
7 files changed, 114 insertions, 0 deletions
diff --git a/net-misc/ndisc6/Manifest b/net-misc/ndisc6/Manifest new file mode 100644 index 000000000000..2af7f0260b23 --- /dev/null +++ b/net-misc/ndisc6/Manifest @@ -0,0 +1,2 @@ +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/files/rdnssd.conf b/net-misc/ndisc6/files/rdnssd.conf new file mode 100644 index 000000000000..c5bad72b0d96 --- /dev/null +++ b/net-misc/ndisc6/files/rdnssd.conf @@ -0,0 +1,2 @@ +# Options to pass to the rdnssd process +RDNSSD_OPTS="-H /etc/rdnssd/resolvconf" diff --git a/net-misc/ndisc6/files/rdnssd.rc-2 b/net-misc/ndisc6/files/rdnssd.rc-2 new file mode 100644 index 000000000000..a3a2a45a2d1f --- /dev/null +++ b/net-misc/ndisc6/files/rdnssd.rc-2 @@ -0,0 +1,24 @@ +#!/sbin/openrc-run +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need localmount + before net + use logger +} + +command="rdnssd" +pidfile="/var/run/rdnssd.pid" +command_args="${RDNSSD_OPTS}" +command_args_foreground="-f" + +start_pre() { + checkpath -d -o nobody /var/run/rdnssd +} + +stop_post() { + if command -v resolvconf >/dev/null; then + resolvconf -f -d rdnssd + fi +} diff --git a/net-misc/ndisc6/files/resolvconf-2 b/net-misc/ndisc6/files/resolvconf-2 new file mode 100644 index 000000000000..79d69c60e7ad --- /dev/null +++ b/net-misc/ndisc6/files/resolvconf-2 @@ -0,0 +1,7 @@ +#!/bin/sh + +if command -v resolvconf >/dev/null; then + exec resolvconf -a rdnssd </var/run/rdnssd/resolv.conf +else + exec "$(dirname "$0")"/merge-hook +fi diff --git a/net-misc/ndisc6/metadata.xml b/net-misc/ndisc6/metadata.xml new file mode 100644 index 000000000000..5f33304011d5 --- /dev/null +++ b/net-misc/ndisc6/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/net-misc/ndisc6/ndisc6-1.0.7.ebuild b/net-misc/ndisc6/ndisc6-1.0.7.ebuild new file mode 100644 index 000000000000..4f0384e87ae2 --- /dev/null +++ b/net-misc/ndisc6/ndisc6-1.0.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 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 +} 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..cb5383545358 --- /dev/null +++ b/net-misc/ndisc6/ndisc6-1.0.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 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 ~sparc 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 +} |
