diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-11 14:17:10 +0100 |
commit | 5adfd733728a4f14df5665f4c2a604a7356e5f19 (patch) | |
tree | f2938c4a08576b45508b02481edfec55eac3ac8b /net-misc/ndisc6 | |
parent | fbba40085f5d1591a67b49f5aa48b4071b7560f1 (diff) |
gentoo auto-resync : 11:06:2023 - 14:17:09
Diffstat (limited to 'net-misc/ndisc6')
-rw-r--r-- | net-misc/ndisc6/Manifest | 4 | ||||
-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/ndisc6-1.0.7.ebuild | 36 |
4 files changed, 71 insertions, 0 deletions
diff --git a/net-misc/ndisc6/Manifest b/net-misc/ndisc6/Manifest index c770bb5f6299..691702717b3a 100644 --- a/net-misc/ndisc6/Manifest +++ b/net-misc/ndisc6/Manifest @@ -1,6 +1,10 @@ AUX rdnssd.conf 80 BLAKE2B 481e66d63c6743780fa2f887ba990e71050dbc92dfe5d4db7ca7715a8b19abe388f0ca92d3cab4eab4c6f72f5c941d06b9bb4d2f421e73ccd6a0a61fe9dd9df8 SHA512 b9a806b24e0d466efbb633eeab0169c289475a50eb3cc627853a4b28dc97136a42988fbea0d71d8b0afe2dfe955c5b96c300607d6abf7a254beba4cefd486a57 AUX rdnssd.rc-1 502 BLAKE2B 39875eee2e81627e0e603bc01e552622e219af3bb18fede1d6b86364c501bd1e5eaccaf682f93ef38a4e18de4b2e955a98604bc5854054da5a31ef97cebde602 SHA512 0582ed315756d3e3c17d789252b3c68d1a7dfc6e74e600c0ea186775c976af447923cdc8182be23dd1418323503a91f8f82bc5068148a92bb40f9888a7c5cec2 +AUX rdnssd.rc-2 435 BLAKE2B ed2a4b1581267d3f7cf598ed0577c3e4284bcf48d7422da379c5b64cb551d13a791535bed2d28032c2c630331b2130e9ec3eba301ad8e41efff97090fcb6e94b SHA512 935e81c5e43819fe8b7c866aa1acf3fc73c7c096ce7a4f4b61d6a9039f7bb99f3dfd5fe32226f0e512512df1e315bf6d01043c9b82c72816cae243aa2a3acf3c AUX resolvconf-1 152 BLAKE2B 1219e02e170a1cf279a1497e12269061659af7c61d662adb9beab39e772068d597a5f63b6c1f39efa5001c5f8d1014cd2f265cb3e49c3163ff38d9205126dbcd SHA512 cdba5bbfa69a8288696f14d1f7798445769bf37c6363cf0bdeb2aa162ff5c83728f513917c7649e3f6493bfc9cf437e0c08e460a87b80604fa31dd599441ef83 +AUX resolvconf-2 152 BLAKE2B 25319dfe7cc261cab4f6ed17daf4547ebc7a01207046227036d10d9bdab7806fbc0a89814231049b7f5efcaefb1e140b717f59a8919736286100f32cf6b9e672 SHA512 7f90892db25bd91d7b1d47ea029774b16b29155a092b4811195e942f11cfbbf42ec9b557c80171b4ee178b9a6d57fa1249d39d48b4f8b41790476819d5fa286c DIST ndisc6-1.0.6.tar.bz2 262008 BLAKE2B b451f8a6f74fe0d30546152e9711055cb2d9fd1433a83f0fdcc57eba4f9eaf41705b03fcfcc14666906f90f3a450c2ef6e3d66faca5019106664dd96dd6d70cf SHA512 e9ce26d139c5cdcaac7a507c247ace5ba1d6bc95a92fbdb693788e463183965390a8228133a8bbbf07ba19eeae64c7a12ce13eb031c1a0c0c47b086d42c527ae +DIST ndisc6-1.0.7.tar.bz2 262144 BLAKE2B 6eeb4d8b78e189f1c2db26312b67d8a9ed4343fad0c9db08bfc8e7d4514f50b1b11c6ee5f784cc0480979758a0fae840e87b61bbbdf4c372fe58117cb8dfdab4 SHA512 cd3da7efc050b9f71a0d41336367c21936b37a2a040b58f01ccd5657a4cbd791b974bcd32e0725b325d9322974b0e721af9a6d9ef4693506e437c29a15d81526 EBUILD ndisc6-1.0.6.ebuild 714 BLAKE2B e840b00321e55e1e17f47733b794d5c9230dd841f7bf7ed6dac53b94516156a61fcd6493c2acbc080d2d3bfb85a4f5bbc3f7e3b8f3a1cf575b3cf28baf77201e SHA512 926089fef328dbd1c2f9bca25a1315db968f7eb19551fad2f50a57eb9c98f800dc6b227fb25c95f48afd432853273acc0a06d13c0929ebf73a28bfa8a7622655 +EBUILD ndisc6-1.0.7.ebuild 781 BLAKE2B 5492486f0addebcadb9f0ba18aa5469a358f91bceab9243dcb8e343933e7c23ab5ade5c68c3c853f4c08b0af1a14d4e2bd74b82c159f11891dae525b263e6ec6 SHA512 70424f9bb1ed39b2a9388c0056818e0f27b081d533acf53617964c36caf9ae71dff3e296ac3c18cbc6a5c98a03866eb24f3cc71ad86c7351fbbae7f86c03f53e MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a 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/ndisc6-1.0.7.ebuild b/net-misc/ndisc6/ndisc6-1.0.7.ebuild new file mode 100644 index 000000000000..d0d3a2b1bbd4 --- /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 +} |