forked from ports/contrib
xtables-geoip: 20111007 -> 20111101
This commit is contained in:
parent
04f9ab30f2
commit
18f419652a
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,2 @@
|
|||||||
e69b3593e44cc0188bd9e73d4e07850b GeoIPCountryCSV.zip
|
c4895307ea6db0b1ab62c227dd5e9b94 GeoIPCountryCSV.zip
|
||||||
2b976f502f626ed2245d276d83efc451 xtables-addons-1.36.tar.xz
|
42819a6571eae81e61ddb8f7eb688d46 GeoIPv6.csv.gz
|
||||||
|
@ -1,21 +1,20 @@
|
|||||||
# Description: GeoIP database files for xt_geoip
|
# Description: GeoIP database files for xt_geoip in xtables-addons.
|
||||||
# URL: http://maxmind.com/
|
# URL: http://maxmind.com/
|
||||||
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||||||
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
||||||
# Depends on: p5-text-csv-xs
|
# Depends on: p5-text-csv-xs xtables-addons
|
||||||
|
|
||||||
name=xtables-geoip
|
name=xtables-geoip
|
||||||
|
version=20111101
|
||||||
## date -d "$(curl -sI http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip | grep '^Last-Modified:' | cut -d' ' -f2-)" +%Y%m%d
|
|
||||||
version=20111007
|
|
||||||
|
|
||||||
release=1
|
release=1
|
||||||
source=(http://downloads.sourceforge.net/project/xtables-addons/Xtables-addons/1.36/xtables-addons-1.36.tar.xz
|
source=(http://www.hvlinux.net/crux/distfiles/$name/GeoIPCountryCSV.zip
|
||||||
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip)
|
http://www.hvlinux.net/crux/distfiles/$name/GeoIPv6.csv.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
gunzip $SRC/GeoIPv6.csv.gz
|
||||||
|
|
||||||
install -d $PKG/usr/share/xt_geoip
|
install -d $PKG/usr/share/xt_geoip
|
||||||
|
|
||||||
$SRC/xtables-addons-1.36/geoip/xt_geoip_build \
|
/usr/lib/xtables-addons/xt_geoip_build \
|
||||||
-D $PKG/usr/share/xt_geoip/ $SRC/GeoIPCountryWhois.csv
|
-D $PKG/usr/share/xt_geoip/ $SRC/*.csv
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user