packages: xtables-geoip/xtables-geoip.spec - 20110404 - added IPv6 database

baggins baggins at pld-linux.org
Wed Apr 20 14:27:42 CEST 2011


Author: baggins                      Date: Wed Apr 20 12:27:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 20110404
- added IPv6 database

---- Files affected:
packages/xtables-geoip:
   xtables-geoip.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/xtables-geoip/xtables-geoip.spec
diff -u packages/xtables-geoip/xtables-geoip.spec:1.18 packages/xtables-geoip/xtables-geoip.spec:1.19
--- packages/xtables-geoip/xtables-geoip.spec:1.18	Thu Feb 10 07:12:25 2011
+++ packages/xtables-geoip/xtables-geoip.spec	Wed Apr 20 14:27:36 2011
@@ -1,17 +1,19 @@
 # $Revision$, $Date$
 Summary:	GeoIP database files for xt_geoip
 Name:		xtables-geoip
-Version:	20110202
+Version:	20110404
 Release:	1
 License:	GPL, Open Data License
 Group:		Networking/Admin
 URL:		http://www.maxmind.com/
 Source0:	http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
-# Source0-md5:	8349b51b0de83b7ef906c3dd4918e5e9
-Source1:	http://geolite.maxmind.com/download/geoip/database/LICENSE.txt
-# Source1-md5:	a1381bd1aa0a0c91dc31b3f1e847cf4a
-Source2:	http://xtables-addons.git.sf.net/git/gitweb.cgi?p=xtables-addons/xtables-addons;a=blob_plain;f=geoip/geoip_build_db.pl
-# Source2-md5:	7cd5c1ab1d83a94d84ae918f0805603f
+# Source0-md5:	37cf1951b9ecced2612f8ff0c0bd3eaa
+Source1:	http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz
+# Source1-md5:	4956a5ab8ecd2dd078420faa5552f09f
+Source2:	http://geolite.maxmind.com/download/geoip/database/LICENSE.txt
+# Source2-md5:	a1381bd1aa0a0c91dc31b3f1e847cf4a
+Source3:	http://xtables-addons.git.sourceforge.net/git/gitweb.cgi?p=xtables-addons/xtables-addons;a=blob_plain;f=geoip/xt_geoip_build
+# Source3-md5:	9933235c5d9c4c7fbad965d6317f8c2f
 BuildRequires:	perl-Text-CSV_XS >= 0.69
 BuildRequires:	perl-base
 BuildRequires:	unzip
@@ -41,14 +43,15 @@
 	exit 1
 fi
 
-cp -a %{SOURCE1} .
+gunzip -c %{SOURCE1} >GeoIPv6.csv
+cp -a %{SOURCE2} .
 
 %build
 install -d %{byteorder}
 %if "%{byteorder}" == "BE"
-%{__perl} %{SOURCE2} -D %{byteorder} -b GeoIPCountryWhois.csv | tee ranges.txt
+%{__perl} %{SOURCE3} -D %{byteorder} -b GeoIPCountryWhois.csv GeoIPv6.csv | tee ranges.txt
 %else
-%{__perl} %{SOURCE2} -D %{byteorder} GeoIPCountryWhois.csv | tee ranges.txt
+%{__perl} %{SOURCE3} -D %{byteorder} GeoIPCountryWhois.csv GeoIPv6.csv | tee ranges.txt
 %endif
 
 %install
@@ -71,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2011/04/20 12:27:36  baggins
+- 20110404
+- added IPv6 database
+
 Revision 1.18  2011/02/10 06:12:25  glen
 - up to 2011.02.02
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xtables-geoip/xtables-geoip.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list