summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2019-12-31 18:06:22 -0600
committerErik Mackdanz <stasibear@gentoo.org>2019-12-31 18:06:22 -0600
commit5631afa49b6eb89ab275f7bea84fc45a69d9749a (patch)
tree392c4f4c24fbc4f79e2500dd05508955970dfadc /app-backup
parentsys-apps/nvme-cli: trim "/system" from SYSTEMDDIR (diff)
downloadgentoo-5631afa49b6eb89ab275f7bea84fc45a69d9749a.tar.gz
gentoo-5631afa49b6eb89ab275f7bea84fc45a69d9749a.tar.bz2
gentoo-5631afa49b6eb89ab275f7bea84fc45a69d9749a.zip
app-backup/amanda: Disable sandbox-violating configure test
Closes: https://bugs.gentoo.org/701416 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/amanda/amanda-3.5.1-r1.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-backup/amanda/amanda-3.5.1-r1.ebuild b/app-backup/amanda/amanda-3.5.1-r1.ebuild
index 997834b00aa..dd20dd7237b 100644
--- a/app-backup/amanda/amanda-3.5.1-r1.ebuild
+++ b/app-backup/amanda/amanda-3.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -145,6 +145,9 @@ src_prepare() {
# bug with glibc-2.16.0
sed -i -e '/gets is a security/d' "${S}"/gnulib/stdio.in.h || die
+ # https://bugs.gentoo.org/701416 sandbox violation
+ sed -i -e 's/case `"$SAMBA_CLIENT.*/case "Connection to nosuchhost.amanda.org failed" in/' "${S}"/config/amanda/dumpers.m4 || die
+
eautoreconf
# places for us to work in
@@ -388,7 +391,7 @@ src_install() {
if ! use minimal ; then
fperms 0700 \
"${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \
- /etc/amanda/${AMANDA_CONFIG_NAME}
+ /etc/amanda/${AMANDA_CONFIG_NAME}
fi
einfo "Setting setuid permissions"
@@ -476,7 +479,7 @@ amanda_permissions_fix() {
local i
for i in "${le}"/calcsize "${le}"/killpgrp \
"${le}"/rundump "${le}"/runtar ; do
- [ -e "${root}"/${i} ] || continue
+ [ -e "${root}"/${i} ] || continue
chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die
chmod u=srwx,g=rx,o= "${root}"/${i} || die
done