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.6.2.ebuild geoip-1.6.1.ebuild
Date: Wed, 09 Jul 2014 12:37:52
Message-Id: 20140709123746.942322004E@flycatcher.gentoo.org
1 jer 14/07/09 12:37:46
2
3 Modified: ChangeLog
4 Added: geoip-1.6.2.ebuild
5 Removed: geoip-1.6.1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.220 dev-libs/geoip/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.220&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.220&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?r1=1.219&r2=1.220
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v
21 retrieving revision 1.219
22 retrieving revision 1.220
23 diff -u -r1.219 -r1.220
24 --- ChangeLog 26 Jun 2014 20:12:16 -0000 1.219
25 +++ ChangeLog 9 Jul 2014 12:37:46 -0000 1.220
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/geoip
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.219 2014/06/26 20:12:16 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.220 2014/07/09 12:37:46 jer Exp $
31 +
32 +*geoip-1.6.2 (09 Jul 2014)
33 +
34 + 09 Jul 2014; Jeroen Roovers <jer@g.o> -geoip-1.6.1.ebuild,
35 + +geoip-1.6.2.ebuild:
36 + Version bump.
37
38 *geoip-1.6.1 (26 Jun 2014)
39
40
41
42
43 1.1 dev-libs/geoip/geoip-1.6.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: geoip-1.6.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/dev-libs/geoip/geoip-1.6.2.ebuild,v 1.1 2014/07/09 12:37:46 jer Exp $
53
54 EAPI=5
55 inherit autotools eutils
56
57 DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS entries don't exist"
58 HOMEPAGE="https://github.com/maxmind/geoip-api-c"
59 SRC_URI="
60 https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> ${P}.tar.gz
61 "
62
63 # GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
64 LICENSE="LGPL-2.1 GPL-2 MaxMind2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
67 IUSE="static-libs"
68 RESTRICT="test"
69
70 DEPEND="net-misc/wget"
71 RDEPEND="${DEPEND}"
72
73 S="${WORKDIR}/${PN}-api-c-${PV}"
74
75 src_prepare() {
76 eautoreconf
77 }
78
79 src_configure() {
80 econf $(use_enable static-libs static)
81 sed -e "s|@PREFIX@|${ROOT}|g" "${FILESDIR}"/geoipupdate-r4.sh > geoipupdate.sh || die
82 }
83
84 src_install() {
85 default
86
87 dodoc AUTHORS ChangeLog README* TODO
88
89 prune_libtool_files
90
91 keepdir /usr/share/GeoIP
92
93 dosbin geoipupdate.sh
94 }
95
96 pkg_postinst() {
97 elog "Don't forget to run the included geoipupdate.sh or geoipupdate (from"
98 elog "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/"
99 elog "with geo-located IP address databases."
100 }