summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-04-07 00:04:03 +0000
committerJeroen Roovers <jer@gentoo.org>2014-04-07 00:04:03 +0000
commit9c075aacac518d2cfc0f9c64cd7287906d29f9cc (patch)
tree024fe5fcc78f65b3831d0f2c4a0aeadaf514a13f
parentUpdate database digests (bug #506980 by David Flogeras). (diff)
downloadgentoo-2-9c075aacac518d2cfc0f9c64cd7287906d29f9cc.tar.gz
gentoo-2-9c075aacac518d2cfc0f9c64cd7287906d29f9cc.tar.bz2
gentoo-2-9c075aacac518d2cfc0f9c64cd7287906d29f9cc.zip
Old.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r--dev-libs/geoip/ChangeLog5
-rwxr-xr-xdev-libs/geoip/files/geoipupdate-r1.sh27
2 files changed, 4 insertions, 28 deletions
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 <jer@gentoo.org> -files/geoipupdate-r1.sh:
+ Old.
05 Apr 2014; Agostino Sarubbo <ago@gentoo.org> 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
-