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: geoip-1.6.3.ebuild ChangeLog geoip-1.6.2-r1.ebuild
Date: Thu, 30 Oct 2014 00:39:16
Message-Id: 20141030003912.129D59093@oystercatcher.gentoo.org
1 jer 14/10/30 00:39:12
2
3 Modified: ChangeLog
4 Added: geoip-1.6.3.ebuild
5 Removed: geoip-1.6.2-r1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.231 dev-libs/geoip/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.231&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.231&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?r1=1.230&r2=1.231
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v
21 retrieving revision 1.230
22 retrieving revision 1.231
23 diff -u -r1.230 -r1.231
24 --- ChangeLog 29 Oct 2014 09:31:25 -0000 1.230
25 +++ ChangeLog 30 Oct 2014 00:39:12 -0000 1.231
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.230 2014/10/29 09:31:25 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.231 2014/10/30 00:39:12 jer Exp $
31 +
32 +*geoip-1.6.3 (30 Oct 2014)
33 +
34 + 30 Oct 2014; Jeroen Roovers <jer@g.o> -geoip-1.6.2-r1.ebuild,
35 + +geoip-1.6.3.ebuild:
36 + Version bump.
37
38 29 Oct 2014; Agostino Sarubbo <ago@g.o> geoip-1.6.2.ebuild:
39 Stable for sparc, wrt bug #523034
40
41
42
43 1.1 dev-libs/geoip/geoip-1.6.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: geoip-1.6.3.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.3.ebuild,v 1.1 2014/10/30 00:39:12 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 ~mips ~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-r5.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 }