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