mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
- Allow MaxMind license key input required for downloads - Update db retrieval (new endpoint with license key and new compressed file structure) MaxMind stopped allowing direct downloads of free databases without a license key: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/ This commit allows user input of license key, which can be retrieved for free by registering on their website: https://www.maxmind.com/en/geolite2/signup
12 lines
351 B
Bash
Executable File
12 lines
351 B
Bash
Executable File
# Database files to download
|
|
# MAXMINDDB_FILES="GeoLite2-City.mmdb"
|
|
|
|
# Database download directory
|
|
# MAXMINDDB_URL="https://download.maxmind.com/app/geoip_download"
|
|
|
|
# Local target directory
|
|
# MAXMINDDB_LIBDIR="/var/lib/libmaxminddb"
|
|
|
|
# MaxMind license key, can be retrieved through https://www.maxmind.com/en/geolite2/signup
|
|
MAXMINDDB_LICENSE_KEY=""
|