2011-11-02 15:27:57 +01:00
|
|
|
# Description: GeoIP database files for xt_geoip in xtables-addons.
|
2012-01-07 06:51:53 +01:00
|
|
|
# URL: http://www.maxmind.com/app/geoip_country
|
2010-12-27 04:00:38 +01:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
2011-11-02 15:27:57 +01:00
|
|
|
# Depends on: p5-text-csv-xs xtables-addons
|
2010-12-27 04:00:38 +01:00
|
|
|
|
|
|
|
name=xtables-geoip
|
2012-12-05 10:46:05 +01:00
|
|
|
version=20121205
|
2010-12-27 04:00:38 +01:00
|
|
|
release=1
|
2012-08-27 15:12:05 +02:00
|
|
|
source=(http://www.hvlinux.net/crux/distfiles/$name/GeoIPCountryCSV-$version.zip
|
2012-12-05 10:46:05 +01:00
|
|
|
http://www.hvlinux.net/crux/distfiles/$name/GeoIPv6-20121106.csv.gz)
|
2010-12-27 04:00:38 +01:00
|
|
|
|
|
|
|
build() {
|
2012-03-06 14:11:45 +01:00
|
|
|
gunzip $SRC/GeoIPv6-*.csv.gz
|
2011-11-02 15:27:57 +01:00
|
|
|
|
2011-02-03 12:14:37 +01:00
|
|
|
install -d $PKG/usr/share/xt_geoip
|
2010-12-27 04:00:38 +01:00
|
|
|
|
2011-11-02 15:27:57 +01:00
|
|
|
/usr/lib/xtables-addons/xt_geoip_build \
|
|
|
|
-D $PKG/usr/share/xt_geoip/ $SRC/*.csv
|
2010-12-27 04:00:38 +01:00
|
|
|
}
|