Skip to content

Commit ebe7834

Browse files
committed
Migrate extension sources from pecl to pie
Port from feat/pgo-v3 (henderkes): - switch 30 ext-*.yml sources from pecl to pie (packagist) - PIE downloader: expand minified packagist p2 metadata and pick the newest stable release instead of the newest entry (may be RC/beta) - PIE downloader: default extract path to php-src/ext/<name>, so per-extension extract lines are no longer needed Kept from fix/spcconfig (not in pgo-v3): ext-imagick Windows support and ext-zip depends@windows. Deviation from pgo-v3: ext-xdebug keeps an explicit extract to a standalone source/ext-xdebug dir. It is shared-only (build-static: false) and cannot be built in-tree; extracting into php-src/ext would let PHP's buildconf pick up its config.m4 and pollute the main configure.
1 parent 950104a commit ebe7834

32 files changed

Lines changed: 84 additions & 61 deletions

config/pkg/ext/ext-amqp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-amqp:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: amqp
5+
type: pie
6+
repo: php-amqp/php-amqp
77
metadata:
88
license-files: [LICENSE]
99
license: PHP-3.01

config/pkg/ext/ext-apcu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-apcu:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: APCu
5+
type: pie
6+
repo: apcu/apcu
77
metadata:
88
license-files: [LICENSE]
99
license: PHP-3.01

config/pkg/ext/ext-ast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-ast:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: ast
5+
type: pie
6+
repo: nikic/php-ast
77
metadata:
88
license-files: [LICENSE]
99
license: BSD-3-Clause

config/pkg/ext/ext-dio.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-dio:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: dio
5+
type: pie
6+
repo: pecl/dio
77
metadata:
88
license-files: [LICENSE]
99
license: PHP-3.01

config/pkg/ext/ext-ev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-ev:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: ev
5+
type: pie
6+
repo: osmanov/pecl-ev
77
metadata:
88
license-files: [LICENSE]
99
license: PHP-3.01

config/pkg/ext/ext-excimer.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ ext-excimer:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: excimer
5+
type: ghtagtar
6+
repo: wikimedia/mediawiki-php-excimer
7+
extract: php-src/ext/excimer
78
metadata:
89
license-files: [LICENSE]
910
license: PHP-3.01

config/pkg/ext/ext-gearman.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ ext-gearman:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: gearman
5+
type: ghtar
6+
repo: php/pecl-networking-gearman
7+
extract: php-src/ext/gearman
78
metadata:
89
license-files: [LICENSE]
910
license: PHP-3.01

config/pkg/ext/ext-grpc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-grpc:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: grpc
5+
type: pie
6+
repo: grpc/grpc-php-ext
77
metadata:
88
license-files: [LICENSE]
99
license: Apache-2.0

config/pkg/ext/ext-igbinary.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ ext-igbinary:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: igbinary
5+
type: ghtagtar
6+
repo: igbinary/igbinary
7+
match: tags/\d+(\.\d+)+$
8+
extract: php-src/ext/igbinary
79
metadata:
810
license-files: [COPYING]
911
license: BSD-3-Clause

config/pkg/ext/ext-imagick.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext-imagick:
22
type: php-extension
33
artifact:
44
source:
5-
type: pecl
6-
name: imagick
5+
type: pie
6+
repo: imagick/imagick
77
metadata:
88
license-files: [LICENSE]
99
license: PHP-3.01

0 commit comments

Comments
 (0)