]> git.pld-linux.org Git - packages/xtables-geoip.git/blobdiff - xtables-geoip.spec
updated to 20170906
[packages/xtables-geoip.git] / xtables-geoip.spec
index 04b03296ff518a27eba74ea4ef5bef1a036baa93..a8ea3595327023dea63e698a1ad631ed12cc917c 100644 (file)
@@ -1,18 +1,18 @@
 Summary:       GeoIP database files for xt_geoip
 Summary(pl.UTF-8):     Pliki baz danych GeoIP dla xt_geoip
 Name:          xtables-geoip
-Version:       20120907
+Version:       20170906
 Release:       1
 License:       GPL, Open Data License
 Group:         Networking/Admin
 Source0:       http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
-# Source0-md5: 99340e7db88fb69c5dddff14cf89d1d3
+# Source0-md5: 5d125c8e13e2a409533f6ff59f23fcdd
 Source1:       http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz
-# Source1-md5: df0797adb09d863730c86ac07011d6dc
+# Source1-md5: da640c22f6899bff7bc073e06219a600
 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: 76c6959bad03c1ff064aefcb4811cd92
+Source3:       http://sourceforge.net/p/xtables-addons/xtables-addons/ci/master/tree/geoip/xt_geoip_build?format=raw&/xt_geoip_build
+# Source3-md5: 4dcd62c8b2c8b90cc88e961613118be3
 URL:           http://www.maxmind.com/
 BuildRequires: perl-Text-CSV_XS >= 0.69
 BuildRequires: perl-base
@@ -46,8 +46,8 @@ xtables-addons.
 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
This page took 0.058701 seconds and 4 git commands to generate.