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