Skip to content

Commit

Permalink
默认扩展、库源代码包启用 hash 验证 (#608)
Browse files Browse the repository at this point in the history
* update github action version

* macos setup bin path

* test macos-init.sh

* test

* test

* test

* 改进 源码 hash 验证;修复github action 构建错误

* 修复 github aciton macos 环境下 构建错误,

* macos 环境下 Homebrew packages :   coreutils binutils 不兼容

* 默认库 和 扩展 启用 源码 hash 验证

* 优化显示源码包 hash 值

* github action workflow  macos 保持 x86_64 架构

* show runner macos architecture

* fix workflow

* update macos worfklow

* test macos build

* update macos-x86_64.yml

* merge code

* upgrade github action config

* update macos-x86_64.yml

* macos build libpng

* github aciton macos with version 12

* update workflow config

* update auto-cache-pool-tarball.yml
  • Loading branch information
jingjingxyk authored May 8, 2024
1 parent df6ceca commit df88fa6
Show file tree
Hide file tree
Showing 40 changed files with 42 additions and 1 deletion.
1 change: 1 addition & 0 deletions sapi/src/builder/extension/apcu.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(new Extension('apcu'))
->withOptions('--enable-apcu')
->withPeclVersion('5.1.22')
->withFileHash('md5','2e1fb1f09725ada616e873c4e4012ff6')
->withHomePage('https://github.com/krakjoe/apcu.git')
->withManual('https://www.php.net/apcu')
->withLicense('https://github.com/krakjoe/apcu/blob/master/LICENSE', Extension::LICENSE_PHP)
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/ds.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(new Extension('ds'))
->withOptions(' --enable-ds')
->withPeclVersion('1.4.0')
->withFileHash('md5','d7e64fbb53b567908d63155ec2a8f548')
->withHomePage('https://github.com/php-ds/ext-ds')
->withManual('https://www.php.net/ds')
->withLicense('https://github.com/php-ds/ext-ds/blob/master/LICENSE', Extension::LICENSE_MIT)
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/imagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
(new Extension('imagick'))
->withOptions('--with-imagick=' . IMAGEMAGICK_PREFIX)
->withPeclVersion('3.6.0')
->withFileHash('md5','f7b5e9b23fb844e5eb035203d316bc63')
->withHomePage('https://github.com/Imagick/imagick')
->withLicense('https://github.com/Imagick/imagick/blob/master/LICENSE', Extension::LICENSE_PHP)
->withMd5sum('f7b5e9b23fb844e5eb035203d316bc63')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/inotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
->withHomePage('https://www.php.net/inotify')
->withOptions('--enable-inotify')
->withPeclVersion('3.0.0')
->withFileHash('md5','084a5a5af53a5eb85dae7c7d2c95048f')
);
};
4 changes: 3 additions & 1 deletion sapi/src/builder/extension/mongodb.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
$ext->withHomePage('https://www.php.net/mongodb')
->withHomePage('https://www.mongodb.com/docs/drivers/php/')
->withOptions($options)
->withPeclVersion('1.14.2');
->withPeclVersion('1.14.2')
->withFileHash('md5','b6de193d467f77d8fd7b27845c19e476')
;

$depends = ['icu', 'openssl', 'zlib', 'libzstd'];
call_user_func_array([$ext, 'withDependentLibraries'], $depends);
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/protobuf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(new Extension('protobuf'))
->withOptions('--enable-protobuf')
->withPeclVersion('3.21.6')
->withFileHash('md5','30fd6011881fa67878805c394e425577')
->withHomePage('https://developers.google.com/protocol-buffers')
->withManual('https://protobuf.dev/reference/php/php-generated/')
);
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(new Extension('redis'))
->withOptions('--enable-redis')
->withPeclVersion('5.3.7')
->withFileHash('md5','1ed6793902214cc02467666ba69dd2be')
->withHomePage('https://github.com/phpredis/phpredis')
->withLicense('https://github.com/phpredis/phpredis/blob/develop/COPYING', Extension::LICENSE_PHP)
);
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/ssh2.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(new Extension('ssh2'))
->withOptions('--with-ssh2=' . LIBSSH2_PREFIX)
->withPeclVersion('1.4')
->withFileHash('md5','d4ff155a741fcc33c4439a6e20323afd')
->withHomePage('https://github.com/php/pecl-networking-ssh2')
->withManual('https://www.php.net/ssh2')
->withLicense('https://www.php.net/license/', Extension::LICENSE_PHP)
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/xlswriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withHomePage('https://github.com/viest/php-ext-xlswriter')
->withLicense('https://github.com/viest/php-ext-xlswriter/blob/master/LICENSE', Extension::LICENSE_BSD)
->withPeclVersion('1.5.5')
->withFileHash('md5','924847f19c20a6d071e91b7d2488021d')
->withOptions(' --with-xlswriter --enable-reader --with-openssl=' . OPENSSL_PREFIX)
->withDependentLibraries('openssl')
);
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/extension/yaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
(new Extension('yaml'))
->withOptions('--with-yaml=' . LIBYAML_PREFIX)
->withPeclVersion('2.2.2')
->withFileHash('md5','22678c1238f2c6848ff7d74b780a8307')
->withHomePage('https://github.com/php/pecl-file_formats-yaml')
->withLicense('https://github.com/php/pecl-file_formats-yaml/blob/php7/LICENSE', Extension::LICENSE_MIT)
->withDependentLibraries('libyaml')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/bison.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
(new Library('bison'))
->withHomePage('https://www.gnu.org/software/bison/')
->withUrl('https://ftpmirror.gnu.org/gnu/bison/bison-3.8.tar.gz')
->withFileHash('md5','b9971f4f58690b7737ab7592d5a0a4e0')
->withLicense('https://www.gnu.org/licenses/gpl-3.0.html', Library::LICENSE_GPL)
->withConfigure(
"
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/brotli.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withManual('https://github.com/google/brotli')//有多种构建方式,选择cmake 构建
->withLicense('https://github.com/google/brotli/blob/master/LICENSE', Library::LICENSE_MIT)
->withUrl('https://github.com/google/brotli/archive/refs/tags/v1.0.9.tar.gz')
->withFileHash('md5','c2274f0c7af8470ad514637c35bcee7d')
->withFile('brotli-1.0.9.tar.gz')
->withPrefix($brotli_prefix)
->withBuildScript(
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/bzip2.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withHomePage('https://www.sourceware.org/bzip2/')
->withManual('https://www.sourceware.org/bzip2/docs.html')
->withUrl('https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz')
->withFileHash('md5','67e051268d0c475ea773822f7500d0e5')
->withPrefix($bzip2_prefix)
->withMakeOptions('PREFIX=' . $bzip2_prefix)
->withMakeInstallOptions('PREFIX=' . $bzip2_prefix)
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/cares.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withManual('https://c-ares.org/')
->withLicense('https://c-ares.org/license.html', Library::LICENSE_MIT)
->withUrl('https://github.com/c-ares/c-ares/releases/download/cares-1_24_0/c-ares-1.24.0.tar.gz')
->withFileHash('md5','25b872ee1c3bee8ff5f49b5f31307002')
->withPrefix(CARES_PREFIX)
->withConfigure('./configure --prefix=' . CARES_PREFIX . ' --enable-static --disable-shared --disable-tests')
->withPkgName('libcares')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
->withManual('https://curl.se/docs/install.html')
->withLicense('https://github.com/curl/curl/blob/master/COPYING', Library::LICENSE_SPEC)
->withUrl('https://curl.se/download/curl-8.4.0.tar.gz')
->withFileHash('md5','533e8a3b1228d5945a6a512537bea4c7')
->withPrefix($curl_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/freetype.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
)
->withUrl('https://sourceforge.net/projects/freetype/files/freetype2/2.13.2/freetype-2.13.2.tar.gz')
->withMd5sum('d99447cf00c5f2679918f66f2b5771f6')
->withFileHash('md5','d99447cf00c5f2679918f66f2b5771f6')
->withPrefix($freetype_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/gmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withManual('https://gmplib.org/')
->withLicense('https://www.gnu.org/licenses/old-licenses/gpl-2.0.html', Library::LICENSE_GPL)
->withUrl('https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.lz')
->withFileHash('md5','db3f4050677df3ff2bd23422c0d3caa1')
->withPrefix($gmp_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/icu.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'https://unicode-org.github.io/icu/userguide/icu_data/#:~:text=Building%20and%20Linking%20against%20ICU%20data'
)
->withUrl('https://github.com/unicode-org/icu/releases/download/release-73-2/icu4c-73_2-src.tgz')
->withFileHash('md5','b8a4b8cf77f2e2f6e1341eac0aab2fc4')
->withManual('https://unicode-org.github.io/icu/userguide/icu_data/#overview')
->withPrefix($icu_prefix)
->withConfigure(
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/imagemagick.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
->withLicense('https://imagemagick.org/script/license.php', Library::LICENSE_APACHE2)
->withUrl('https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-20.tar.gz')
->withFile('ImageMagick-v7.1.1-20.tar.gz')
->withFileHash('md5','90eb1a9263b47b7e844eb817fe08932c')
->withPrefix($imagemagick_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withHomePage('https://thrysoee.dk/editline/')
->withLicense('http://www.netbsd.org/Goals/redistribution.html', Library::LICENSE_BSD)
->withUrl('https://thrysoee.dk/editline/libedit-20230828-3.1.tar.gz')
->withFileHash('md5','16bb2ab0d33bce3467f5cd4ec7d8f3ee')
->withPrefix($libedit_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libgif.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
->withLicense('https://giflib.sourceforge.net/intro.html', Library::LICENSE_SPEC)
->withUrl('https://sourceforge.net/projects/giflib/files/giflib-5.2.1.tar.gz')
->withMd5sum('6f03aee4ebe54ac2cc1ab3e4b0a049e5')
->withFileHash('md5','6f03aee4ebe54ac2cc1ab3e4b0a049e5')
->withPrefix($libgif_prefix)
->withMakeOptions('libgif.a')
->withMakeInstallCommand('')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libiconv.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withManual('https://www.gnu.org/software/libiconv/')
->withLicense('https://www.gnu.org/licenses/old-licenses/gpl-2.0.html', Library::LICENSE_GPL)
->withUrl('https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz')
->withFileHash('md5','d718cd5a59438be666d1575855be72c3')
->withPrefix($libiconv_prefix)
->withConfigure('./configure --prefix=' . $libiconv_prefix . ' enable_static=yes enable_shared=no')
->withBinPath($libiconv_prefix . '/bin/')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libjpeg.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withLicense('https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/LICENSE.md', Library::LICENSE_BSD)
->withUrl('https://codeload.github.com/libjpeg-turbo/libjpeg-turbo/tar.gz/refs/tags/2.1.2')
->withFile('libjpeg-turbo-2.1.2.tar.gz')
->withFileHash('md5','f02d78311298468c5c1d278507ad42f2')
->withPrefix($libjpeg_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/liblz4.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
->withLicense('https://github.com/lz4/lz4/blob/dev/LICENSE', Library::LICENSE_BSD)
->withUrl('https://github.com/lz4/lz4/archive/refs/tags/v1.9.4.tar.gz')
->withFile('lz4-v1.9.4.tar.gz')
->withFileHash('md5','e9286adb64040071c5e23498bf753261')
->withPkgName('liblz4')
->withPrefix($liblz4_prefix)
->withConfigure(
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libsodium.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withLicense('https://en.wikipedia.org/wiki/ISC_license', Library::LICENSE_SPEC)
->withHomePage('https://doc.libsodium.org/')
->withUrl('https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz')
->withFileHash('md5','3ca9ebc13b6b4735acae0a6a4c4f9a95')
->withPrefix(LIBSODIUM_PREFIX)
->withConfigure('./configure --prefix=' . LIBSODIUM_PREFIX . ' --enable-static --disable-shared')
->withPkgName('libsodium')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libssh2.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
->withManual('https://github.com/libssh2/libssh2.git')
->withManual('https://github.com/libssh2/libssh2/blob/master/docs/INSTALL_CMAKE.md')
->withUrl('https://libssh2.org/download/libssh2-1.11.0.tar.gz')
->withFileHash('md5','a01d543fd891ca48fe47726540d50b17')
->withPrefix($libssh2_prefix)
->withBuildScript(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libwebp.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
->withLicense('https://github.com/webmproject/libwebp/blob/main/COPYING', Library::LICENSE_SPEC)
->withUrl('https://github.com/webmproject/libwebp/archive/refs/tags/v1.3.2.tar.gz')
->withFile('libwebp-v1.3.2.tar.gz')
->withFileHash('md5','827d510b73c73fca3343140556dd2943')
->withPrefix($libwebp_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libxslt.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
->withManual('https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home')
->withLicense('http://www.opensource.org/licenses/mit-license.html', Library::LICENSE_MIT)
->withUrl('https://gitlab.gnome.org/GNOME/libxslt/-/archive/v1.1.34/libxslt-v1.1.34.tar.gz')
->withFileHash('md5','0b89ee955fd13326d40e762242da7f84')
->withPrefix($libxslt_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libyaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withManual('https://pyyaml.org/wiki/LibYAML')
->withLicense('https://pyyaml.org/wiki/LibYAML', Library::LICENSE_MIT)
->withUrl('https://pyyaml.org/download/libyaml/yaml-0.2.5.tar.gz')
->withFileHash('md5','bb15429d8fb787e7d3f1c83ae129a999')
->withPrefix(LIBYAML_PREFIX)
->withConfigure('./configure --prefix=' . LIBYAML_PREFIX . ' --enable-static --disable-shared')
->withPkgName('yaml-0.1')
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libzip.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
->withHomePage('https://libzip.org/')
->withLicense('https://libzip.org/license/', Library::LICENSE_BSD)
->withUrl('https://libzip.org/download/libzip-1.9.2.tar.gz')
->withFileHash('md5','345a88add7e9dd58aa029ac5b5b361ad')
->withManual('https://libzip.org')
->withPrefix($libzip_prefix)
->withConfigure(
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/libzstd.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
->withLicense('https://github.com/facebook/zstd/blob/dev/COPYING', Library::LICENSE_GPL)
->withUrl('https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz')
->withFile('zstd-1.5.2.tar.gz')
->withFileHash('md5','072b10f71f5820c24761a65f31f43e73')
->withPrefix($libzstd_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/ncurses.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
->withUrl('https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.3.tar.gz')
->withMirrorUrl('https://mirrors.tuna.tsinghua.edu.cn/gnu/ncurses/ncurses-6.3.tar.gz')
->withMirrorUrl('https://mirrors.ustc.edu.cn/gnu/ncurses/ncurses-6.3.tar.gz')
->withFileHash('md5','a2736befde5fee7d2b7eb45eb281cdbe')
->withPrefix($ncurses_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/nghttp2.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withManual('https://nghttp2.org/')
->withLicense('https://github.com/nghttp2/nghttp2/blob/master/COPYING', Library::LICENSE_MIT)
->withUrl('https://github.com/nghttp2/nghttp2/releases/download/v1.57.0/nghttp2-1.57.0.tar.gz')
->withFileHash('md5','d4c92d9a85e551bb084964d2be05929c')
->withPrefix($nghttp2_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/nghttp3.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
->withManual('https://nghttp2.org/nghttp3/')
->withUrl('https://github.com/ngtcp2/nghttp3/archive/refs/tags/v1.0.0.tar.gz')
->withFile('nghttp3-v1.0.0.tar.gz')
->withFileHash('md5','0446cce05f003bace3ac51277181ae51')
->withPrefix($nghttp3_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/ngtcp2.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
->withManual('https://curl.se/docs/http3.html')
->withUrl('https://github.com/ngtcp2/ngtcp2/releases/download/v1.1.0/ngtcp2-1.1.0.tar.gz')
->withFile('ngtcp2-1.1.0.tar.gz')
->withFileHash('md5','e05c501244a2af34b492753763c74e04')
->withPrefix($ngtcp2_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/oniguruma.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withHomePage('https://github.com/kkos/oniguruma.git')
->withUrl('https://github.com/kkos/oniguruma/archive/refs/tags/v6.9.9.tar.gz')
->withFile('oniguruma-v6.9.9.tar.gz')
->withFileHash('md5','6a3defb3d5e57c2fa4b6f3b4ec6de28b')
->withPrefix($oniguruma_prefix)
->withConfigure(
'./autogen.sh && ./configure --prefix=' . $oniguruma_prefix . ' --enable-static --disable-shared'
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/openssl.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
->withLicense('https://github.com/openssl/openssl/blob/master/LICENSE.txt', Library::LICENSE_APACHE2)
->withManual('https://www.openssl.org/docs/')
->withUrl('https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz')
->withFileHash('md5','ba2d8774a51a38f2481aad43d05aea57')
->withPrefix($openssl_prefix)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/readline.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
->withUrl('https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz')
->withMirrorUrl('https://mirrors.tuna.tsinghua.edu.cn/gnu/readline/readline-8.2.tar.gz')
->withMirrorUrl('https://mirrors.ustc.edu.cn/gnu/readline/readline-8.2.tar.gz')
->withFileHash('md5','4aa1b31be779e6b84f9a96cb66bc50f6')
->withPrefix(READLINE_PREFIX)
->withConfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/unix_odbc.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
->withHomePage('https://github.com/lurcher/unixODBC')
->withLicense('https://github.com/lurcher/unixODBC/blob/master/LICENSE', Library::LICENSE_LGPL)
->withUrl('https://github.com/lurcher/unixODBC/releases/download/2.3.11/unixODBC-2.3.11.tar.gz')
->withFileHash('md5','0ff1fdbcb4c3c7dc2357f3fd6ba09169')
->withPrefix($unix_odbc_prefix)
->withconfigure(
<<<EOF
Expand Down
1 change: 1 addition & 0 deletions sapi/src/builder/library/zlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
->withLicense('https://zlib.net/zlib_license.html', Library::LICENSE_SPEC)
->withUrl('https://github.com/madler/zlib/archive/refs/tags/v1.3.1.tar.gz')
->withFile('zlib-v1.3.1.tar.gz')
->withFileHash('md5','ddb17dbbf2178807384e57ba0d81e6a1')
->withPrefix(ZLIB_PREFIX)
->withConfigure('./configure --prefix=' . ZLIB_PREFIX . ' --static')
->withPkgName('zlib')
Expand Down

0 comments on commit df88fa6

Please sign in to comment.