commit:     0016f461cb30308ba627329b0e760a2f8dfc6d8a
Author:     Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at>
AuthorDate: Mon Nov  6 10:04:34 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Nov  7 06:15:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0016f461

app-backup/amanda: make NDMP optional

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 <AT> gentoo.org>

 app-backup/amanda/amanda-3.5.ebuild | 5 ++++-
 app-backup/amanda/metadata.xml      | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-backup/amanda/amanda-3.5.ebuild 
b/app-backup/amanda/amanda-3.5.ebuild
index 797dbc7a026..f59aebd6c04 100644
--- a/app-backup/amanda/amanda-3.5.ebuild
+++ b/app-backup/amanda/amanda-3.5.ebuild
@@ -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
 

diff --git a/app-backup/amanda/metadata.xml b/app-backup/amanda/metadata.xml
index e191fc902dc..a044ded2763 100644
--- a/app-backup/amanda/metadata.xml
+++ b/app-backup/amanda/metadata.xml
@@ -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>

Reply via email to