Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/geoip: ChangeLog geoip-1.4.8.ebuild
Date: Wed, 06 Jul 2011 14:29:57
Message-Id: 20110706142945.F03B02004B@flycatcher.gentoo.org
1 jer 11/07/06 14:29:45
2
3 Modified: ChangeLog
4 Added: geoip-1.4.8.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha43/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.118 dev-libs/geoip/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.118&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.118&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?r1=1.117&r2=1.118
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v
20 retrieving revision 1.117
21 retrieving revision 1.118
22 diff -u -r1.117 -r1.118
23 --- ChangeLog 16 Jun 2011 14:59:15 -0000 1.117
24 +++ ChangeLog 6 Jul 2011 14:29:45 -0000 1.118
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/geoip
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.117 2011/06/16 14:59:15 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.118 2011/07/06 14:29:45 jer Exp $
30 +
31 +*geoip-1.4.8 (06 Jul 2011)
32 +
33 + 06 Jul 2011; Jeroen Roovers <jer@g.o> +geoip-1.4.8.ebuild:
34 + Version bump.
35
36 *geoip-1.4.7-r1 (16 Jun 2011)
37
38
39
40
41 1.1 dev-libs/geoip/geoip-1.4.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.4.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.4.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: geoip-1.4.8.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.4.8.ebuild,v 1.1 2011/07/06 14:29:45 jer Exp $
51
52 EAPI=4
53
54 inherit autotools autotools-utils
55
56 MY_P=${P/geoip/GeoIP}
57
58 DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
59 HOMEPAGE="http://www.maxmind.com/geoip/api/c.shtml"
60 SRC_URI="
61 http://www.maxmind.com/download/geoip/api/c/${MY_P}.tar.gz
62 ipv6? ( http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz )
63 "
64
65 # GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
66 LICENSE="LGPL-2.1 GPL-2 MaxMind2"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="ipv6 perl-geoipupdate static-libs"
70
71 RDEPEND="
72 perl-geoipupdate? (
73 dev-perl/PerlIO-gzip
74 dev-perl/libwww-perl
75 )
76 "
77
78 S=${WORKDIR}/${MY_P}
79
80 src_prepare() {
81 sed -e "s:usr local share GeoIP:usr share GeoIP:" \
82 -e "s:usr local etc:etc:" \
83 -i apps/geoipupdate-pureperl.pl || die
84
85 eautoreconf
86 }
87
88 src_configure() {
89 econf $(use_enable static-libs static)
90 }
91
92 src_install() {
93 default
94 use perl-geoipupdate && dobin apps/geoipupdate-pureperl.pl
95 dodoc AUTHORS ChangeLog README TODO conf/GeoIP.conf.default
96 rm "${ED}/etc/GeoIP.conf.default"
97 use static-libs || remove_libtool_files
98
99 if use ipv6; then
100 insinto /usr/share/GeoIP
101 doins "${WORKDIR}/GeoIPv6.dat" || die
102 fi
103
104 dosbin "${FILESDIR}/geoipupdate.sh"
105 }