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 5CC4A1382C5 for ; Sat, 23 Jan 2021 10:43:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E07EE0BE1; Sat, 23 Jan 2021 10:43:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 069CCE0BE2 for ; Sat, 23 Jan 2021 10:43:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C14D5340D49 for ; Sat, 23 Jan 2021 10:43:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A1AF32B for ; Sat, 23 Jan 2021 10:43:40 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1611398603.d6fe9356fe9e158a11a40b4206d38447ef0a16ad.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/amanda/files/, app-backup/amanda/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-backup/amanda/amanda-3.5.1-r3.ebuild app-backup/amanda/files/amanda-3.5.1-tirpc.patch X-VCS-Directories: app-backup/amanda/files/ app-backup/amanda/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d6fe9356fe9e158a11a40b4206d38447ef0a16ad X-VCS-Branch: master Date: Sat, 23 Jan 2021 10:43:40 +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: f7e9b945-c51a-4475-8157-c9e809593148 X-Archives-Hash: 4d6aa1973a72c6abc14758f99db6e1ed commit: d6fe9356fe9e158a11a40b4206d38447ef0a16ad Author: Jakov Smolic sartura hr> AuthorDate: Sat Jan 23 10:43:23 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jan 23 10:43:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fe9356 app-backup/amanda: depend on libtirpc for USE=ndmp Closes: https://github.com/gentoo/gentoo/pull/19155 Closes: https://bugs.gentoo.org/656340 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> app-backup/amanda/amanda-3.5.1-r3.ebuild | 2 ++ app-backup/amanda/files/amanda-3.5.1-tirpc.patch | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/app-backup/amanda/amanda-3.5.1-r3.ebuild b/app-backup/amanda/amanda-3.5.1-r3.ebuild index fe0544d2393..0b672997bcd 100644 --- a/app-backup/amanda/amanda-3.5.1-r3.ebuild +++ b/app-backup/amanda/amanda-3.5.1-r3.ebuild @@ -27,6 +27,7 @@ DEPEND=" sys-libs/readline:= virtual/awk kerberos? ( app-crypt/mit-krb5 ) + ndmp? ( net-libs/libtirpc:= ) nls? ( virtual/libintl ) samba? ( net-fs/samba:= ) s3? ( net-misc/curl ) @@ -135,6 +136,7 @@ src_unpack() { src_prepare() { default + use ndmp && eapply "${FILESDIR}"/${P}-tirpc.patch # gentoo bug #331111 sed -i '/^check-local: check-perl$/d' config/automake/scripts.am || die sed -i '/^check-local:/s,syntax-check,,g' perl/Makefile.am || die diff --git a/app-backup/amanda/files/amanda-3.5.1-tirpc.patch b/app-backup/amanda/files/amanda-3.5.1-tirpc.patch new file mode 100644 index 00000000000..42472b59af3 --- /dev/null +++ b/app-backup/amanda/files/amanda-3.5.1-tirpc.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/656340 +--- a/config/amanda/amanda_configure.m4 ++++ b/config/amanda/amanda_configure.m4 +@@ -257,6 +257,12 @@ AMANDA_CHECK_READLINE + AC_CHECK_LIB(m,modf) + AMANDA_CHECK_LIBDL + AMANDA_GLIBC_BACKTRACE ++PKG_CHECK_MODULES([TIRPC],[libtirpc],[ ++ CPPFLAGS="${CPPFLAGS} ${TIRPC_CFLAGS} -DHAVE_RPC_RPC_H" ++ LIBS="${LIBS} ${TIRPC_LIBS}" ++], [ ++ AC_MSG_ERROR([libtirpc requested but library not found]) ++]) + AC_SEARCH_LIBS([shm_open], [rt], [], [ + AC_MSG_ERROR([unable to find the shm_open() function]) + ])