From 2862bf30d774814adcc42012670e4f5511b9630c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 15 Feb 2021 08:36:15 +0100 Subject: [PATCH] Add support for geoip --- data/supported-extensions | 1 + install-php-extensions | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/data/supported-extensions b/data/supported-extensions index 54e0ada..9444816 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -13,6 +13,7 @@ exif 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 ffi 7.4 8.0 gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gearman 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 +geoip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 geospatial 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gettext 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gmagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 diff --git a/install-php-extensions b/install-php-extensions index 95a87ad..b554c04 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -514,6 +514,14 @@ buildRequiredPackageLists() { buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libgearman[0-9]*$" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgearman-dev" ;; + geoip@alpine) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent geoip" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile geoip-dev" + ;; + geoip@debian) + buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libgeoip1[0-9]*$" + buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgeoip-dev" + ;; gettext@alpine) buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libintl" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile gettext-dev" @@ -1566,6 +1574,11 @@ installRemoteModule() { ;; esac ;; + geoip) + if test -z "$installRemoteModule_version"; then + installRemoteModule_version=beta + fi + ;; geospatial) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then