diff options
-rw-r--r-- | checkpkgist.json | 10 | ||||
-rwxr-xr-x | checkpkgist.php | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/checkpkgist.json b/checkpkgist.json index c0694b5..106e817 100644 --- a/checkpkgist.json +++ b/checkpkgist.json @@ -59,6 +59,14 @@ "php-pecl-xpass": "remi\/xpass", "php-snappy": "kjdev\/snappy", "php-kjdev-bzip3": "kjdev\/bzip3", + "php-lz4": "kjdev\/lz4", + "php-brotli": "kjdev\/brotli", + "php-pecl-judy": "orieg\/judy", + "php-pecl-dbus": "pecl\/dbus", "php-pecl-imagick-im7": "imagick\/imagick", + "php-pecl-mailparse": "pecl\/mailparse", + "php-noisebynorthwest-php-spx": "noisebynorthwest\/php-spx", + "php-girgias-csv": "girgias\/csv", + "php-xz": "mateuszanella\/php-ext-xz", "phinx": "robmorgan\/phinx" -}
\ No newline at end of file +} diff --git a/checkpkgist.php b/checkpkgist.php index a57ab25..fc01ae8 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -39,7 +39,7 @@ if (!ini_get('date.timezone')) { define ('VERSION', '1.1.0-dev'); class PkgClient { - const URL = 'https://packagist.org/'; + const URL = 'https://repo.packagist.org/'; protected $cache; function __construct () { @@ -140,7 +140,7 @@ function run($name, $rpm) { if ($rpminfo) { $rpminfo = $rpminfo[0]; - $rpmmainver = $rpminfo['Version']; + $rpmmainver = str_replace('~', '', $rpminfo['Version']); } else { if ($quiet) { return; |