1 |
commit: 02553460f1fab662e6396b7be625fa3b514ce0ed |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 18:32:46 2020 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 18:34:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02553460 |
7 |
|
8 |
net-analyzer/nagios-plugins-linux-madrisan: new USE=varlink |
9 |
|
10 |
Remove automatic detection of libvarlink, change behavior based on the |
11 |
value of the new USE=varlink flag. |
12 |
|
13 |
This required dropping the x86 keyword because libvarlink is not |
14 |
keyworded there. |
15 |
|
16 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
17 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
18 |
|
19 |
net-analyzer/nagios-plugins-linux-madrisan/metadata.xml | 1 + |
20 |
...an-26.ebuild => nagios-plugins-linux-madrisan-26-r1.ebuild} | 10 +++++++--- |
21 |
2 files changed, 8 insertions(+), 3 deletions(-) |
22 |
|
23 |
diff --git a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml |
24 |
index 2485783589c..380090a8861 100644 |
25 |
--- a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml |
26 |
+++ b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml |
27 |
@@ -7,6 +7,7 @@ |
28 |
</maintainer> |
29 |
<use> |
30 |
<flag name="curl">Build check_docker which requires <pkg>net-misc/curl</pkg></flag> |
31 |
+ <flag name="varlink">Build check_podman which requires <pkg>dev-libs/libvarlink</pkg></flag> |
32 |
</use> |
33 |
<upstream> |
34 |
<remote-id type="github">madrisan/nagios-plugins-linux</remote-id> |
35 |
|
36 |
diff --git a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild |
37 |
similarity index 86% |
38 |
rename from net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild |
39 |
rename to net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild |
40 |
index 0e91fa5a72c..a0569e29d79 100644 |
41 |
--- a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26.ebuild |
42 |
+++ b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-26-r1.ebuild |
43 |
@@ -14,10 +14,13 @@ SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.t |
44 |
|
45 |
LICENSE="GPL-3+" |
46 |
SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-IUSE="curl" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="curl varlink" |
51 |
|
52 |
-DEPEND="curl? ( net-misc/curl:0= )" |
53 |
+DEPEND=" |
54 |
+ curl? ( net-misc/curl:0= ) |
55 |
+ varlink? ( dev-libs/libvarlink:= ) |
56 |
+" |
57 |
RDEPEND="${DEPEND}" |
58 |
|
59 |
S="${WORKDIR}/${MY_P}" |
60 |
@@ -36,6 +39,7 @@ src_configure() { |
61 |
# Most options are already defaults for Gentoo |
62 |
--disable-hardening |
63 |
$(use_enable curl libcurl) |
64 |
+ $(use_enable varlink libvarlink) |
65 |
) |
66 |
econf "${myconf[@]}" |
67 |
} |