summaryrefslogtreecommitdiff
path: root/net-misc/iputils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-20 20:21:39 +0000
commitdd03974882f85ca04e35cfbc97f7ff756f5d5c20 (patch)
tree4fabcc91c51083e19657dd0a557043e74468106e /net-misc/iputils
parentd542bd2ef95af892c7ef62be1489b0288b1df9e3 (diff)
gentoo auto-resync : 20:02:2023 - 20:21:39
Diffstat (limited to 'net-misc/iputils')
-rw-r--r--net-misc/iputils/Manifest5
-rw-r--r--net-misc/iputils/iputils-20221126-r1.ebuild (renamed from net-misc/iputils/iputils-20221126.ebuild)64
-rw-r--r--net-misc/iputils/iputils-99999999.ebuild66
3 files changed, 25 insertions, 110 deletions
diff --git a/net-misc/iputils/Manifest b/net-misc/iputils/Manifest
index 6a9847453e66..e80377453191 100644
--- a/net-misc/iputils/Manifest
+++ b/net-misc/iputils/Manifest
@@ -1,8 +1,7 @@
DIST iputils-20211215.tar.gz 524567 BLAKE2B b88ff84be1d4d6a741f8f3514739ceff45ea40c475b5d4c2df8571fe84d4f1af9bc3fdce29e9ff393417671c75204261c8d64dde00473caa314b0aeb1fbf74ce SHA512 191062e51f7c8e8b38e3e4a96845adb77cd69f487d548c7cc578fad544443b4bc0dbe965d8f8e6fbda0a2f5b2fe2829789c05f873190c53d773245959298f6e9
-DIST iputils-20221126-docs.tar.xz 13000 BLAKE2B 8a9dae136f6555ed933f97d26be82a7d9ab228efd40cc03d065b39374f13000604e3bbbc856124076ec6934c92845d7b974eff64bbf65fc3a63a2266ba920e2f SHA512 efa60b618238b6e7614828a3c3a30e58ac311a82a686a28a186110cc28dae96f509199f057b1855b08954b1b5a3f6be63e0de6c0c028f4eb5f88c6dcd973a93b
DIST iputils-20221126.tar.gz 511944 BLAKE2B 97bdc49810ce9e517211323e8e8ffd2f2be505704d67533db0e8f296701048b82c61b39062aab4a8fa148b29175636a657c2dcdd65e3a16b1572d2f392b8ecf0 SHA512 7fdfd76e6f2977039bc0930a1a5451f17319bf17beefc429751d99ffe143a83344d5b4cdbf008627bd70caafeadaf906a8b7c00393fa819e50d6c02b512c367f
DIST iputils-manpages-20211215.tar.xz 17148 BLAKE2B 63a956805b01f57b070b6b4ceb32f6ddf4313c74203cde821fc2f6f16ab8de14861da31163adf496db555f1961592d4fbc2ba7a977ccb18773af3bdb8d3795c0 SHA512 eb8c8508221b06fc13bf196b01b11f3ec87cd77e25d89c088776e39d249e10a3915ebb39942805adee179b352543063ce3dac158d68783c68c23de550ec14eee
EBUILD iputils-20211215.ebuild 4754 BLAKE2B f5e6b11dcf1642695fb3fe8be537a5df04359d397c28f7a86fff5b11c8dc37743597df22721d41bdd8c45f3f06f76325c236e3159602b15bc8cd1200d3389c41 SHA512 aa0565d5645f4acba4bfa3ca6d425e2538922ec9f3405ba1f4542941e7f21f5399e8709b71d76292a927109911226cdaa2be56ad63b62006e59a759556747bd5
-EBUILD iputils-20221126.ebuild 4430 BLAKE2B d9c7e626c6215fe2c2a5fd7bb29268baef9427c6c87434c549a3db82f09f422e075e93163f840194a87b987019e1a877c1d2b4cc5e83dee2f0ab7cd81ca2c2f2 SHA512 3ddbbbb538fa357a9846c96fb93687f7ec93c7d8eaff02f5d33df97d5e39f50874a0037d14bd03de48b8a81aaa2fb6f1efa923d7e6db5137c552261484cd5756
-EBUILD iputils-99999999.ebuild 4438 BLAKE2B b253fc86cf35107dbe8e164e2ef224ee07f1299c54d8ac8e38ede449e87214da2dd5eda26f3a73fcbade1a142bf457bf55bd253cf205be4bb9590264ab48fb01 SHA512 9f4f7ef308d09bdb1fb9f0e6733eeb2580864dcf4dc0b16f5843f8c49e6eabdcd4f6f33689d8401b16c9eb3397631651e87fd5d2478386237a158b0af830b737
+EBUILD iputils-20221126-r1.ebuild 3514 BLAKE2B a8989c0d42de3cd3963e0e3875ab7992741c08a29d1ebcac2f1ed505b46b5eb55707d33e45ca86aa23c9542fd8646c8b2a649e271588274174052853b80c6727 SHA512 de6328ef0d9fb99632bf92390f9db6105d21ae9517442089686bdf72bdf1efcdc080d36e56f4f2ca18837039a8864968bdff1fdf7892b1f535db41988ec7126f
+EBUILD iputils-99999999.ebuild 3522 BLAKE2B 61d39b4161982d5a47535cc92ffcea6c3f0ee796e7131faa2a1647a93887dfc6e8c598bffb0de03cc575c996b13e5dfcc32a5a6cf8b8202ec36a0f68fec3312e SHA512 281b78238e1c843a975d1dbe25412981334694f689dcd00abc34105d0f4e6223fdfb078db77741af9fcb846fd6e33c7f07341fa7eb8296492705d60b6c1c79c9
MISC metadata.xml 1034 BLAKE2B a1d9c98f71961b483d73229a2fbb8b272b2c1693f89fbe6921f657949da45c87fe7408aa8ce39059ba6ce3e79bb4621e4d303ed2302ab3363c5492e174fc2149 SHA512 8df2ddb2ea153af627c8c353af03675e70028017987c83e4d70ee9f1a97ae79c4fdfc8eb5987efaf8daeeb0955ef04a65315fe6033e71e9cb32e8059294716fd
diff --git a/net-misc/iputils/iputils-20221126.ebuild b/net-misc/iputils/iputils-20221126-r1.ebuild
index 67616acd2ae3..e758f6d437a8 100644
--- a/net-misc/iputils/iputils-20221126.ebuild
+++ b/net-misc/iputils/iputils-20221126-r1.ebuild
@@ -18,10 +18,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
inherit git-r3
else
- SRC_URI="
- https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.tar.xz
- "
+ SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
fi
@@ -50,21 +47,16 @@ DEPEND="
virtual/os-headers
"
BDEPEND="
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-ns-stylesheets
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
virtual/pkgconfig
test? ( sys-apps/iproute2 )
nls? ( sys-devel/gettext )
"
-if [[ ${PV} == *9999 ]] ; then
- BDEPEND+="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-ns-stylesheets
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- "
-fi
-
src_prepare() {
default
@@ -83,20 +75,10 @@ src_configure() {
-Dsystemdunitdir=$(systemd_get_systemunitdir)
-DUSE_GETTEXT=$(usex nls true false)
$(meson_use !test SKIP_TESTS)
+ -DBUILD_HTML_MANS=$(usex doc true false)
+ -DBUILD_MANS=true
)
- if [[ ${PV} == *9999 ]] ; then
- emesonargs+=(
- -DBUILD_HTML_MANS=$(usex doc true false)
- -DBUILD_MANS=true
- )
- else
- emesonargs+=(
- -DBUILD_HTML_MANS=false
- -DBUILD_MANS=false
- )
- fi
-
meson_src_configure
}
@@ -128,36 +110,12 @@ src_install() {
if use tracepath ; then
dosym tracepath /usr/bin/tracepath4
dosym tracepath /usr/bin/tracepath6
+ dosym tracepath.8 /usr/share/man/man8/tracepath4.8
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
fi
- if [[ ${PV} != *9999 ]] ; then
- local -a man_pages
- local -a html_man_pages
-
- while IFS= read -r -u 3 -d $'\0' my_bin; do
- my_bin=$(basename "${my_bin}")
- [[ -z "${my_bin}" ]] && continue
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.8" ]] ; then
- man_pages+=( ${my_bin}.8 )
- fi
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.html" ]] ; then
- html_man_pages+=( ${my_bin}.html )
- fi
- done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
-
- pushd "${WORKDIR}"/${PN}-99999999-docs/doc &>/dev/null || die
- doman "${man_pages[@]}"
- if use doc ; then
- dodoc "${html_man_pages[@]}"
- fi
- popd &>/dev/null || die
- else
- if use doc ; then
- mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
- fi
+ if use doc ; then
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
}
diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild
index a23c56b4174c..b4e1ae73bca6 100644
--- a/net-misc/iputils/iputils-99999999.ebuild
+++ b/net-misc/iputils/iputils-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# For released versions, we precompile the man/html pages and store
@@ -18,10 +18,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/iputils/iputils.git"
inherit git-r3
else
- SRC_URI="
- https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-docs.tar.xz
- "
+ SRC_URI="https://github.com/iputils/iputils/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
fi
@@ -50,21 +47,16 @@ DEPEND="
virtual/os-headers
"
BDEPEND="
+ app-text/docbook-xml-dtd:4.2
+ app-text/docbook-xml-dtd:4.5
+ app-text/docbook-xsl-ns-stylesheets
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
virtual/pkgconfig
test? ( sys-apps/iproute2 )
nls? ( sys-devel/gettext )
"
-if [[ ${PV} == *9999 ]] ; then
- BDEPEND+="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-ns-stylesheets
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- "
-fi
-
src_prepare() {
default
@@ -83,20 +75,10 @@ src_configure() {
-Dsystemdunitdir=$(systemd_get_systemunitdir)
-DUSE_GETTEXT=$(usex nls true false)
$(meson_use !test SKIP_TESTS)
+ -DBUILD_HTML_MANS=$(usex doc true false)
+ -DBUILD_MANS=true
)
- if [[ ${PV} == *9999 ]] ; then
- emesonargs+=(
- -DBUILD_HTML_MANS=$(usex doc true false)
- -DBUILD_MANS=true
- )
- else
- emesonargs+=(
- -DBUILD_HTML_MANS=false
- -DBUILD_MANS=false
- )
- fi
-
meson_src_configure
}
@@ -128,36 +110,12 @@ src_install() {
if use tracepath ; then
dosym tracepath /usr/bin/tracepath4
dosym tracepath /usr/bin/tracepath6
+ dosym tracepath.8 /usr/share/man/man8/tracepath4.8
dosym tracepath.8 /usr/share/man/man8/tracepath6.8
fi
- if [[ ${PV} != *9999 ]] ; then
- local -a man_pages
- local -a html_man_pages
-
- while IFS= read -r -u 3 -d $'\0' my_bin; do
- my_bin=$(basename "${my_bin}")
- [[ -z "${my_bin}" ]] && continue
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.8" ]] ; then
- man_pages+=( ${my_bin}.8 )
- fi
-
- if [[ -f "${WORKDIR}/${PN}-99999999-docs/doc/${my_bin}.html" ]] ; then
- html_man_pages+=( ${my_bin}.html )
- fi
- done 3< <(find "${ED}"/{bin,usr/bin,usr/sbin} -type f -perm -a+x -print0 2>/dev/null)
-
- pushd "${WORKDIR}"/${PN}-99999999-docs/doc &>/dev/null || die
- doman "${man_pages[@]}"
- if use doc ; then
- dodoc "${html_man_pages[@]}"
- fi
- popd &>/dev/null || die
- else
- if use doc ; then
- mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
- fi
+ if use doc ; then
+ mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die
fi
}