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.5.ebuild geoip-1.6.2.ebuild
Date: Wed, 04 Mar 2015 14:44:50
Message-Id: 20150304144445.CE99A1306B@oystercatcher.gentoo.org
1 jer 15/03/04 14:44:45
2
3 Modified: ChangeLog
4 Added: geoip-1.6.5.ebuild
5 Removed: geoip-1.6.2.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.246 dev-libs/geoip/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.246&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.246&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?r1=1.245&r2=1.246
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v
21 retrieving revision 1.245
22 retrieving revision 1.246
23 diff -u -r1.245 -r1.246
24 --- ChangeLog 28 Feb 2015 13:33:48 -0000 1.245
25 +++ ChangeLog 4 Mar 2015 14:44:45 -0000 1.246
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/geoip
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.245 2015/02/28 13:33:48 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.246 2015/03/04 14:44:45 jer Exp $
31 +
32 +*geoip-1.6.5 (04 Mar 2015)
33 +
34 + 04 Mar 2015; Jeroen Roovers <jer@g.o> -geoip-1.6.2.ebuild,
35 + +geoip-1.6.5.ebuild:
36 + Version bump.
37
38 28 Feb 2015; Agostino Sarubbo <ago@g.o> geoip-1.6.3.ebuild:
39 Stable for ia64, wrt bug #533668
40
41
42
43 1.1 dev-libs/geoip/geoip-1.6.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: geoip-1.6.5.ebuild
49 ===================================================================
50 # Copyright 1999-2015 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.5.ebuild,v 1.1 2015/03/04 14:44:45 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 NEWS.md README*
88
89 prune_libtool_files
90
91 keepdir /usr/share/GeoIP
92
93 dosbin geoipupdate.sh
94 }
95
96 pkg_postinst() {
97 ewarn "WARNING: Databases are no longer installed by this ebuild."
98 elog "Don't forget to run 'geoipupdate.sh -f' (or geoipupdate from"
99 elog "net-misc/geoipupdate) to populate ${ROOT}/usr/share/GeoIP/"
100 elog "with geo-located IP address databases."
101 }