app-backup/amanda: make NDMP optional
authorStefan G. Weichinger <office@oops.co.at>
Mon, 6 Nov 2017 10:04:34 +0000 (11:04 +0100)
committerRobin H. Johnson <robbat2@gentoo.org>
Tue, 7 Nov 2017 06:15:51 +0000 (22:15 -0800)
NDMP is an uncommon feature, and fails to build with newer glibc at this time; make it optional for now.

Closes: https://bugs.gentoo.org/376127
Closes: https://bugs.gentoo.org/636262
Closes: https://github.com/gentoo/gentoo/pull/6137
Closes: https://github.com/gentoo/gentoo/pull/6138
Closes: https://github.com/gentoo/gentoo/pull/6142
(cherry picked from commit 337a72935369e963b74b8293e3a9ecbce1383bd0)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
app-backup/amanda/amanda-3.5.ebuild
app-backup/amanda/metadata.xml

index 797dbc7a026524bc04a45b2306d226ed1bf61054..f59aebd6c04834b51bfbd4fb2eaa6914720f6333 100644 (file)
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz"
 
 LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+"
 SLOT="0"
-IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs"
+IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba systemd xfs"
 
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 RDEPEND="sys-libs/readline:=
@@ -288,6 +288,9 @@ src_configure() {
        # build manpages
        myconf="${myconf} --enable-manpage-build"
 
+       # Bug #636262
+       myconf="${myconf} $(use_with ndmp ndmp)"
+
        # bug #483120
        tc-export AR
 
index e191fc902dcf4fbd8fbf803bd8b31f780abed42e..a044ded27632975f4eea17679832361f2d7dfb72 100644 (file)
@@ -23,6 +23,7 @@
        <use>
                <flag name="xfs">Support for backing up raw XFS filesystems using xfsdump</flag>
                <flag name="s3">Support for backing up to the Amazon S3 system</flag>
+               <flag name="ndmp">Support for the NDMP protocol</flag>
        </use>
        <upstream>
                <remote-id type="sourceforge">amanda</remote-id>