1 |
commit: 0016f461cb30308ba627329b0e760a2f8dfc6d8a |
2 |
Author: Stefan G. Weichinger <office <AT> oops <DOT> co <DOT> at> |
3 |
AuthorDate: Mon Nov 6 10:04:34 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 7 06:15:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0016f461 |
7 |
|
8 |
app-backup/amanda: make NDMP optional |
9 |
|
10 |
NDMP is an uncommon feature, and fails to build with newer glibc at this time; make it optional for now. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/376127 |
13 |
Closes: https://bugs.gentoo.org/636262 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/6137 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/6138 |
16 |
Closes: https://github.com/gentoo/gentoo/pull/6142 |
17 |
(cherry picked from commit 337a72935369e963b74b8293e3a9ecbce1383bd0) |
18 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
19 |
|
20 |
app-backup/amanda/amanda-3.5.ebuild | 5 ++++- |
21 |
app-backup/amanda/metadata.xml | 1 + |
22 |
2 files changed, 5 insertions(+), 1 deletion(-) |
23 |
|
24 |
diff --git a/app-backup/amanda/amanda-3.5.ebuild b/app-backup/amanda/amanda-3.5.ebuild |
25 |
index 797dbc7a026..f59aebd6c04 100644 |
26 |
--- a/app-backup/amanda/amanda-3.5.ebuild |
27 |
+++ b/app-backup/amanda/amanda-3.5.ebuild |
28 |
@@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz" |
29 |
|
30 |
LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+" |
31 |
SLOT="0" |
32 |
-IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs" |
33 |
+IUSE="curl gnuplot ipv6 kerberos minimal ndmp nls readline s3 samba systemd xfs" |
34 |
|
35 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
36 |
RDEPEND="sys-libs/readline:= |
37 |
@@ -288,6 +288,9 @@ src_configure() { |
38 |
# build manpages |
39 |
myconf="${myconf} --enable-manpage-build" |
40 |
|
41 |
+ # Bug #636262 |
42 |
+ myconf="${myconf} $(use_with ndmp ndmp)" |
43 |
+ |
44 |
# bug #483120 |
45 |
tc-export AR |
46 |
|
47 |
|
48 |
diff --git a/app-backup/amanda/metadata.xml b/app-backup/amanda/metadata.xml |
49 |
index e191fc902dc..a044ded2763 100644 |
50 |
--- a/app-backup/amanda/metadata.xml |
51 |
+++ b/app-backup/amanda/metadata.xml |
52 |
@@ -23,6 +23,7 @@ |
53 |
<use> |
54 |
<flag name="xfs">Support for backing up raw XFS filesystems using xfsdump</flag> |
55 |
<flag name="s3">Support for backing up to the Amazon S3 system</flag> |
56 |
+ <flag name="ndmp">Support for the NDMP protocol</flag> |
57 |
</use> |
58 |
<upstream> |
59 |
<remote-id type="sourceforge">amanda</remote-id> |