From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D029138334 for ; Wed, 1 Jan 2020 00:06:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 658FDE0A45; Wed, 1 Jan 2020 00:06:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FBFAE0A45 for ; Wed, 1 Jan 2020 00:06:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45F2E34DBE5 for ; Wed, 1 Jan 2020 00:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75D713D for ; Wed, 1 Jan 2020 00:06:49 +0000 (UTC) From: "Erik Mackdanz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Erik Mackdanz" Message-ID: <1577837182.5631afa49b6eb89ab275f7bea84fc45a69d9749a.stasibear@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/amanda/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/amanda/amanda-3.5.1-r1.ebuild X-VCS-Directories: app-backup/amanda/ X-VCS-Committer: stasibear X-VCS-Committer-Name: Erik Mackdanz X-VCS-Revision: 5631afa49b6eb89ab275f7bea84fc45a69d9749a X-VCS-Branch: master Date: Wed, 1 Jan 2020 00:06:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8f892df-6411-481f-a34b-47f6e524dd48 X-Archives-Hash: 00aa7d50beaa75dff5ece090ad4a56cb commit: 5631afa49b6eb89ab275f7bea84fc45a69d9749a Author: Erik Mackdanz gentoo org> AuthorDate: Wed Jan 1 00:06:22 2020 +0000 Commit: Erik Mackdanz gentoo org> CommitDate: Wed Jan 1 00:06:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5631afa4 app-backup/amanda: Disable sandbox-violating configure test Closes: https://bugs.gentoo.org/701416 Signed-off-by: Erik Mackdanz gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20 app-backup/amanda/amanda-3.5.1-r1.ebuild | 9 ++++++--- 1 file 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