[Midnightbsd-cvs] mports: net/GeoIP: update to 1.4.5, add free database update script
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Jan 12 17:31:34 EST 2009
Log Message:
-----------
update to 1.4.5, add free database update script
Modified Files:
--------------
mports/net/GeoIP:
Makefile (r1.1 -> r1.2)
distinfo (r1.1 -> r1.2)
pkg-plist (r1.1 -> r1.2)
Added Files:
-----------
mports/net/GeoIP/files:
geoipupdate.sh (r1.1)
-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/net/GeoIP/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/GeoIP/pkg-plist -L net/GeoIP/pkg-plist -u -r1.1 -r1.2
--- net/GeoIP/pkg-plist
+++ net/GeoIP/pkg-plist
@@ -1,5 +1,7 @@
bin/geoiplookup
+bin/geoiplookup6
bin/geoipupdate
+bin/geoipupdate.sh
@unexec if cmp -s %D/etc/GeoIP.conf %D/etc/GeoIP.conf.default; then rm -f %D/etc/GeoIP.conf; fi
etc/GeoIP.conf.default
include/GeoIP.h
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/GeoIP/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/GeoIP/Makefile -L net/GeoIP/Makefile -u -r1.1 -r1.2
--- net/GeoIP/Makefile
+++ net/GeoIP/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= GeoIP
-PORTVERSION= 1.4.4
+PORTVERSION= 1.4.5
CATEGORIES= net geography
-MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/
+MASTER_SITES= http://www.maxmind.com/download/geoip/api/c/ \
+ http://mirror.mcx2.org/
MAINTAINER= ports at MidnightBSD.org
COMMENT= Find the country that any IP address or hostname originates from
@@ -21,4 +22,7 @@
MAN1= geoiplookup.1 geoipupdate.1
+post-install:
+ ${INSTALL_SCRIPT} ${FILESDIR}/geoipupdate.sh ${PREFIX}/bin/
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/net/GeoIP/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/GeoIP/distinfo -L net/GeoIP/distinfo -u -r1.1 -r1.2
--- net/GeoIP/distinfo
+++ net/GeoIP/distinfo
@@ -1,3 +1,3 @@
-MD5 (GeoIP-1.4.4.tar.gz) = 27c1320e41e67b9ddcf4118e4eaccd1d
-SHA256 (GeoIP-1.4.4.tar.gz) = a5b2ee9298eaf8c160ccab5b3e2ecc1c38cf67d9dd4e97419427f89d08cfb78e
-SIZE (GeoIP-1.4.4.tar.gz) = 944698
+MD5 (GeoIP-1.4.5.tar.gz) = d95c34cf8ebd48e357b1812db5d75cf1
+SHA256 (GeoIP-1.4.5.tar.gz) = cd62034fe0206be243cbb43723520987978d8e55ee61872f34fd60a31f5c6b18
+SIZE (GeoIP-1.4.5.tar.gz) = 986844
--- /dev/null
+++ net/GeoIP/files/geoipupdate.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd /tmp
+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
More information about the Midnightbsd-cvs
mailing list