diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-22 23:28:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-22 23:28:46 +0100 |
commit | 0bf5c5a0b1ff93d1f4aaa8cdea6acda5e42c2068 (patch) | |
tree | 535db46356d46fc3f3c97342cb3691c0317e52d9 /net-misc/iputils/iputils-99999999.ebuild | |
parent | d79ab35b7ac170babebe8bc151fe5d037c16285c (diff) |
gentoo auto-resync : 22:09:2022 - 23:28:46
Diffstat (limited to 'net-misc/iputils/iputils-99999999.ebuild')
-rw-r--r-- | net-misc/iputils/iputils-99999999.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild index 6e435f7605da..7f3760b7d4f5 100644 --- a/net-misc/iputils/iputils-99999999.ebuild +++ b/net-misc/iputils/iputils-99999999.ebuild @@ -110,6 +110,10 @@ src_test() { src_install() { meson_src_install + FILECAPS=( cap_net_raw usr/bin/ping ) + use arping && FILECAPS+=( usr/bin/arping ) + use clockdiff && FILECAPS+=( usr/bin/clockdiff ) + dosym ping /usr/bin/ping4 dosym ping /usr/bin/ping6 @@ -159,15 +163,12 @@ pkg_preinst() { } pkg_postinst() { + fcaps_pkg_postinst + if [[ ${HAD_TFTPD_VERSION} -eq 1 ]] ; then ewarn "This upstream version (>= 20211215) drops two tools:" ewarn "1. tftpd (alternatives: net-ftp/tftp-hpa, net-dns/dnsmasq)" ewarn "2. traceroute6 (alternatives: net-analyzer/mtr, net-analyzer/traceroute)" ewarn "Please install one of the listed alternatives if needed!" fi - - fcaps cap_net_raw \ - bin/ping \ - $(usex arping 'bin/arping' '') \ - $(usex clockdiff 'usr/bin/clockdiff' '') } |