1 |
commit: 9f853d71dbb4c0b2fd32bf3f641872b2da8ca72b |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 26 14:13:24 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 26 14:14:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f853d71 |
7 |
|
8 |
net-misc/ipv6calc: version bump 1.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
net-misc/ipv6calc/Manifest | 1 + |
13 |
net-misc/ipv6calc/ipv6calc-1.0.0.ebuild | 65 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/ipv6calc/Manifest b/net-misc/ipv6calc/Manifest |
17 |
index 79aaf1c388a..f50fb325abe 100644 |
18 |
--- a/net-misc/ipv6calc/Manifest |
19 |
+++ b/net-misc/ipv6calc/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST ipv6calc-0.97.4.tar.gz 1037582 SHA256 ed2c9e895fdbffa3bee2e46591e0a010eacde |
21 |
DIST ipv6calc-0.99.0.tar.gz 1155118 SHA256 fc7535b900339d75d9862b1c3d359304330f72e94a4cade539dfb714e533fdb5 SHA512 18993711a9203b1d7ecbaa885cb8cb21738b4d25e379593f18b7f833ae7f1675339ec25b39bec7424735a97781a3dc9f4b4453e00873a3526dd3c2ff5ef64965 WHIRLPOOL 7e66df01d4270f88003bf8c44e93b4d4988744b488bd28eacd6e375e3e51c4f1d5717caeebbe2a6810a49342a5df86ac1e2ee0eabfc6bb1f14b289c0d1312dad |
22 |
DIST ipv6calc-0.99.1.tar.gz 1234188 SHA256 b0bc5d2f83c928524f82053b40f670589bd0181719046a2e4c267912a2ba1d28 SHA512 976c8a6b72e197b7f2e5096939f53a30440095aeac76043cddef38f671cf6c91d77b5c5b971276670f7e3f81404a72b41d8cc863e37c882974d034362d0a28de WHIRLPOOL 0bbff968d665e0c77afc110f018296d4ee6f6d284ab9328ce95db8a8536576fdf706b6ee22f213446dfb72be656e0353b0f4e4e317ce59c008355c7d0296dfda |
23 |
DIST ipv6calc-0.99.2.tar.gz 1287951 SHA256 f2eeec1b8d8626756f2cb9c461e9d1db20affccf582d43ded439bdb2d12646ef SHA512 f757a4a7d69b5dea34051125b96b9f9f36957bfabb1568ddae2aaefe6551aac7b9edb6abfdb3ac90aeaf32e517720157614cb7552b4e9dc18180904674e48f09 WHIRLPOOL cf1c202de81df5b8ff35fff4bdc437db90388665dab15a35cccc1b8533d32f4009f566389f76248b706a10bbf0a27b8e839c5907326b272e3727b3e9d029fef9 |
24 |
+DIST ipv6calc-1.0.0.tar.gz 1342987 SHA256 74b0455e61834843bf8a5e7e0e0f39dd2b148114ff896d590eb2d826714594bd SHA512 46e33697551c4bf0a472c7f2dd51c11ae21d49c7d78fe5213bce60c1d11f9230491c328e425f36733c7262a369644bcedb8392ffe2279031eb2552092a5ac209 WHIRLPOOL b9ac8d318b72fa26b106bf8939cb8caf93c7924379f0a188dfabaa432d10979bcf0bfb30cfdefe2ae2ec64daca6641cc5d824a8effc20efec631748f8e633e3f |
25 |
|
26 |
diff --git a/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild b/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6ea0a78da69 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/ipv6calc/ipv6calc-1.0.0.ebuild |
31 |
@@ -0,0 +1,65 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="6" |
36 |
+ |
37 |
+DESCRIPTION="IPv6 address calculator" |
38 |
+HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html" |
39 |
+SRC_URI="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="geoip libressl test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ !libressl? ( dev-libs/openssl:= ) |
48 |
+ libressl? ( dev-libs/libressl:= ) |
49 |
+ geoip? ( >=dev-libs/geoip-1.4.7 ) |
50 |
+" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ test? ( dev-perl/Digest-SHA1 ) |
53 |
+" |
54 |
+ |
55 |
+#dev-perl/URI is needed for web interface, that is not installed now |
56 |
+ |
57 |
+src_configure() { |
58 |
+ # These options are broken. You can't disable them. That's |
59 |
+ # okay because we want then force enabled. |
60 |
+ # --disable-db-as-registry |
61 |
+ # --disable-db-cc-registry |
62 |
+ if use geoip; then |
63 |
+ myconf=$(use_enable geoip) |
64 |
+ myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" |
65 |
+ fi |
66 |
+ econf \ |
67 |
+ --disable-bundled-getopt \ |
68 |
+ --disable-bundled-md5 \ |
69 |
+ --enable-shared \ |
70 |
+ --enable-dynamic-load \ |
71 |
+ --enable-db-ieee \ |
72 |
+ --enable-db-ipv4 \ |
73 |
+ --enable-db-ipv6 \ |
74 |
+ --disable-dbip \ |
75 |
+ --disable-external \ |
76 |
+ --disable-ip2location \ |
77 |
+ ${myconf} |
78 |
+} |
79 |
+ |
80 |
+src_compile() { |
81 |
+ # Disable default CFLAGS (-O2 and -g) |
82 |
+ emake DEFAULT_CFLAGS="" |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ if [[ ${EUID} -eq 0 ]]; then |
87 |
+ # Disable tests that fail as root |
88 |
+ echo true > ipv6logstats/test_ipv6logstats.sh |
89 |
+ fi |
90 |
+ default |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ emake DESTDIR="${D}" install |
95 |
+ dodoc ChangeLog CREDITS README TODO USAGE |
96 |
+} |