From be622fbda14bdd6159bddc1944d345c4d7ec9061 Mon Sep 17 00:00:00 2001 From: Erika Heidi Date: Thu, 6 Jul 2023 16:46:59 +0200 Subject: [PATCH 1/2] Adding php-igbinary PHP extension --- packages.txt | 1 + php-igbinary.yaml | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 php-igbinary.yaml diff --git a/packages.txt b/packages.txt index 8d91be5c26b3..c968faf1f057 100644 --- a/packages.txt +++ b/packages.txt @@ -876,3 +876,4 @@ soxr libasyncns libical ell +php-igbinary diff --git a/php-igbinary.yaml b/php-igbinary.yaml new file mode 100644 index 000000000000..cb8eaf82061d --- /dev/null +++ b/php-igbinary.yaml @@ -0,0 +1,52 @@ +package: + name: php-igbinary + version: 3.2.14 + epoch: 0 + description: "Igbinary is a drop in replacement for the standard php serializer." + copyright: + - license: BSD-3-Clause + dependencies: + runtime: + - php + +environment: + contents: + repositories: + - https://packages.wolfi.dev/bootstrap/stage3 + - https://packages.wolfi.dev/os + keyring: + - https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub + - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub + packages: + - build-base + - autoconf + - busybox + - php + - php-dev + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/igbinary/igbinary + tag: ${{package.version}} + expected-commit: 102ad68159791e76667f8455cbc171e6ec78253c + + - name: Prepare build + runs: phpize + + - name: Configure + runs: | + set -x + ./configure CFLAGS="-O2 -g" --enable-igbinary + + - uses: autoconf/make + + - name: Make install + runs: | + set -x + INSTALL_ROOT="${{targets.destdir}}" DESTDIR="${{targets.destdir}}" make install + +update: + enabled: true + github: + identifier: igbinary/igbinary From d1c1508707501cf424af5d047182febed3e7fedb Mon Sep 17 00:00:00 2001 From: James Rawlings Date: Thu, 6 Jul 2023 16:36:02 +0100 Subject: [PATCH 2/2] Update php-igbinary.yaml to fix the CI linter We don't need to set these as we pass the repository and keyring values as CLI flags when running `melange build...` Signed-off-by: James Rawlings --- php-igbinary.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/php-igbinary.yaml b/php-igbinary.yaml index cb8eaf82061d..e5efc759041c 100644 --- a/php-igbinary.yaml +++ b/php-igbinary.yaml @@ -11,12 +11,6 @@ package: environment: contents: - repositories: - - https://packages.wolfi.dev/bootstrap/stage3 - - https://packages.wolfi.dev/os - keyring: - - https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub - - https://packages.wolfi.dev/os/wolfi-signing.rsa.pub packages: - build-base - autoconf