From 33372939c6f56e76fbad8ecfda9bc6e82e9d4273 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 1 Dec 2008 21:15:44 +0000 Subject: [PATCH] - Fix Country database url PR: 129124 Submitted by: Bogdan Culibrk Approved by: maintainer --- net/GeoIP/Makefile | 1 + net/GeoIP/files/geoipupdate.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/GeoIP/Makefile b/net/GeoIP/Makefile index 38c2a0f5dff9..12e512da2836 100644 --- a/net/GeoIP/Makefile +++ b/net/GeoIP/Makefile @@ -7,6 +7,7 @@ PORTNAME= GeoIP PORTVERSION= 1.4.5 +PORTREVISION= 1 CATEGORIES= net geography MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/ \ http://mirror.mcx2.org/ diff --git a/net/GeoIP/files/geoipupdate.sh b/net/GeoIP/files/geoipupdate.sh index b137fdbd8d52..bba804c85b77 100644 --- a/net/GeoIP/files/geoipupdate.sh +++ b/net/GeoIP/files/geoipupdate.sh @@ -1,5 +1,5 @@ #!/bin/sh cd /tmp -fetch http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz +fetch http://64.246.48.99/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz gunzip GeoIP.dat.gz mv -f GeoIP.dat /usr/local/share/GeoIP