From ec16377d52ea1e350a8ba122eae70c879c90e5ba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Apr 2026 09:30:30 +0200 Subject: initial package obsoletes php-pecl-geoip fix compatibility with PHP 7 using patch from https://github.com/rlerdorf/geoip/pull/7 --- composer.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 composer.json (limited to 'composer.json') diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..8bde336 --- /dev/null +++ b/composer.json @@ -0,0 +1,19 @@ +{ + "name": "rlerdorf/geoip", + "type": "php-ext", + "description": "Legacy GeoIP (v1) PHP extension wrapping MaxMind's libGeoIP C library", + "license": "PHP-3.01", + "require": { + "php": ">=7.2" + }, + "php-ext": { + "extension-name": "geoip", + "configure-options": [ + { + "name": "with-geoip", + "description": "Path to libGeoIP installation prefix (or 'yes' for auto-detection)", + "needs-value": true + } + ] + } +} -- cgit