Summary: GeoIP database files for xt_geoip
Summary(pl.UTF-8): Pliki baz danych GeoIP dla xt_geoip
Name: xtables-geoip
-Version: 20120808
+Version: 20130807
Release: 1
License: GPL, Open Data License
Group: Networking/Admin
Source0: http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
-# Source0-md5: 65f96d32d1aa83c4ceadfc98b778cddf
+# Source0-md5: c79ae4017e1c165f125cb3cad2477309
Source1: http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz
-# Source1-md5: d6e2e96ab35dffd82dd4d64d9e82af9b
+# Source1-md5: e48a42723b3faccbdc2dd54addb24857
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
gunzip -c %{SOURCE1} > GeoIPv6.csv
touch -r %{SOURCE1} GeoIPv6.csv
-ver4=$(stat -c '%y' GeoIPCountryWhois.csv | awk '{print $1}' | tr -d -)
-ver6=$(stat -c '%y' GeoIPv6.csv | awk '{print $1}' | tr -d -)
+ver4=$(TZ=GMT stat -c '%y' GeoIPCountryWhois.csv | awk '{print $1}' | tr -d -)
+ver6=$(TZ=GMT stat -c '%y' GeoIPv6.csv | awk '{print $1}' | tr -d -)
if [ "$ver4" -gt "$ver6" ]; then
ver=$ver4
else