2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: cografi ip çözücü veritabanı
|
2017-06-01 18:14:21 +02:00
|
|
|
|
# URL: http://www.maxmind.com/app/c
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-06-01 18:14:21 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=geoip-database
|
|
|
|
|
surum=20170601
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(
|
2017-06-01 18:14:21 +02:00
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
|
|
|
|
|
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
|
|
|
|
|
)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-01 18:14:21 +02:00
|
|
|
|
umask 022
|
|
|
|
|
install -d $PKG/usr/share/GeoIP
|
|
|
|
|
for i in GeoIP.dat GeoIPv6.dat; do
|
|
|
|
|
gzip -dc $i.gz > $PKG/usr/share/GeoIP/$i
|
|
|
|
|
done
|
|
|
|
|
}
|