summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-12-31 20:42:25 -0500
committerSam James <sam@gentoo.org>2024-01-01 01:51:01 +0000
commit735edc3bf64c10afba704da20a3af056d7ad73ba (patch)
treeee34aa84e9f487668daf749350156553959d88a6
parentheader.txt: Happy new year 2024! (diff)
downloadgentoo-735edc3bf64c10afba704da20a3af056d7ad73ba.tar.gz
gentoo-735edc3bf64c10afba704da20a3af056d7ad73ba.tar.bz2
gentoo-735edc3bf64c10afba704da20a3af056d7ad73ba.zip
sys-apps/iproute2: drop old compat symlink and USE=split-usr hack
As promised in the ebuild comments, we can now remove the compatibility symlink from /sbin -> /bin. While we are at it, don't do the move conditional on split-usr. Arguably only the symlink should have been conditionalized on this way back when... we already move another binary too in the same way, but without any conditional. Bug: https://bugs.gentoo.org/547264 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-apps/iproute2/iproute2-6.6.0-r3.ebuild (renamed from sys-apps/iproute2/iproute2-6.6.0-r2.ebuild)10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys-apps/iproute2/iproute2-6.6.0-r2.ebuild b/sys-apps/iproute2/iproute2-6.6.0-r3.ebuild
index 796a1c1367b1..5254f12bbe45 100644
--- a/sys-apps/iproute2/iproute2-6.6.0-r2.ebuild
+++ b/sys-apps/iproute2/iproute2-6.6.0-r3.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iproute2"
LICENSE="GPL-2"
SLOT="0"
-IUSE="atm berkdb bpf caps elf +iptables minimal nfs selinux split-usr"
+IUSE="atm berkdb bpf caps elf +iptables minimal nfs selinux"
# Needs root
RESTRICT="test"
@@ -190,6 +190,7 @@ src_install() {
dodir /bin
mv "${ED}"/{s,}bin/ip || die # bug #330115
+ mv "${ED}"/{s,}bin/ss || die # bug #547264
dolib.a lib/libnetlink.a
insinto /usr/include
@@ -199,13 +200,6 @@ src_install() {
# https://bugs.gentoo.org/868321
mv "${ED}"/sbin/ifstat{,-iproute2} || die
- if use split-usr ; then
- # Can remove compatibility symlink in a year: 2023-05-28.
- # bug #547264
- mv "${ED}"/sbin/ss "${ED}"/bin/ss || die
- dosym -r /bin/ss /sbin/ss
- fi
-
if use berkdb ; then
keepdir /var/lib/arpd
# bug #47482, arpd doesn't need to be in /sbin