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