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