forked from ports/contrib
22 lines
770 B
Plaintext
22 lines
770 B
Plaintext
# Description: GeoIP database files for xt_geoip
|
|
# URL: http://maxmind.com/
|
|
# Maintainer: 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
|
|
|
|
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=20110202
|
|
|
|
release=1
|
|
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
|
|
|
|
$SRC/xtables-addons-1.33/geoip/xt_geoip_build \
|
|
-D $PKG/usr/share/xt_geoip/ $SRC/GeoIPCountryWhois.csv
|
|
}
|