From 21e4a068b352669412005e5fc5b6ff91731365f9 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 30 Oct 2024 09:31:05 -0400 Subject: [PATCH 1/5] Use php pecl/install action as suggested by TODO --- php-8.1-pecl-http.yaml | 11 +++-------- php-8.1-pecl-pdosqlsrv.yaml | 11 +++-------- php-8.1-pecl-raphf.yaml | 11 +++-------- php-8.1-pecl-sqlsrv.yaml | 11 +++-------- php-8.2-pecl-http.yaml | 11 +++-------- php-8.2-pecl-pdosqlsrv.yaml | 11 +++-------- php-8.2-pecl-raphf.yaml | 11 +++-------- php-8.2-pecl-sqlsrv.yaml | 11 +++-------- php-8.3-pecl-http.yaml | 11 +++-------- php-8.3-pecl-pdosqlsrv.yaml | 11 +++-------- php-8.3-pecl-raphf.yaml | 11 +++-------- php-8.3-pecl-sqlsrv.yaml | 11 +++-------- 12 files changed, 36 insertions(+), 96 deletions(-) diff --git a/php-8.1-pecl-http.yaml b/php-8.1-pecl-http.yaml index b81b38914f5..2fcb31c93f9 100644 --- a/php-8.1-pecl-http.yaml +++ b/php-8.1-pecl-http.yaml @@ -39,14 +39,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=http.so" > ${{targets.destdir}}/etc/php/conf.d/http.ini + - uses: pecl/install + with: + extension: "http" - uses: strip diff --git a/php-8.1-pecl-pdosqlsrv.yaml b/php-8.1-pecl-pdosqlsrv.yaml index ec4a6768555..994c3c4fdb7 100644 --- a/php-8.1-pecl-pdosqlsrv.yaml +++ b/php-8.1-pecl-pdosqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=pdo_sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/pdo_sqlsrv.ini + - uses: pecl/install + with: + extension: "pdo_sqlsrv" - uses: strip diff --git a/php-8.1-pecl-raphf.yaml b/php-8.1-pecl-raphf.yaml index 2222cfa2fa6..201c19bb8da 100644 --- a/php-8.1-pecl-raphf.yaml +++ b/php-8.1-pecl-raphf.yaml @@ -34,14 +34,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=raphf.so" > ${{targets.destdir}}/etc/php/conf.d/raphf.ini + - uses: pecl/install + with: + extension: "raphf" # PHP initialization is order dependent. So we will explicitly # load this by prefixing the file with 10- so it runs before diff --git a/php-8.1-pecl-sqlsrv.yaml b/php-8.1-pecl-sqlsrv.yaml index e35912133c9..cbd876fcf8d 100644 --- a/php-8.1-pecl-sqlsrv.yaml +++ b/php-8.1-pecl-sqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/sqlsrv.ini + - uses: pecl/install + with: + extension: "sqlsrv" - uses: strip diff --git a/php-8.2-pecl-http.yaml b/php-8.2-pecl-http.yaml index 43beea7e39a..ad6ec43d25d 100644 --- a/php-8.2-pecl-http.yaml +++ b/php-8.2-pecl-http.yaml @@ -39,14 +39,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=http.so" > ${{targets.destdir}}/etc/php/conf.d/http.ini + - uses: pecl/install + with: + extension: "http" - uses: strip diff --git a/php-8.2-pecl-pdosqlsrv.yaml b/php-8.2-pecl-pdosqlsrv.yaml index 11f2adb0625..de587ec9892 100644 --- a/php-8.2-pecl-pdosqlsrv.yaml +++ b/php-8.2-pecl-pdosqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=pdo_sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/pdo_sqlsrv.ini + - uses: pecl/install + with: + extension: "pdo_sqlsrv" - uses: strip diff --git a/php-8.2-pecl-raphf.yaml b/php-8.2-pecl-raphf.yaml index 1431f7dcfd0..02b6c7fe2be 100644 --- a/php-8.2-pecl-raphf.yaml +++ b/php-8.2-pecl-raphf.yaml @@ -34,14 +34,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=raphf.so" > ${{targets.destdir}}/etc/php/conf.d/raphf.ini + - uses: pecl/install + with: + extension: "raphf" # PHP initialization is order dependent. So we will explicitly # load this by prefixing the file with 10- so it runs before diff --git a/php-8.2-pecl-sqlsrv.yaml b/php-8.2-pecl-sqlsrv.yaml index e68109cfb1e..b6a8496389a 100644 --- a/php-8.2-pecl-sqlsrv.yaml +++ b/php-8.2-pecl-sqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/sqlsrv.ini + - uses: pecl/install + with: + extension: "sqlsrv" - uses: strip diff --git a/php-8.3-pecl-http.yaml b/php-8.3-pecl-http.yaml index 1a8289592aa..d81a8749934 100644 --- a/php-8.3-pecl-http.yaml +++ b/php-8.3-pecl-http.yaml @@ -39,14 +39,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=http.so" > ${{targets.destdir}}/etc/php/conf.d/http.ini + - uses: pecl/install + with: + extension: "http" - uses: strip diff --git a/php-8.3-pecl-pdosqlsrv.yaml b/php-8.3-pecl-pdosqlsrv.yaml index c9d6188bbd6..4bb2d538768 100644 --- a/php-8.3-pecl-pdosqlsrv.yaml +++ b/php-8.3-pecl-pdosqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=pdo_sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/pdo_sqlsrv.ini + - uses: pecl/install + with: + extension: "pdo_sqlsrv" - uses: strip diff --git a/php-8.3-pecl-raphf.yaml b/php-8.3-pecl-raphf.yaml index 75a6dddcafa..744e590c045 100644 --- a/php-8.3-pecl-raphf.yaml +++ b/php-8.3-pecl-raphf.yaml @@ -34,14 +34,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=raphf.so" > ${{targets.destdir}}/etc/php/conf.d/raphf.ini + - uses: pecl/install + with: + extension: "raphf" # PHP initialization is order dependent. So we will explicitly # load this by prefixing the file with 10- so it runs before diff --git a/php-8.3-pecl-sqlsrv.yaml b/php-8.3-pecl-sqlsrv.yaml index 56c0eecca51..2be2606215e 100644 --- a/php-8.3-pecl-sqlsrv.yaml +++ b/php-8.3-pecl-sqlsrv.yaml @@ -35,14 +35,9 @@ pipeline: - uses: autoconf/make - # TODO: This is a temporary workaround until the pecl/install pipelines - # propagates through. - # https://github.com/chainguard-dev/melange/pull/1068 - - name: Install - runs: | - make INSTALL_ROOT="${{targets.destdir}}" install - install -d ${{targets.destdir}}/etc/php/conf.d - echo "extension=sqlsrv.so" > ${{targets.destdir}}/etc/php/conf.d/sqlsrv.ini + - uses: pecl/install + with: + extension: "sqlsrv" - uses: strip From 6cb194728ee11d5df1469a129352e62c8577043f Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 30 Oct 2024 09:34:44 -0400 Subject: [PATCH 2/5] php-8.X-pecl-raphf - adjust comments --- php-8.1-pecl-raphf.yaml | 7 +++---- php-8.2-pecl-raphf.yaml | 7 +++---- php-8.3-pecl-raphf.yaml | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/php-8.1-pecl-raphf.yaml b/php-8.1-pecl-raphf.yaml index 201c19bb8da..00b6158a3b0 100644 --- a/php-8.1-pecl-raphf.yaml +++ b/php-8.1-pecl-raphf.yaml @@ -38,11 +38,10 @@ pipeline: with: extension: "raphf" - # PHP initialization is order dependent. So we will explicitly - # load this by prefixing the file with 10- so it runs before - # other modules which start with letters - # starts. - runs: | + # PHP initialization is order dependent. So we will explicitly + # load this by prefixing the file with 10- so it runs before + # other modules which start with letters starts. mv ${{targets.destdir}}/etc/php/conf.d/raphf.ini ${{targets.destdir}}/etc/php/conf.d/10-raphf.ini - uses: strip diff --git a/php-8.2-pecl-raphf.yaml b/php-8.2-pecl-raphf.yaml index 02b6c7fe2be..8c167902ab1 100644 --- a/php-8.2-pecl-raphf.yaml +++ b/php-8.2-pecl-raphf.yaml @@ -38,11 +38,10 @@ pipeline: with: extension: "raphf" - # PHP initialization is order dependent. So we will explicitly - # load this by prefixing the file with 10- so it runs before - # other modules which start with letters - # starts. - runs: | + # PHP initialization is order dependent. So we will explicitly + # load this by prefixing the file with 10- so it runs before + # other modules which start with letters starts. mv ${{targets.destdir}}/etc/php/conf.d/raphf.ini ${{targets.destdir}}/etc/php/conf.d/10-raphf.ini - uses: strip diff --git a/php-8.3-pecl-raphf.yaml b/php-8.3-pecl-raphf.yaml index 744e590c045..ce9ee7110d3 100644 --- a/php-8.3-pecl-raphf.yaml +++ b/php-8.3-pecl-raphf.yaml @@ -38,11 +38,10 @@ pipeline: with: extension: "raphf" - # PHP initialization is order dependent. So we will explicitly - # load this by prefixing the file with 10- so it runs before - # other modules which start with letters - # starts. - runs: | + # PHP initialization is order dependent. So we will explicitly + # load this by prefixing the file with 10- so it runs before + # other modules which start with letters starts. mv ${{targets.destdir}}/etc/php/conf.d/raphf.ini ${{targets.destdir}}/etc/php/conf.d/10-raphf.ini - uses: strip From 4268464bccaac4146618e6a7239721911e540df3 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 30 Oct 2024 09:50:52 -0400 Subject: [PATCH 3/5] drop a comment causes issue with wolfictl bump https://github.com/wolfi-dev/wolfictl/issues/1282 --- php-8.3-amqp.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-8.3-amqp.yaml b/php-8.3-amqp.yaml index 1781a1eb49d..36b260ea237 100644 --- a/php-8.3-amqp.yaml +++ b/php-8.3-amqp.yaml @@ -1,7 +1,7 @@ package: name: php-8.3-amqp version: 2.1.2 - epoch: 1 # NB intentionally meant to be picked over previous php-amqp + epoch: 1 description: "PHP extension to communicate with any AMQP compliant server" copyright: - license: PHP-3.01 From 2dade16f9d0f35288b402aaa758b8372affe675c Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 30 Oct 2024 10:58:49 -0400 Subject: [PATCH 4/5] update redis to be phpMM --- php-8.1-redis.yaml | 18 +++++++++--------- php-8.2-redis.yaml | 18 +++++++++--------- php-8.3-redis.yaml | 18 +++++++++--------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/php-8.1-redis.yaml b/php-8.1-redis.yaml index c574e8fb1ba..21766ce9031 100644 --- a/php-8.1-redis.yaml +++ b/php-8.1-redis.yaml @@ -1,21 +1,21 @@ package: name: php-8.1-redis version: 6.1.0 - epoch: 1 + epoch: 2 description: "A PHP extension for Redis" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-${{vars.php-version}} - - php-${{vars.php-version}}-igbinary + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-igbinary var-transforms: - from: ${{package.name}} match: ^php-(\d+\.\d+)-.*$ replace: "$1" - to: php-version + to: phpMM environment: contents: @@ -24,9 +24,9 @@ environment: - build-base - busybox - openssf-compiler-options - - php-${{vars.php-version}} - - php-${{vars.php-version}}-dev - - php-${{vars.php-version}}-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev pipeline: - uses: git-checkout @@ -58,7 +58,7 @@ subpackages: echo "extension=redis.so" > "${{targets.subpkgdir}}/etc/php/conf.d/redis.ini" - name: ${{package.name}}-dev - description: PHP ${{vars.php-version}} redis development headers + description: PHP ${{vars.phpMM}} redis development headers dependencies: provides: - php-redis-dev=${{package.full-version}} @@ -74,7 +74,7 @@ test: environment: contents: packages: - - php-${{vars.php-version}} + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | diff --git a/php-8.2-redis.yaml b/php-8.2-redis.yaml index 03f4fa15022..fa3a6f16d53 100644 --- a/php-8.2-redis.yaml +++ b/php-8.2-redis.yaml @@ -1,21 +1,21 @@ package: name: php-8.2-redis version: 6.1.0 - epoch: 0 + epoch: 1 description: "A PHP extension for Redis" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-${{vars.php-version}} - - php-${{vars.php-version}}-igbinary + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-igbinary var-transforms: - from: ${{package.name}} match: ^php-(\d+\.\d+)-.*$ replace: "$1" - to: php-version + to: phpMM environment: contents: @@ -23,9 +23,9 @@ environment: - autoconf - build-base - busybox - - php-${{vars.php-version}} - - php-${{vars.php-version}}-dev - - php-${{vars.php-version}}-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev pipeline: - uses: git-checkout @@ -54,7 +54,7 @@ subpackages: echo "extension=redis.so" > "${{targets.subpkgdir}}/etc/php/conf.d/redis.ini" - name: ${{package.name}}-dev - description: PHP ${{vars.php-version}} redis development headers + description: PHP ${{vars.phpMM}} redis development headers pipeline: - uses: split/dev @@ -67,7 +67,7 @@ test: environment: contents: packages: - - php-${{vars.php-version}} + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | diff --git a/php-8.3-redis.yaml b/php-8.3-redis.yaml index ae407681a35..215e017bf3d 100644 --- a/php-8.3-redis.yaml +++ b/php-8.3-redis.yaml @@ -1,15 +1,15 @@ package: name: php-8.3-redis version: 6.1.0 - epoch: 1 + epoch: 2 description: "A PHP extension for Redis" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-${{vars.php-version}} - - php-${{vars.php-version}}-igbinary + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-igbinary provides: - php-redis=${{package.full-version}} @@ -17,7 +17,7 @@ var-transforms: - from: ${{package.name}} match: ^php-(\d+\.\d+)-.*$ replace: "$1" - to: php-version + to: phpMM environment: contents: @@ -25,9 +25,9 @@ environment: - autoconf - build-base - busybox - - php-${{vars.php-version}} - - php-${{vars.php-version}}-dev - - php-${{vars.php-version}}-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev pipeline: - uses: git-checkout @@ -59,7 +59,7 @@ subpackages: echo "extension=redis.so" > "${{targets.subpkgdir}}/etc/php/conf.d/redis.ini" - name: ${{package.name}}-dev - description: PHP ${{vars.php-version}} redis development headers + description: PHP ${{vars.phpMM}} redis development headers dependencies: provides: - php-redis-dev=${{package.full-version}} @@ -75,7 +75,7 @@ test: environment: contents: packages: - - php-${{vars.php-version}} + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | From 32be278367396ad054c71f9bf20bb0d5258b5b43 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 30 Oct 2024 11:20:16 -0400 Subject: [PATCH 5/5] commit all the things. --- php-8.1-amqp.yaml | 14 ++++++++++---- php-8.1-apcu.yaml | 14 ++++++++++---- php-8.1-ddtrace.yaml | 16 +++++++++++----- php-8.1-decimal.yaml | 14 ++++++++++---- php-8.1-ds.yaml | 14 ++++++++++---- php-8.1-excimer.yaml | 14 ++++++++++---- php-8.1-grpc.yaml | 14 ++++++++++---- php-8.1-igbinary.yaml | 14 ++++++++++---- php-8.1-imagick.yaml | 14 ++++++++++---- php-8.1-memcached.yaml | 16 +++++++++++----- php-8.1-msgpack.yaml | 14 ++++++++++---- php-8.1-opentelemetry.yaml | 14 ++++++++++---- php-8.1-pdo_snowflake.yaml | 16 +++++++++++----- php-8.1-pecl-http.yaml | 14 ++++++++++---- php-8.1-pecl-mcrypt.yaml | 12 +++++++++--- php-8.1-pecl-mongodb.yaml | 12 +++++++++--- php-8.1-pecl-pdosqlsrv.yaml | 12 +++++++++--- php-8.1-pecl-raphf.yaml | 12 +++++++++--- php-8.1-pecl-sqlsrv.yaml | 12 +++++++++--- php-8.1-protobuf.yaml | 14 ++++++++++---- php-8.1-ssh2.yaml | 14 ++++++++++---- php-8.1-swoole.yaml | 14 ++++++++++---- php-8.1-xdebug.yaml | 14 ++++++++++---- php-8.1-zstd.yaml | 14 ++++++++++---- php-8.2-amqp.yaml | 14 ++++++++++---- php-8.2-apcu.yaml | 14 ++++++++++---- php-8.2-ddtrace.yaml | 16 +++++++++++----- php-8.2-decimal.yaml | 14 ++++++++++---- php-8.2-ds.yaml | 14 ++++++++++---- php-8.2-excimer.yaml | 14 ++++++++++---- php-8.2-grpc.yaml | 14 ++++++++++---- php-8.2-igbinary.yaml | 14 ++++++++++---- php-8.2-imagick.yaml | 14 ++++++++++---- php-8.2-memcached.yaml | 16 +++++++++++----- php-8.2-msgpack.yaml | 14 ++++++++++---- php-8.2-opentelemetry.yaml | 14 ++++++++++---- php-8.2-pdo_snowflake.yaml | 16 +++++++++++----- php-8.2-pecl-http.yaml | 14 ++++++++++---- php-8.2-pecl-mcrypt.yaml | 12 +++++++++--- php-8.2-pecl-mongodb.yaml | 12 +++++++++--- php-8.2-pecl-pdosqlsrv.yaml | 12 +++++++++--- php-8.2-pecl-raphf.yaml | 12 +++++++++--- php-8.2-pecl-sqlsrv.yaml | 12 +++++++++--- php-8.2-protobuf.yaml | 14 ++++++++++---- php-8.2-ssh2.yaml | 14 ++++++++++---- php-8.2-swoole.yaml | 14 ++++++++++---- php-8.2-xdebug.yaml | 14 ++++++++++---- php-8.2-zstd.yaml | 14 ++++++++++---- php-8.3-amqp.yaml | 14 ++++++++++---- php-8.3-apcu.yaml | 14 ++++++++++---- php-8.3-ddtrace.yaml | 16 +++++++++++----- php-8.3-decimal.yaml | 14 ++++++++++---- php-8.3-ds.yaml | 14 ++++++++++---- php-8.3-excimer.yaml | 14 ++++++++++---- php-8.3-grpc.yaml | 14 ++++++++++---- php-8.3-igbinary.yaml | 14 ++++++++++---- php-8.3-imagick.yaml | 14 ++++++++++---- php-8.3-memcached.yaml | 16 +++++++++++----- php-8.3-msgpack.yaml | 14 ++++++++++---- php-8.3-opentelemetry.yaml | 14 ++++++++++---- php-8.3-pdo_snowflake.yaml | 16 +++++++++++----- php-8.3-pecl-http.yaml | 14 ++++++++++---- php-8.3-pecl-mcrypt.yaml | 12 +++++++++--- php-8.3-pecl-mongodb.yaml | 12 +++++++++--- php-8.3-pecl-pdosqlsrv.yaml | 12 +++++++++--- php-8.3-pecl-raphf.yaml | 12 +++++++++--- php-8.3-pecl-sqlsrv.yaml | 12 +++++++++--- php-8.3-protobuf.yaml | 14 ++++++++++---- php-8.3-ssh2.yaml | 14 ++++++++++---- php-8.3-swoole.yaml | 14 ++++++++++---- php-8.3-xdebug.yaml | 14 ++++++++++---- php-8.3-zstd.yaml | 14 ++++++++++---- 72 files changed, 714 insertions(+), 282 deletions(-) diff --git a/php-8.1-amqp.yaml b/php-8.1-amqp.yaml index dab1fdab0ec..828c75b0071 100644 --- a/php-8.1-amqp.yaml +++ b/php-8.1-amqp.yaml @@ -1,24 +1,30 @@ package: name: php-8.1-amqp version: 2.1.2 - epoch: 1 + epoch: 2 description: "PHP extension to communicate with any AMQP compliant server" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} - rabbitmq-c +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - rabbitmq-c-dev pipeline: diff --git a/php-8.1-apcu.yaml b/php-8.1-apcu.yaml index ce73fb56606..74ece6792b8 100644 --- a/php-8.1-apcu.yaml +++ b/php-8.1-apcu.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-apcu version: 5.1.24 - epoch: 0 + epoch: 1 description: "PHP extension for User Cache" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-ddtrace.yaml b/php-8.1-ddtrace.yaml index f5ed8d3afe2..b9ce1a33f1b 100644 --- a/php-8.1-ddtrace.yaml +++ b/php-8.1-ddtrace.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-ddtrace version: 1.4.2 - epoch: 1 + epoch: 2 description: "Datadog PHP Clients" copyright: - license: Apache-2.0 OR BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - busybox - curl-dev - openssf-compiler-options - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - posix-libc-utils - rust @@ -53,7 +59,7 @@ test: environment: contents: packages: - - php-8.1 + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | diff --git a/php-8.1-decimal.yaml b/php-8.1-decimal.yaml index 239c6302ed5..6a5500ec4f9 100644 --- a/php-8.1-decimal.yaml +++ b/php-8.1-decimal.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-decimal version: 1.5.0 - epoch: 0 + epoch: 1 description: Correctly-rounded, arbitrary-precision decimal arithmetic for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - mpdecimal-dev - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-ds.yaml b/php-8.1-ds.yaml index 2f830337dea..8d18a41c1eb 100644 --- a/php-8.1-ds.yaml +++ b/php-8.1-ds.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-ds version: 1.5.0 - epoch: 0 + epoch: 1 description: "An extension providing efficient data structures for PHP" copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-excimer.yaml b/php-8.1-excimer.yaml index 3c44677c308..62b1b72bfae 100644 --- a/php-8.1-excimer.yaml +++ b/php-8.1-excimer.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-excimer version: 1.2.2 - epoch: 0 + epoch: 1 description: "Excimer is a PHP extension that provides an interrupting timer and a low-overhead sampling profiler." copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-grpc.yaml b/php-8.1-grpc.yaml index a9ea5e4426f..22315fb92ac 100644 --- a/php-8.1-grpc.yaml +++ b/php-8.1-grpc.yaml @@ -1,7 +1,7 @@ package: name: php-8.1-grpc version: 1.67.1 - epoch: 0 + epoch: 1 description: "A PHP extension for gRPC" copyright: - license: Apache-2.0 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - grpc - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - build-base - busybox - grpc-dev - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-igbinary.yaml b/php-8.1-igbinary.yaml index 82c1357a36f..a9a91030da3 100644 --- a/php-8.1-igbinary.yaml +++ b/php-8.1-igbinary.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-igbinary version: 3.2.16 - epoch: 0 + epoch: 1 description: "Igbinary is a drop in replacement for the standard php serializer." copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-imagick.yaml b/php-8.1-imagick.yaml index 4503b0a4b0c..9fd2de829fa 100644 --- a/php-8.1-imagick.yaml +++ b/php-8.1-imagick.yaml @@ -1,7 +1,7 @@ package: name: php-8.1-imagick version: 3.7.0 - epoch: 1 + epoch: 2 description: "PHP extension for ImageMagick" copyright: - license: PHP-3.01 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - imagemagick - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - build-base - busybox - imagemagick-dev - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-memcached.yaml b/php-8.1-memcached.yaml index 81641c1fb15..17718d4eae5 100644 --- a/php-8.1-memcached.yaml +++ b/php-8.1-memcached.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-memcached version: 3.3.0 - epoch: 0 + epoch: 1 description: "A PHP extension for Memcached" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,9 +23,9 @@ environment: - build-base - busybox - libmemcached-dev - - php-8.1 - - php-8.1-dev - - php-8.1-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev - zlib-dev pipeline: diff --git a/php-8.1-msgpack.yaml b/php-8.1-msgpack.yaml index 3da53029b0d..92a5327ffe6 100644 --- a/php-8.1-msgpack.yaml +++ b/php-8.1-msgpack.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-msgpack version: 3.0.0 - epoch: 0 + epoch: 1 description: "A PHP extension for msgpack" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-opentelemetry.yaml b/php-8.1-opentelemetry.yaml index 336e0e747aa..941c3705526 100644 --- a/php-8.1-opentelemetry.yaml +++ b/php-8.1-opentelemetry.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-opentelemetry version: 1.1.0 - epoch: 0 + epoch: 1 description: "OpenTelemetry PHP auto-instrumentation extension" copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-pdo_snowflake.yaml b/php-8.1-pdo_snowflake.yaml index 48e44e4d8ce..1c759efb700 100644 --- a/php-8.1-pdo_snowflake.yaml +++ b/php-8.1-pdo_snowflake.yaml @@ -1,7 +1,7 @@ package: name: php-8.1-pdo_snowflake version: 3.0.2 - epoch: 1 + epoch: 2 description: "Snowflake driver that uses the PHP Data Objects (PDO) extension" copyright: - license: Apache-2.0 @@ -11,7 +11,13 @@ package: - x86_64 dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -28,9 +34,9 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.1 - - php-8.1-dev - - php-8.1-pdo + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pdo - unixodbc-dev - zlib-dev diff --git a/php-8.1-pecl-http.yaml b/php-8.1-pecl-http.yaml index 2fcb31c93f9..e8beceb4a58 100644 --- a/php-8.1-pecl-http.yaml +++ b/php-8.1-pecl-http.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-http version: 4.2.4 - epoch: 0 + epoch: 1 description: "Provides PHP 8.1 HTTP module for PHP Extended HTTP Support- PECL" copyright: - license: BSD-2-Clause dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,8 +31,8 @@ environment: - libtool - openssf-compiler-options - openssl-dev - - php-8.1-dev - - php-8.1-pecl-raphf + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pecl-raphf - zlib-dev pipeline: diff --git a/php-8.1-pecl-mcrypt.yaml b/php-8.1-pecl-mcrypt.yaml index 7ef869513ae..cc4f311cbfc 100644 --- a/php-8.1-pecl-mcrypt.yaml +++ b/php-8.1-pecl-mcrypt.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-mcrypt version: 1.0.7 - epoch: 3 + epoch: 4 description: "Provides PHP 8.1 bindings for the unmaintained libmcrypt - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -23,7 +29,7 @@ environment: - libmcrypt-dev - libtool - openssf-compiler-options - - php-8.1-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.1-pecl-mongodb.yaml b/php-8.1-pecl-mongodb.yaml index 99b9f625d2b..20dee9d795b 100644 --- a/php-8.1-pecl-mongodb.yaml +++ b/php-8.1-pecl-mongodb.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-mongodb version: 1.20.0 - epoch: 1 + epoch: 2 description: "PHP 8.1 MongoDB driver - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,7 +31,7 @@ environment: - libtool - openssf-compiler-options - openssl-dev>3 - - php-8.1-dev + - php-${{vars.phpMM}}-dev - snappy-dev - zstd-dev diff --git a/php-8.1-pecl-pdosqlsrv.yaml b/php-8.1-pecl-pdosqlsrv.yaml index 994c3c4fdb7..f5a55261101 100644 --- a/php-8.1-pecl-pdosqlsrv.yaml +++ b/php-8.1-pecl-pdosqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-pdosqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.1 Microsoft Drivers for SQL Server (PDO_SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.1-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.1-pecl-raphf.yaml b/php-8.1-pecl-raphf.yaml index 00b6158a3b0..6b67e2ddfb7 100644 --- a/php-8.1-pecl-raphf.yaml +++ b/php-8.1-pecl-raphf.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-raphf version: 2.0.1 - epoch: 4 + epoch: 5 description: "Provides PHP 8.1 resource and persistent handles factory - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.1-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.1-pecl-sqlsrv.yaml b/php-8.1-pecl-sqlsrv.yaml index cbd876fcf8d..3a4181b644b 100644 --- a/php-8.1-pecl-sqlsrv.yaml +++ b/php-8.1-pecl-sqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.1-pecl-sqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.1 Microsoft Drivers for SQL Server (SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.1-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.1-protobuf.yaml b/php-8.1-protobuf.yaml index ea7c68096ff..456b20fca37 100644 --- a/php-8.1-protobuf.yaml +++ b/php-8.1-protobuf.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-protobuf version: 4.28.3 - epoch: 0 + epoch: 1 description: "Protocol Buffers - Google's data interchange format" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - protobuf-dev pipeline: diff --git a/php-8.1-ssh2.yaml b/php-8.1-ssh2.yaml index 9a5f9a3985b..2113a419091 100644 --- a/php-8.1-ssh2.yaml +++ b/php-8.1-ssh2.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-ssh2 version: 1.4.1 - epoch: 0 + epoch: 1 description: "Bindings for the libssh2 library" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - libssh2-dev - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-swoole.yaml b/php-8.1-swoole.yaml index b56e39af4eb..2aac130f610 100644 --- a/php-8.1-swoole.yaml +++ b/php-8.1-swoole.yaml @@ -1,7 +1,7 @@ package: name: php-8.1-swoole version: 5.1.5 - epoch: 0 + epoch: 1 description: "Coroutine-based concurrency library for PHP" copyright: - license: Apache-2.0 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - brotli - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - brotli-dev - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-xdebug.yaml b/php-8.1-xdebug.yaml index 3b332ca7dd2..32ef3196f35 100644 --- a/php-8.1-xdebug.yaml +++ b/php-8.1-xdebug.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-xdebug version: 3.3.2 - epoch: 0 + epoch: 1 description: "Step Debugger for PHP" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.1-zstd.yaml b/php-8.1-zstd.yaml index 14df4f58229..823253a95cf 100644 --- a/php-8.1-zstd.yaml +++ b/php-8.1-zstd.yaml @@ -1,14 +1,20 @@ package: name: php-8.1-zstd version: 0.13.3 - epoch: 0 + epoch: 1 description: Zstd Extension for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.1 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - file - - php-8.1 - - php-8.1-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - zstd-dev pipeline: diff --git a/php-8.2-amqp.yaml b/php-8.2-amqp.yaml index e37b91685fd..695e3023f44 100644 --- a/php-8.2-amqp.yaml +++ b/php-8.2-amqp.yaml @@ -1,24 +1,30 @@ package: name: php-8.2-amqp version: 2.1.2 - epoch: 1 + epoch: 2 description: "PHP extension to communicate with any AMQP compliant server" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} - rabbitmq-c +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - rabbitmq-c-dev pipeline: diff --git a/php-8.2-apcu.yaml b/php-8.2-apcu.yaml index e8a9da5ef1e..1afb6d99b6c 100644 --- a/php-8.2-apcu.yaml +++ b/php-8.2-apcu.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-apcu version: 5.1.24 - epoch: 0 + epoch: 1 description: "PHP extension for User Cache" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-ddtrace.yaml b/php-8.2-ddtrace.yaml index 9ea41cb6355..42b2caf8402 100644 --- a/php-8.2-ddtrace.yaml +++ b/php-8.2-ddtrace.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-ddtrace version: 1.4.2 - epoch: 0 + epoch: 1 description: "Datadog PHP Clients" copyright: - license: Apache-2.0 OR BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - curl-dev - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - posix-libc-utils - rust @@ -52,7 +58,7 @@ test: environment: contents: packages: - - php-8.2 + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | diff --git a/php-8.2-decimal.yaml b/php-8.2-decimal.yaml index 503816b80e9..1d27e199e5f 100644 --- a/php-8.2-decimal.yaml +++ b/php-8.2-decimal.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-decimal version: 1.5.0 - epoch: 0 + epoch: 1 description: Correctly-rounded, arbitrary-precision decimal arithmetic for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - mpdecimal-dev - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-ds.yaml b/php-8.2-ds.yaml index 084dc177faf..a2253b64f2d 100644 --- a/php-8.2-ds.yaml +++ b/php-8.2-ds.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-ds version: 1.5.0 - epoch: 0 + epoch: 1 description: "An extension providing efficient data structures for PHP" copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-excimer.yaml b/php-8.2-excimer.yaml index a88fc09c256..ad7baeb40d5 100644 --- a/php-8.2-excimer.yaml +++ b/php-8.2-excimer.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-excimer version: 1.2.2 - epoch: 0 + epoch: 1 description: "Excimer is a PHP extension that provides an interrupting timer and a low-overhead sampling profiler." copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-grpc.yaml b/php-8.2-grpc.yaml index 2bcc6287ee9..c71bfd96cc3 100644 --- a/php-8.2-grpc.yaml +++ b/php-8.2-grpc.yaml @@ -1,7 +1,7 @@ package: name: php-8.2-grpc version: 1.67.1 - epoch: 0 + epoch: 1 description: "A PHP extension for gRPC" copyright: - license: Apache-2.0 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - grpc - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - build-base - busybox - grpc-dev - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-igbinary.yaml b/php-8.2-igbinary.yaml index f633c8eaba3..86a6183279b 100644 --- a/php-8.2-igbinary.yaml +++ b/php-8.2-igbinary.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-igbinary version: 3.2.16 - epoch: 0 + epoch: 1 description: "Igbinary is a drop in replacement for the standard php serializer." copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-imagick.yaml b/php-8.2-imagick.yaml index 4a85e421398..dc51fa4e8ad 100644 --- a/php-8.2-imagick.yaml +++ b/php-8.2-imagick.yaml @@ -1,7 +1,7 @@ package: name: php-8.2-imagick version: 3.7.0 - epoch: 1 + epoch: 2 description: "PHP extension for ImageMagick" copyright: - license: PHP-3.01 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - imagemagick - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - build-base - busybox - imagemagick-dev - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-memcached.yaml b/php-8.2-memcached.yaml index b63718693cd..02a575d3e8a 100644 --- a/php-8.2-memcached.yaml +++ b/php-8.2-memcached.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-memcached version: 3.3.0 - epoch: 0 + epoch: 1 description: "A PHP extension for Memcached" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,9 +23,9 @@ environment: - build-base - busybox - libmemcached-dev - - php-8.2 - - php-8.2-dev - - php-8.2-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev - zlib-dev pipeline: diff --git a/php-8.2-msgpack.yaml b/php-8.2-msgpack.yaml index 19d52fce2cb..bf674084417 100644 --- a/php-8.2-msgpack.yaml +++ b/php-8.2-msgpack.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-msgpack version: 3.0.0 - epoch: 0 + epoch: 1 description: "A PHP extension for msgpack" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-opentelemetry.yaml b/php-8.2-opentelemetry.yaml index 4fc49ecae93..ecfa60ad9c2 100644 --- a/php-8.2-opentelemetry.yaml +++ b/php-8.2-opentelemetry.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-opentelemetry version: 1.1.0 - epoch: 0 + epoch: 1 description: "OpenTelemetry PHP auto-instrumentation extension" copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-pdo_snowflake.yaml b/php-8.2-pdo_snowflake.yaml index 27e7c341972..555bf82fc7e 100644 --- a/php-8.2-pdo_snowflake.yaml +++ b/php-8.2-pdo_snowflake.yaml @@ -1,7 +1,7 @@ package: name: php-8.2-pdo_snowflake version: 3.0.2 - epoch: 1 + epoch: 2 description: "Snowflake driver that uses the PHP Data Objects (PDO) extension" copyright: - license: Apache-2.0 @@ -11,7 +11,13 @@ package: - x86_64 dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -28,9 +34,9 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.2 - - php-8.2-dev - - php-8.2-pdo + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pdo - unixodbc-dev - zlib-dev diff --git a/php-8.2-pecl-http.yaml b/php-8.2-pecl-http.yaml index ad6ec43d25d..ba72a912460 100644 --- a/php-8.2-pecl-http.yaml +++ b/php-8.2-pecl-http.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-http version: 4.2.4 - epoch: 0 + epoch: 1 description: "Provides PHP 8.2 HTTP module for PHP Extended HTTP Support- PECL" copyright: - license: BSD-2-Clause dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,8 +31,8 @@ environment: - libtool - openssf-compiler-options - openssl-dev - - php-8.2-dev - - php-8.2-pecl-raphf + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pecl-raphf - zlib-dev pipeline: diff --git a/php-8.2-pecl-mcrypt.yaml b/php-8.2-pecl-mcrypt.yaml index a422f935e49..7ae29021e2b 100644 --- a/php-8.2-pecl-mcrypt.yaml +++ b/php-8.2-pecl-mcrypt.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-mcrypt version: 1.0.7 - epoch: 3 + epoch: 4 description: "Provides PHP 8.2 bindings for the unmaintained libmcrypt - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -23,7 +29,7 @@ environment: - libmcrypt-dev - libtool - openssf-compiler-options - - php-8.2-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.2-pecl-mongodb.yaml b/php-8.2-pecl-mongodb.yaml index dbeccd60937..d285bd80479 100644 --- a/php-8.2-pecl-mongodb.yaml +++ b/php-8.2-pecl-mongodb.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-mongodb version: 1.20.0 - epoch: 1 + epoch: 2 description: "PHP 8.2 MongoDB driver - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,7 +31,7 @@ environment: - libtool - openssf-compiler-options - openssl-dev>3 - - php-8.2-dev + - php-${{vars.phpMM}}-dev - snappy-dev - zstd-dev diff --git a/php-8.2-pecl-pdosqlsrv.yaml b/php-8.2-pecl-pdosqlsrv.yaml index de587ec9892..b4788d4c894 100644 --- a/php-8.2-pecl-pdosqlsrv.yaml +++ b/php-8.2-pecl-pdosqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-pdosqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.2 Microsoft Drivers for SQL Server (PDO_SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.2-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.2-pecl-raphf.yaml b/php-8.2-pecl-raphf.yaml index 8c167902ab1..abc06060609 100644 --- a/php-8.2-pecl-raphf.yaml +++ b/php-8.2-pecl-raphf.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-raphf version: 2.0.1 - epoch: 3 + epoch: 4 description: "Provides PHP 8.2 resource and persistent handles factory - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.2-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.2-pecl-sqlsrv.yaml b/php-8.2-pecl-sqlsrv.yaml index b6a8496389a..587d188f707 100644 --- a/php-8.2-pecl-sqlsrv.yaml +++ b/php-8.2-pecl-sqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.2-pecl-sqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.2 Microsoft Drivers for SQL Server (SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.2-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.2-protobuf.yaml b/php-8.2-protobuf.yaml index 154417a8b75..009a1dbbab4 100644 --- a/php-8.2-protobuf.yaml +++ b/php-8.2-protobuf.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-protobuf version: 4.28.3 - epoch: 0 + epoch: 1 description: "Protocol Buffers - Google's data interchange format" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - protobuf-dev pipeline: diff --git a/php-8.2-ssh2.yaml b/php-8.2-ssh2.yaml index af7aaf9d836..f6cd3b102b6 100644 --- a/php-8.2-ssh2.yaml +++ b/php-8.2-ssh2.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-ssh2 version: 1.4.1 - epoch: 0 + epoch: 1 description: "Bindings for the libssh2 library" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - libssh2-dev - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-swoole.yaml b/php-8.2-swoole.yaml index e08d0b84e6d..380f15c92cf 100644 --- a/php-8.2-swoole.yaml +++ b/php-8.2-swoole.yaml @@ -1,7 +1,7 @@ package: name: php-8.2-swoole version: 5.1.5 - epoch: 0 + epoch: 1 description: "Coroutine-based concurrency library for PHP" copyright: - license: Apache-2.0 @@ -9,7 +9,13 @@ package: runtime: - ${{package.name}}-config - brotli - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -18,8 +24,8 @@ environment: - brotli-dev - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-xdebug.yaml b/php-8.2-xdebug.yaml index 206cb036d13..b459362c7e6 100644 --- a/php-8.2-xdebug.yaml +++ b/php-8.2-xdebug.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-xdebug version: 3.3.2 - epoch: 0 + epoch: 1 description: "Step Debugger for PHP" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.2-zstd.yaml b/php-8.2-zstd.yaml index 8abebaa5111..b700481217b 100644 --- a/php-8.2-zstd.yaml +++ b/php-8.2-zstd.yaml @@ -1,14 +1,20 @@ package: name: php-8.2-zstd version: 0.13.3 - epoch: 0 + epoch: 1 description: Zstd Extension for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.2 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - file - - php-8.2 - - php-8.2-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - zstd-dev pipeline: diff --git a/php-8.3-amqp.yaml b/php-8.3-amqp.yaml index 36b260ea237..d4af202e987 100644 --- a/php-8.3-amqp.yaml +++ b/php-8.3-amqp.yaml @@ -1,26 +1,32 @@ package: name: php-8.3-amqp version: 2.1.2 - epoch: 1 + epoch: 2 description: "PHP extension to communicate with any AMQP compliant server" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} - rabbitmq-c provides: - php-amqp=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - rabbitmq-c-dev pipeline: diff --git a/php-8.3-apcu.yaml b/php-8.3-apcu.yaml index 1904f93fbd9..6e669c27565 100644 --- a/php-8.3-apcu.yaml +++ b/php-8.3-apcu.yaml @@ -1,25 +1,31 @@ package: name: php-8.3-apcu version: 5.1.24 - epoch: 0 + epoch: 1 description: "PHP extension for User Cache" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-apcu=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-ddtrace.yaml b/php-8.3-ddtrace.yaml index db4f1d4fd87..524b531fc33 100644 --- a/php-8.3-ddtrace.yaml +++ b/php-8.3-ddtrace.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-ddtrace version: 1.4.2 - epoch: 0 + epoch: 1 description: "Datadog PHP Clients" copyright: - license: Apache-2.0 OR BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - curl-dev - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - posix-libc-utils - rust @@ -52,7 +58,7 @@ test: environment: contents: packages: - - php-8.3 + - php-${{vars.phpMM}} pipeline: - name: Verify Extension is Loaded runs: | diff --git a/php-8.3-decimal.yaml b/php-8.3-decimal.yaml index 82b90460117..12f25ad6ba5 100644 --- a/php-8.3-decimal.yaml +++ b/php-8.3-decimal.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-decimal version: 1.5.0 - epoch: 0 + epoch: 1 description: Correctly-rounded, arbitrary-precision decimal arithmetic for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - mpdecimal-dev - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-ds.yaml b/php-8.3-ds.yaml index 95303dcd804..7de36134811 100644 --- a/php-8.3-ds.yaml +++ b/php-8.3-ds.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-ds version: 1.5.0 - epoch: 0 + epoch: 1 description: "An extension providing efficient data structures for PHP" copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-excimer.yaml b/php-8.3-excimer.yaml index 502732000c4..292213db84b 100644 --- a/php-8.3-excimer.yaml +++ b/php-8.3-excimer.yaml @@ -1,25 +1,31 @@ package: name: php-8.3-excimer version: 1.2.2 - epoch: 0 + epoch: 1 description: "Excimer is a PHP extension that provides an interrupting timer and a low-overhead sampling profiler." copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-excimer=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-grpc.yaml b/php-8.3-grpc.yaml index c71303b133c..fbdc8d9b5d1 100644 --- a/php-8.3-grpc.yaml +++ b/php-8.3-grpc.yaml @@ -1,7 +1,7 @@ package: name: php-8.3-grpc version: 1.67.1 - epoch: 0 + epoch: 1 description: "A PHP extension for gRPC" copyright: - license: Apache-2.0 @@ -9,10 +9,16 @@ package: runtime: - ${{package.name}}-config - grpc - - php-8.3 + - php-${{vars.phpMM}} provides: - php-grpc=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: @@ -20,8 +26,8 @@ environment: - build-base - busybox - grpc-dev - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-igbinary.yaml b/php-8.3-igbinary.yaml index 31b54f87af0..a59c2016210 100644 --- a/php-8.3-igbinary.yaml +++ b/php-8.3-igbinary.yaml @@ -1,25 +1,31 @@ package: name: php-8.3-igbinary version: 3.2.16 - epoch: 0 + epoch: 1 description: "Igbinary is a drop in replacement for the standard php serializer." copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-igbinary=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-imagick.yaml b/php-8.3-imagick.yaml index f8818f24b16..3cf8dd393ec 100644 --- a/php-8.3-imagick.yaml +++ b/php-8.3-imagick.yaml @@ -1,7 +1,7 @@ package: name: php-8.3-imagick version: 3.7.0 - epoch: 1 + epoch: 2 description: "PHP extension for ImageMagick" copyright: - license: PHP-3.01 @@ -9,10 +9,16 @@ package: runtime: - ${{package.name}}-config - imagemagick - - php-8.3 + - php-${{vars.phpMM}} provides: - php-imagick=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: @@ -20,8 +26,8 @@ environment: - build-base - busybox - imagemagick-dev - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-memcached.yaml b/php-8.3-memcached.yaml index 23c7b042568..cd70b18e828 100644 --- a/php-8.3-memcached.yaml +++ b/php-8.3-memcached.yaml @@ -1,17 +1,23 @@ package: name: php-8.3-memcached version: 3.3.0 - epoch: 0 + epoch: 1 description: "A PHP extension for Memcached" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-memcached=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: @@ -19,9 +25,9 @@ environment: - build-base - busybox - libmemcached-dev - - php-8.3 - - php-8.3-dev - - php-8.3-igbinary-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-igbinary-dev - zlib-dev pipeline: diff --git a/php-8.3-msgpack.yaml b/php-8.3-msgpack.yaml index e2b2bcd3d88..757c08508cc 100644 --- a/php-8.3-msgpack.yaml +++ b/php-8.3-msgpack.yaml @@ -1,25 +1,31 @@ package: name: php-8.3-msgpack version: 3.0.0 - epoch: 0 + epoch: 1 description: "A PHP extension for msgpack" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-msgpack=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-opentelemetry.yaml b/php-8.3-opentelemetry.yaml index 16d6b89a85e..8eba90c7b27 100644 --- a/php-8.3-opentelemetry.yaml +++ b/php-8.3-opentelemetry.yaml @@ -1,25 +1,31 @@ package: name: php-8.3-opentelemetry version: 1.1.0 - epoch: 0 + epoch: 1 description: "OpenTelemetry PHP auto-instrumentation extension" copyright: - license: Apache-2.0 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} provides: - php-opentelemetry=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-pdo_snowflake.yaml b/php-8.3-pdo_snowflake.yaml index 41a19b20cc0..09b46b3ed84 100644 --- a/php-8.3-pdo_snowflake.yaml +++ b/php-8.3-pdo_snowflake.yaml @@ -1,7 +1,7 @@ package: name: php-8.3-pdo_snowflake version: 3.0.2 - epoch: 0 + epoch: 1 description: "Snowflake driver that uses the PHP Data Objects (PDO) extension" copyright: - license: Apache-2.0 @@ -11,7 +11,13 @@ package: - x86_64 dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -28,9 +34,9 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.3 - - php-8.3-dev - - php-8.3-pdo + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pdo - unixodbc-dev - zlib-dev diff --git a/php-8.3-pecl-http.yaml b/php-8.3-pecl-http.yaml index d81a8749934..55f42eb9f44 100644 --- a/php-8.3-pecl-http.yaml +++ b/php-8.3-pecl-http.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-http version: 4.2.4 - epoch: 0 + epoch: 1 description: "Provides PHP 8.3 HTTP module for PHP Extended HTTP Support- PECL" copyright: - license: BSD-2-Clause dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,8 +31,8 @@ environment: - libtool - openssf-compiler-options - openssl-dev - - php-8.3-dev - - php-8.3-pecl-raphf + - php-${{vars.phpMM}}-dev + - php-${{vars.phpMM}}-pecl-raphf - zlib-dev pipeline: diff --git a/php-8.3-pecl-mcrypt.yaml b/php-8.3-pecl-mcrypt.yaml index 226e0f7e403..c4d2a9907a3 100644 --- a/php-8.3-pecl-mcrypt.yaml +++ b/php-8.3-pecl-mcrypt.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-mcrypt version: 1.0.7 - epoch: 1 + epoch: 2 description: "Provides PHP 8.3 bindings for the unmaintained libmcrypt - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -23,7 +29,7 @@ environment: - libmcrypt-dev - libtool - openssf-compiler-options - - php-8.3-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.3-pecl-mongodb.yaml b/php-8.3-pecl-mongodb.yaml index e774513cf15..349cd6b9232 100644 --- a/php-8.3-pecl-mongodb.yaml +++ b/php-8.3-pecl-mongodb.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-mongodb version: 1.20.0 - epoch: 1 + epoch: 2 description: "PHP 8.3 MongoDB driver - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -25,7 +31,7 @@ environment: - libtool - openssf-compiler-options - openssl-dev>3 - - php-8.3-dev + - php-${{vars.phpMM}}-dev - snappy-dev - zstd-dev diff --git a/php-8.3-pecl-pdosqlsrv.yaml b/php-8.3-pecl-pdosqlsrv.yaml index 4bb2d538768..dc059dd7710 100644 --- a/php-8.3-pecl-pdosqlsrv.yaml +++ b/php-8.3-pecl-pdosqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-pdosqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.3 Microsoft Drivers for SQL Server (PDO_SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.3-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.3-pecl-raphf.yaml b/php-8.3-pecl-raphf.yaml index ce9ee7110d3..b05d9a15dc7 100644 --- a/php-8.3-pecl-raphf.yaml +++ b/php-8.3-pecl-raphf.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-raphf version: 2.0.1 - epoch: 0 + epoch: 1 description: "Provides PHP 8.3 resource and persistent handles factory - PECL" copyright: - license: PHP-3.01 dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.3-dev + - php-${{vars.phpMM}}-dev pipeline: - uses: fetch diff --git a/php-8.3-pecl-sqlsrv.yaml b/php-8.3-pecl-sqlsrv.yaml index 2be2606215e..0e5dbf9100f 100644 --- a/php-8.3-pecl-sqlsrv.yaml +++ b/php-8.3-pecl-sqlsrv.yaml @@ -1,13 +1,19 @@ package: name: php-8.3-pecl-sqlsrv version: 5.12.0 - epoch: 0 + epoch: 1 description: "Provides PHP 8.3 Microsoft Drivers for SQL Server (SQLSRV) - PECL" copyright: - license: MIT dependencies: runtime: - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -22,7 +28,7 @@ environment: - gcc - libtool - openssf-compiler-options - - php-8.3-dev + - php-${{vars.phpMM}}-dev - unixodbc-dev pipeline: diff --git a/php-8.3-protobuf.yaml b/php-8.3-protobuf.yaml index 9f8398e9cc0..52581b5da2b 100644 --- a/php-8.3-protobuf.yaml +++ b/php-8.3-protobuf.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-protobuf version: 4.28.3 - epoch: 0 + epoch: 1 description: "Protocol Buffers - Google's data interchange format" copyright: - license: BSD-3-Clause dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - protobuf-dev pipeline: diff --git a/php-8.3-ssh2.yaml b/php-8.3-ssh2.yaml index d0d4e6fee09..e077f6a4aa5 100644 --- a/php-8.3-ssh2.yaml +++ b/php-8.3-ssh2.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-ssh2 version: 1.4.1 - epoch: 0 + epoch: 1 description: "Bindings for the libssh2 library" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - libssh2-dev - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-swoole.yaml b/php-8.3-swoole.yaml index ef98bb4cd18..ef5fde41c07 100644 --- a/php-8.3-swoole.yaml +++ b/php-8.3-swoole.yaml @@ -1,7 +1,7 @@ package: name: php-8.3-swoole version: 5.1.5 - epoch: 0 + epoch: 1 description: "Coroutine-based concurrency library for PHP" copyright: - license: Apache-2.0 @@ -9,10 +9,16 @@ package: runtime: - ${{package.name}}-config - brotli - - php-8.3 + - php-${{vars.phpMM}} provides: - php-swoole=${{package.full-version}} +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM + environment: contents: packages: @@ -20,8 +26,8 @@ environment: - brotli-dev - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-xdebug.yaml b/php-8.3-xdebug.yaml index 8190ba5664f..07f456433c8 100644 --- a/php-8.3-xdebug.yaml +++ b/php-8.3-xdebug.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-xdebug version: 3.3.2 - epoch: 0 + epoch: 1 description: "Step Debugger for PHP" copyright: - license: PHP-3.01 dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -16,8 +22,8 @@ environment: - autoconf - build-base - busybox - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev pipeline: - uses: git-checkout diff --git a/php-8.3-zstd.yaml b/php-8.3-zstd.yaml index 22e281fcc60..2abe408a62c 100644 --- a/php-8.3-zstd.yaml +++ b/php-8.3-zstd.yaml @@ -1,14 +1,20 @@ package: name: php-8.3-zstd version: 0.13.3 - epoch: 0 + epoch: 1 description: Zstd Extension for PHP copyright: - license: MIT dependencies: runtime: - ${{package.name}}-config - - php-8.3 + - php-${{vars.phpMM}} + +var-transforms: + - from: ${{package.name}} + match: ^php-(\d+\.\d+)-.*$ + replace: "$1" + to: phpMM environment: contents: @@ -17,8 +23,8 @@ environment: - build-base - busybox - file - - php-8.3 - - php-8.3-dev + - php-${{vars.phpMM}} + - php-${{vars.phpMM}}-dev - zstd-dev pipeline: