1 |
commit: 71d4cda845579378ff1aedfefca8a9b7ecc0b35f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 28 01:21:28 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 28 01:21:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d4cda8 |
7 |
|
8 |
net-misc/ipv6calc: version bump to 2.1.0 |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
net-misc/ipv6calc/Manifest | 1 + |
14 |
net-misc/ipv6calc/ipv6calc-2.1.0.ebuild | 68 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 69 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/ipv6calc/Manifest b/net-misc/ipv6calc/Manifest |
18 |
index f7eaf1025d3..cbdcf9714e7 100644 |
19 |
--- a/net-misc/ipv6calc/Manifest |
20 |
+++ b/net-misc/ipv6calc/Manifest |
21 |
@@ -3,3 +3,4 @@ DIST ipv6calc-0.99.2.tar.gz 1287951 BLAKE2B 14de353f5883e1aa538c9fd1b66dbc9d9b48 |
22 |
DIST ipv6calc-1.0.0.tar.gz 1342987 BLAKE2B 0c5a28b8431a82669870c475c5a73c239368f3486c9d16e66918a110937ec134d79f9b3ce79edffe65ab2789b36b7ac9ecd90e57f891759ba4542d608bcc5380 SHA512 46e33697551c4bf0a472c7f2dd51c11ae21d49c7d78fe5213bce60c1d11f9230491c328e425f36733c7262a369644bcedb8392ffe2279031eb2552092a5ac209 |
23 |
DIST ipv6calc-1.1.0.tar.gz 1396498 BLAKE2B 67b95057ea75f7c26ab1f9fc8b8e869ef027594e71800c4f8f1c442f34bce31340f1e7160d4f48033b8bc080738051418be48e3913ccd62594256ab64eaef919 SHA512 8fe2a4717f2be4ceae051b635d4329b8c438d9741e9a99a3c12cc1c0d0daef89325cc9beb7ca65da3c671586ce2a596191962118005aeaaf7cfe33a1d4549101 |
24 |
DIST ipv6calc-2.0.0.tar.gz 1436990 BLAKE2B c445db7583f39b5084adcf756f383d888f1ac75c15702215bbd320c4a54222dfba8ab7b75582d43fb48fa89db1b6e186594f9028d0b30b843e0e7d033baaf6e7 SHA512 6763c27399529b1cc22bdffd84e1fb412d8fe7e20fa7c120fa9a231c0d24e2dde5c285856166ed71e498c93574baaf9d87c4ffb50b2a8511d71b7af4f35c3f25 |
25 |
+DIST ipv6calc-2.1.0.tar.gz 1452903 BLAKE2B 52221e0ff08f6cffbf37900a750359b3e89fc7711ec0fc15b1dd974aa06a4e093ca53fb59e8d75e12824c60079bcefd9df5092365a375825fa9e2e583f0af6dd SHA512 b2ff8557a4af99e1d08b617b2d0a20652d23d80fb532104aefe3708c90fd42ed1309dc9697c7f405715140a2efdb460f4915b797fddf4a7966d165e74224695e |
26 |
|
27 |
diff --git a/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild b/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..12762462078 |
30 |
--- /dev/null |
31 |
+++ b/net-misc/ipv6calc/ipv6calc-2.1.0.ebuild |
32 |
@@ -0,0 +1,68 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+DESCRIPTION="IPv6 address calculator" |
39 |
+HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html" |
40 |
+SRC_URI="https://github.com/pbiering/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="geoip libressl test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ !libressl? ( dev-libs/openssl:= ) |
49 |
+ libressl? ( dev-libs/libressl:= ) |
50 |
+ geoip? ( >=dev-libs/geoip-1.4.7 ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ test? ( dev-perl/Digest-SHA1 ) |
54 |
+" |
55 |
+ |
56 |
+#dev-perl/URI is needed for web interface, that is not installed now |
57 |
+ |
58 |
+src_configure() { |
59 |
+ # These options are broken. You can't disable them. That's |
60 |
+ # okay because we want then force enabled. |
61 |
+ # --disable-db-as-registry |
62 |
+ # --disable-db-cc-registry |
63 |
+ if use geoip; then |
64 |
+ myconf=$(use_enable geoip) |
65 |
+ myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" |
66 |
+ fi |
67 |
+ econf \ |
68 |
+ --disable-bundled-getopt \ |
69 |
+ --disable-bundled-md5 \ |
70 |
+ --enable-shared \ |
71 |
+ --enable-dynamic-load \ |
72 |
+ --enable-db-ieee \ |
73 |
+ --enable-db-ipv4 \ |
74 |
+ --enable-db-ipv6 \ |
75 |
+ --disable-dbip \ |
76 |
+ --disable-dbip2 \ |
77 |
+ --disable-external \ |
78 |
+ --disable-ip2location \ |
79 |
+ --disable-mod_ipv6calc \ |
80 |
+ ${myconf} |
81 |
+} |
82 |
+ |
83 |
+src_compile() { |
84 |
+ emake distclean |
85 |
+ # Disable default CFLAGS (-O2 and -g) |
86 |
+ emake DEFAULT_CFLAGS="" |
87 |
+} |
88 |
+ |
89 |
+src_test() { |
90 |
+ if [[ ${EUID} -eq 0 ]]; then |
91 |
+ # Disable tests that fail as root |
92 |
+ echo true > ipv6logstats/test_ipv6logstats.sh |
93 |
+ fi |
94 |
+ default |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ emake DESTDIR="${D}" install |
99 |
+ dodoc ChangeLog CREDITS README TODO USAGE |
100 |
+} |