diff options
Diffstat (limited to 'app-backup/amanda')
-rw-r--r-- | app-backup/amanda/amanda-3.5.1-r5.ebuild (renamed from app-backup/amanda/amanda-3.5.1-r3.ebuild) | 20 | ||||
-rw-r--r-- | app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch | 22 |
2 files changed, 35 insertions, 7 deletions
diff --git a/app-backup/amanda/amanda-3.5.1-r3.ebuild b/app-backup/amanda/amanda-3.5.1-r5.ebuild index 53df15f23433..7496f6cc59e6 100644 --- a/app-backup/amanda/amanda-3.5.1-r3.ebuild +++ b/app-backup/amanda/amanda-3.5.1-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -7,13 +7,13 @@ inherit autotools perl-module systemd toolchain-funcs DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver" HOMEPAGE="http://www.amanda.org/" -SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/amanda/${P}.tar.gz" LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+" SLOT="0" -IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba systemd xfs" - +IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba selinux systemd xfs" KEYWORDS="amd64 ppc ppc64 ~sparc x86" + DEPEND=" acct-group/amanda acct-user/amanda @@ -23,7 +23,7 @@ DEPEND=" dev-lang/perl:= dev-perl/Encode-Locale dev-perl/JSON - net-misc/openssh + virtual/openssh sys-libs/readline:= app-alternatives/awk kerberos? ( app-crypt/mit-krb5 ) @@ -42,7 +42,10 @@ DEPEND=" virtual/mailx gnuplot? ( sci-visualization/gnuplot ) )" -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-amanda ) +" BDEPEND=" app-text/docbook-xsl-stylesheets app-text/docbook-xml-dtd @@ -51,7 +54,10 @@ BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext )" -PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) +PATCHES=( + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${PN}-3.5.1-configure-clang16.patch +) MYFILESDIR="${T}/files" ENVDIR="/etc/env.d" diff --git a/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch b/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch new file mode 100644 index 000000000000..a95c8ed55aed --- /dev/null +++ b/app-backup/amanda/files/amanda-3.5.1-configure-clang16.patch @@ -0,0 +1,22 @@ +https://github.com/zmanda/amanda/pull/220 + +From 74610ac5522caa779b30323f1c731775083c5bbc Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Fri, 14 Apr 2023 15:45:16 +0200 +Subject: [PATCH] configure: Avoid an implicit int in the IPv6 test + +Otherwise, the test fails unconditionally with compilers that +do not support implicit ints (a language feature that was removed with +the C99 language revision). +--- a/config/amanda/ipv6.m4 ++++ b/config/amanda/ipv6.m4 +@@ -85,7 +85,7 @@ AC_DEFUN([AMANDA_CHECK_IPV6], + #include <sys/socket.h> + #include <errno.h> + +-main() ++int main(void) + { + int aa; + aa = socket(AF_INET6, SOCK_STREAM, 0); + |