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.2.ebuild ChangeLog ipv6calc-0.97.1.ebuild
Date: Fri, 23 May 2014 21:39:53
Message-Id: 20140523213949.7406E2004C@flycatcher.gentoo.org
1 blueness 14/05/23 21:39:49
2
3 Modified: ChangeLog
4 Added: ipv6calc-0.97.2.ebuild
5 Removed: ipv6calc-0.97.1.ebuild
6 Log:
7 Version bump
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.78 net-misc/ipv6calc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?rev=1.78&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?rev=1.78&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ChangeLog?r1=1.77&r2=1.78
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v
21 retrieving revision 1.77
22 retrieving revision 1.78
23 diff -u -r1.77 -r1.78
24 --- ChangeLog 21 May 2014 06:44:05 -0000 1.77
25 +++ ChangeLog 23 May 2014 21:39:49 -0000 1.78
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.77 2014/05/21 06:44:05 blueness Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ipv6calc/ChangeLog,v 1.78 2014/05/23 21:39:49 blueness Exp $
31 +
32 +*ipv6calc-0.97.2 (23 May 2014)
33 +
34 + 23 May 2014; Anthony G. Basile <blueness@g.o> +ipv6calc-0.97.2.ebuild,
35 + -ipv6calc-0.97.1.ebuild:
36 + Version bump
37
38 *ipv6calc-0.97.1 (21 May 2014)
39
40
41
42
43 1.1 net-misc/ipv6calc/ipv6calc-0.97.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/ipv6calc/ipv6calc-0.97.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ipv6calc-0.97.2.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.2.ebuild,v 1.1 2014/05/23 21:39:49 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 }