summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2023-01-18 17:49:46 +0700
committerMarc Schiffbauer <mschiff@gentoo.org>2023-01-18 17:51:16 +0700
commit8bb7c3cb5b60dcca9fff040680023bcb5fb0ad15 (patch)
treec51179d702f0f80b297002d07d039df1ec4beffa /app-backup
parentdev-ruby/rails: add 6.1.7.1 (diff)
downloadgentoo-8bb7c3cb5b60dcca9fff040680023bcb5fb0ad15.tar.gz
gentoo-8bb7c3cb5b60dcca9fff040680023bcb5fb0ad15.tar.bz2
gentoo-8bb7c3cb5b60dcca9fff040680023bcb5fb0ad15.zip
app-backup/bareos: revbump
This revbump eliminates duplicate binaries and replaces them by symlinks Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/bareos/bareos-21.1.5-r2.ebuild (renamed from app-backup/bareos/bareos-21.1.5-r1.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/app-backup/bareos/bareos-21.1.5-r1.ebuild b/app-backup/bareos/bareos-21.1.5-r2.ebuild
index 4a4080f3ed10..a1086b270d5f 100644
--- a/app-backup/bareos/bareos-21.1.5-r1.ebuild
+++ b/app-backup/bareos/bareos-21.1.5-r2.ebuild
@@ -234,6 +234,13 @@ src_install() {
rm -f "${D}"/etc/bareos/bareos-regress.conf
rm -f "${D}"/etc/logrotate.d/bareos-dir
+ # remove duplicate binaries being installed in /usr/sbin and replace
+ # them by symlinks to not break systems that still use split-usr
+ for f in bwild bregex bsmtp bconsole; do
+ rm -f "${D}/usr/sbin/$f" || die
+ ln -s "../bin/$f" "${D}/usr/sbin/$f" || die
+ done
+
# get rid of py2 stuff
rm -rf "$D"/usr/lib64/python2.7 || die
rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so || die