xtables-geoip: 20110104 -> 20110202

This commit is contained in:
Danny Rawlins 2011-02-03 22:14:37 +11:00
parent b11ea91e37
commit fb0008df36
3 changed files with 971 additions and 492 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
01254fd72de44f3e1b690048b19d7c4e GeoIPCountryCSV.zip
978a04e3e532ef0414ae1dd6a405304d xtables-addons-1.32.tar.xz
8349b51b0de83b7ef906c3dd4918e5e9 GeoIPCountryCSV.zip
db80618d505bf7a5b9d576d83e3f0f80 xtables-addons-1.33.tar.xz

View File

@ -7,18 +7,15 @@
name=xtables-geoip
## date -d "$(curl -sI http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip | grep '^Last-Modified:' | cut -d' ' -f2-)" +%Y%m%d
version=20110104
version=20110202
release=1
source=(http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons/1.32/xtables-addons-1.32.tar.xz
source=(http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons/1.32/xtables-addons-1.33.tar.xz
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip)
build() {
install -d $PKG/usr/share/xt_geoip/{BE,LE}
install -d $PKG/usr/share/xt_geoip
$SRC/xtables-addons-1.32/geoip/geoip_build_db.pl \
-D $PKG/usr/share/xt_geoip/LE/ < $SRC/GeoIPCountryWhois.csv
$SRC/xtables-addons-1.32/geoip/geoip_build_db.pl \
-b -D $PKG/usr/share/xt_geoip/BE/ < $SRC/GeoIPCountryWhois.csv
$SRC/xtables-addons-1.33/geoip/xt_geoip_build \
-D $PKG/usr/share/xt_geoip/ $SRC/GeoIPCountryWhois.csv
}