From ed7d4fabb83f42d9b0c9fd0eb3d3120999846774 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 16 Jan 2023 19:46:01 +0000 Subject: [PATCH] extra/php-legacy to 8.1.14-3 --- extra/php-legacy/PKGBUILD | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/extra/php-legacy/PKGBUILD b/extra/php-legacy/PKGBUILD index fab2b6f08..f56b07a10 100644 --- a/extra/php-legacy/PKGBUILD +++ b/extra/php-legacy/PKGBUILD @@ -22,23 +22,29 @@ pkgname=('php-legacy' 'php-legacy-tidy' 'php-legacy-xsl') pkgver=8.1.14 -pkgrel=1.1 +pkgrel=3 arch=('x86_64') license=('PHP') url='https://www.php.net/' makedepends=('apache' 'aspell' 'gdbm' 'enchant' 'gd' 'gmp' 'icu' 'libsodium' 'libxslt' 'libzip' 'net-snmp' 'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'postfix' 'freetds' 'pcre2' 'libnsl' - 'oniguruma') + 'oniguruma' 'patchelf') checkdepends=('procps-ng') -options=('debug') -source=("https://php.net/distributions/php-${pkgver}.tar.xz"{,.asc} - 'apache.patch' 'apache.conf' 'php-fpm.patch' 'php-fpm.tmpfiles' 'php.ini.patch' 'php-legacy.patch') +source=( + "https://php.net/distributions/php-${pkgver}.tar.xz"{,.asc} + 'apache.conf' + 'php-fpm.tmpfiles' + 'apache.patch' + 'php-fpm.patch' + 'php.ini.patch' + 'php-legacy.patch' +) sha256sums=('e16e47a872d58685913ac848ce92ec49f42c1828110c98c65fb6265a08724a1a' 'SKIP' - '702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca' '2173046ac22ac50c7a6721306d3f79b2086f66a7a6ff5d8af249a474763197a1' - '632aaa2e87f7d687b0b55a6a89e473d57891fdb0d20eef1b7733dabc02b78ba8' 'f3236ca866095d5e42e51e3fa600082ccd0afcfb7f1aecbeb286ef9d4f0dd564' + '702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca' + '632aaa2e87f7d687b0b55a6a89e473d57891fdb0d20eef1b7733dabc02b78ba8' '0d651c14cbd76bf430cd9b0c3b3ebf12fd19bf3ca4a18cb6dc329e0352aabe66' 'a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194') validpgpkeys=('F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD' @@ -218,6 +224,8 @@ package_php-legacy-apache() { backup=('etc/httpd/conf/extra/php-legacy_module.conf') install -D -m755 "${srcdir}/build-apache/libs/libphp.so" "${pkgdir}/usr/lib/httpd/modules/libphp-legacy.so" + patchelf --set-soname "libphp-legacy.so" "${pkgdir}/usr/lib/httpd/modules/libphp-legacy.so" + install -D -m644 "${srcdir}/apache.conf" "${pkgdir}/etc/httpd/conf/extra/php-legacy_module.conf" } @@ -241,6 +249,8 @@ package_php-legacy-embed() { cd "${srcdir}/build" make -j1 INSTALL_ROOT="${pkgdir}" PHP_SAPI=embed install-sapi mv "${pkgdir}/usr/lib/libphp.so" "${pkgdir}/usr/lib/libphp-legacy.so" + + patchelf --set-soname "libphp-legacy.so" "${pkgdir}/usr/lib/libphp-legacy.so" } package_php-legacy-phpdbg() {