1 |
commit: 27705d180ffd4c6c1fe1f4bc040563b72e052320 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 16:50:03 2021 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 16:50:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27705d18 |
7 |
|
8 |
net-misc/ipv6calc: add USE=cgi to build web interface |
9 |
|
10 |
Closes: https://bugs.gentoo.org/820584 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
13 |
|
14 |
net-misc/ipv6calc/ipv6calc-4.0.0.ebuild | 9 ++++++--- |
15 |
1 file changed, 6 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild |
18 |
index 42eca99cbb1..15e5f6214b2 100644 |
19 |
--- a/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild |
20 |
+++ b/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild |
21 |
@@ -10,10 +10,14 @@ SRC_URI="https://github.com/pbiering/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
22 |
LICENSE="GPL-2" |
23 |
SLOT="0" |
24 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
25 |
-IUSE="geoip test" |
26 |
+IUSE="cgi geoip test" |
27 |
RESTRICT="!test? ( test )" |
28 |
|
29 |
RDEPEND=" |
30 |
+ cgi? ( |
31 |
+ dev-perl/URI |
32 |
+ dev-perl/Digest-SHA1 |
33 |
+ ) |
34 |
dev-libs/openssl:= |
35 |
geoip? ( >=dev-libs/geoip-1.4.7 ) |
36 |
" |
37 |
@@ -21,8 +25,6 @@ DEPEND="${RDEPEND} |
38 |
test? ( dev-perl/Digest-SHA1 ) |
39 |
" |
40 |
|
41 |
-#dev-perl/URI is needed for web interface, that is not installed now |
42 |
- |
43 |
src_configure() { |
44 |
# These options are broken. You can't disable them. That's |
45 |
# okay because we want then force enabled. |
46 |
@@ -44,6 +46,7 @@ src_configure() { |
47 |
--disable-dbip2 \ |
48 |
--disable-external \ |
49 |
--disable-ip2location \ |
50 |
+ $(use_enable cgi mod_ipv6calc ) \ |
51 |
${myconf} |
52 |
} |