New package: geoip-data-20170416

This commit is contained in:
Enno Boland 2017-04-16 20:04:11 +02:00
parent a580d9a86e
commit 1adb3d562c
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Template file for 'geoip-data'
pkgname=geoip-data
version=20170416
revision=1
create_wrksrc=yes
short_desc="Non-DNS IP-to-country resolver C library and utilities (data files)"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="CC BY-SA 4.0"
homepage="https://dev.maxmind.com/geoip/legacy/geolite/"
distfiles="
http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoIPv6.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz"
checksum="0fff4856664bec9d6feda3467fc5273dbcd3c0a9dc1a2ad90a75bee505ad88a9
b0561561be6ad5fda16b8ccd903c76bfcea25a6789bf26104445c432d17a6b76
b4464f8695a72a011a51da910a4d2a7e3c2440d7d988fd4f19a7976072a4cb61
f22f36d9edb92a46003d6036f80c4e7ac955305ee73b6e875f01ec2164290d1e
c25bb12c2c8d9c3caca355aaf82994a83d9129d63dfbe2810be3d5ab842e5683
35b77995e04f415fbfee6c24d4dafafe6c8af4bc51452bcb744b1797e53f8625"
do_install() {
vmkdir usr/share/GeoIP
for i in $distfiles; do
local n=$(basename "$i" .gz)
vinstall $n 644 usr/share/GeoIP
done
}