From 9c075aacac518d2cfc0f9c64cd7287906d29f9cc Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 7 Apr 2014 00:04:03 +0000 Subject: Old. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) --- dev-libs/geoip/ChangeLog | 5 ++++- dev-libs/geoip/files/geoipupdate-r1.sh | 27 --------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) delete mode 100755 dev-libs/geoip/files/geoipupdate-r1.sh (limited to 'dev-libs') diff --git a/dev-libs/geoip/ChangeLog b/dev-libs/geoip/ChangeLog index 5746f6ef5ea1..4151187a11c4 100644 --- a/dev-libs/geoip/ChangeLog +++ b/dev-libs/geoip/ChangeLog @@ -1,6 +1,9 @@ # 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.208 2014/04/05 18:31:05 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/geoip/ChangeLog,v 1.209 2014/04/07 00:04:03 jer Exp $ + + 07 Apr 2014; Jeroen Roovers -files/geoipupdate-r1.sh: + Old. 05 Apr 2014; Agostino Sarubbo geoip-1.6.0-r1.ebuild: Stable for alpha, wrt bug #501344 diff --git a/dev-libs/geoip/files/geoipupdate-r1.sh b/dev-libs/geoip/files/geoipupdate-r1.sh deleted file mode 100755 index f4081d100f25..000000000000 --- a/dev-libs/geoip/files/geoipupdate-r1.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -GEOIP_MIRROR="http://geolite.maxmind.com/download/geoip/database" -GEOIPDIR=/usr/share/GeoIP -TMPDIR= - -DATABASES="GeoLiteCity GeoLiteCountry/GeoIP asnum/GeoIPASNum GeoIPv6 GeoLiteCityv6-beta/GeoLiteCityv6" - -if [ -d "${GEOIPDIR}" ]; then - cd $GEOIPDIR - if [ -n "${DATABASES}" ]; then - TMPDIR=$(mktemp -d geoipupdate.XXXXXXXXXX) - - echo "Updating GeoIP databases..." - - for db in $DATABASES; do - fname=$(basename $db) - - wget --no-verbose -t 3 -T 60 "${GEOIP_MIRROR}/${db}.dat.gz" -O "${TMPDIR}/${fname}.dat.gz" - gunzip -fdc "${TMPDIR}/${fname}.dat.gz" > "${TMPDIR}/${fname}.dat" - mv "${TMPDIR}/${fname}.dat" "${GEOIPDIR}/${fname}.dat" - chmod 0644 "${GEOIPDIR}/${fname}.dat" - done - [ -d "${TMPDIR}" ] && rm -rf $TMPDIR - fi -fi - -- cgit v1.2.3-65-gdbad