1 |
commit: 5631afa49b6eb89ab275f7bea84fc45a69d9749a |
2 |
Author: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 1 00:06:22 2020 +0000 |
4 |
Commit: Erik Mackdanz <stasibear <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 00:06:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5631afa4 |
7 |
|
8 |
app-backup/amanda: Disable sandbox-violating configure test |
9 |
|
10 |
Closes: https://bugs.gentoo.org/701416 |
11 |
Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
|
14 |
app-backup/amanda/amanda-3.5.1-r1.ebuild | 9 ++++++--- |
15 |
1 file changed, 6 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/app-backup/amanda/amanda-3.5.1-r1.ebuild b/app-backup/amanda/amanda-3.5.1-r1.ebuild |
18 |
index 997834b00aa..dd20dd7237b 100644 |
19 |
--- a/app-backup/amanda/amanda-3.5.1-r1.ebuild |
20 |
+++ b/app-backup/amanda/amanda-3.5.1-r1.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
@@ -145,6 +145,9 @@ src_prepare() { |
28 |
# bug with glibc-2.16.0 |
29 |
sed -i -e '/gets is a security/d' "${S}"/gnulib/stdio.in.h || die |
30 |
|
31 |
+ # https://bugs.gentoo.org/701416 sandbox violation |
32 |
+ sed -i -e 's/case `"$SAMBA_CLIENT.*/case "Connection to nosuchhost.amanda.org failed" in/' "${S}"/config/amanda/dumpers.m4 || die |
33 |
+ |
34 |
eautoreconf |
35 |
|
36 |
# places for us to work in |
37 |
@@ -388,7 +391,7 @@ src_install() { |
38 |
if ! use minimal ; then |
39 |
fperms 0700 \ |
40 |
"${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \ |
41 |
- /etc/amanda/${AMANDA_CONFIG_NAME} |
42 |
+ /etc/amanda/${AMANDA_CONFIG_NAME} |
43 |
fi |
44 |
|
45 |
einfo "Setting setuid permissions" |
46 |
@@ -476,7 +479,7 @@ amanda_permissions_fix() { |
47 |
local i |
48 |
for i in "${le}"/calcsize "${le}"/killpgrp \ |
49 |
"${le}"/rundump "${le}"/runtar ; do |
50 |
- [ -e "${root}"/${i} ] || continue |
51 |
+ [ -e "${root}"/${i} ] || continue |
52 |
chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die |
53 |
chmod u=srwx,g=rx,o= "${root}"/${i} || die |
54 |
done |