Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/ipv6calc: ipv6calc-0.97.1.ebuild ChangeLog ipv6calc-0.97.0.ebuild
Date: Wed, 21 May 2014 06:44:08
Message-Id: 20140521064405.5A2752004C@flycatcher.gentoo.org
1 blueness 14/05/21 06:44:05
2
3 Modified: ChangeLog
4 Added: ipv6calc-0.97.1.ebuild
5 Removed: ipv6calc-0.97.0.ebuild
6 Log:
7 Minor version bump, remove older
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
10
11 Revision Changes Path
12 1.77 net-misc/ipv6calc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?rev=1.77&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?rev=1.77&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?r1=1.76&r2=1.77
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v
21 retrieving revision 1.76
22 retrieving revision 1.77
23 diff -u -r1.76 -r1.77
24 --- ChangeLog 19 May 2014 12:25:07 -0000 1.76
25 +++ ChangeLog 21 May 2014 06:44:05 -0000 1.77
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-misc/ipv6calc
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.76 2014/05/19 12:25:07 blueness Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.77 2014/05/21 06:44:05 blueness Exp $
31 +
32 +*ipv6calc-0.97.1 (21 May 2014)
33 +
34 + 21 May 2014; Anthony G. Basile <blueness@g.o> +ipv6calc-0.97.1.ebuild,
35 + -ipv6calc-0.97.0.ebuild:
36 + Minor version bump, remove older
37
38 *ipv6calc-0.97.0 (19 May 2014)
39
40
41
42
43 1.1 net-misc/ipv6calc/ipv6calc-0.97.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ipv6calc-0.97.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.1.ebuild,v 1.1 2014/05/21 06:44:05 blueness Exp $
53
54 EAPI="5"
55 inherit eutils
56
57 DESCRIPTION="IPv6 address calculator"
58 HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html"
59 SRC_URI="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
64 IUSE="geoip test"
65
66 RDEPEND="
67 dev-libs/openssl
68 geoip? ( >=dev-libs/geoip-1.4.7 )
69 "
70 DEPEND="${RDEPEND}
71 test? ( dev-perl/Digest-SHA1 )
72 "
73
74 #dev-perl/URI is needed for web interface, that is not installed now
75
76 src_configure() {
77 if use geoip; then
78 myconf=$(use_enable geoip)
79 myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP"
80 fi
81 econf \
82 --disable-bundled-getopt \
83 --disable-bundled-md5 \
84 --disable-shared \
85 --enable-dynamic-load \
86 --enable-db-ieee \
87 --enable-db-ipv4 \
88 --disable-db-ipv6 \
89 --disable-ip2location \
90 ${myconf}
91 }
92
93 src_compile() {
94 # Disable default CFLAGS (-O2 and -g)
95 emake DEFAULT_CFLAGS=""
96 }
97
98 src_test() {
99 if [[ ${EUID} -eq 0 ]]; then
100 # Disable tests that fail as root
101 echo true > ipv6logstats/test_ipv6logstats.sh
102 fi
103 default
104 }
105
106 src_install() {
107 emake DESTDIR="${D}" install
108 dodoc ChangeLog CREDITS README TODO USAGE
109 }