jer         14/06/12 19:25:03

  Modified:             ChangeLog
  Added:                geoip-1.6.0-r2.ebuild
  Log:
  Remove all database downloads from SRC_URI, and set RESTRICT=test 
accordingly. Add a -f --force option to the update script. Run the script in 
pkg_postinst(). Add net-misc/wget dependency.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.213                dev-libs/geoip/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.213&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?rev=1.213&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/ChangeLog?r1=1.212&r2=1.213

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -r1.212 -r1.213
--- ChangeLog   12 Jun 2014 19:04:10 -0000      1.212
+++ ChangeLog   12 Jun 2014 19:25:03 -0000      1.213
@@ -1,6 +1,14 @@
 # ChangeLog for dev-libs/geoip
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.212 2014/06/12 
19:04:10 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.213 2014/06/12 
19:25:03 jer Exp $
+
+*geoip-1.6.0-r2 (12 Jun 2014)
+
+  12 Jun 2014; Jeroen Roovers <[email protected]> +geoip-1.6.0-r2.ebuild,
+  +files/geoipupdate-r3.sh:
+  Remove all database downloads from SRC_URI, and set RESTRICT=test
+  accordingly. Add a -f --force option to the update script. Run the script in
+  pkg_postinst(). Add net-misc/wget dependency.
 
   12 Jun 2014; Jeroen Roovers <[email protected]> geoip-1.6.0-r1.ebuild,
   files/geoipupdate-r2.sh:



1.1                  dev-libs/geoip/geoip-1.6.0-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r2.ebuild?rev=1.1&content-type=text/plain

Index: geoip-1.6.0-r2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/geoip-1.6.0-r2.ebuild,v 1.1 
2014/06/12 19:25:03 jer Exp $

EAPI=5
inherit autotools eutils

DESCRIPTION="easily lookup countries by IP addresses, even when Reverse DNS 
entries don't exist"
HOMEPAGE="https://github.com/maxmind/geoip-api-c";
SRC_URI="
        https://github.com/maxmind/${PN}-api-c/archive/v${PV}.tar.gz -> 
${P}.tar.gz
"

# GPL-2 for md5.c - part of libGeoIPUpdate, MaxMind for GeoLite Country db
LICENSE="LGPL-2.1 GPL-2 MaxMind2"
SLOT="0"
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"
IUSE="city ipv6 static-libs"
RESTRICT="test"

DEPEND="net-misc/wget"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN}-api-c-${PV}"

src_prepare() {
        eautoreconf
}

src_configure() {
        econf $(use_enable static-libs static)
}

src_install() {
        default

        dodoc AUTHORS ChangeLog README* TODO

        prune_libtool_files

        newsbin "${FILESDIR}"/geoipupdate-r3.sh geoipupdate.sh
}

pkg_postinst() {
        geoipupdate.sh --force
}

pkg_postrm() {
        rm -r "${ROOT}/usr/share/GeoIP/"
}




Reply via email to