extra/php-legacy to 8.2.20-2

This commit is contained in:
Kevin Mihelich 2024-06-07 22:46:00 +00:00
parent dc7db15a66
commit 4b3bc9fd4d
2 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,6 @@
pkgbase = php-legacy
pkgver = 8.2.20
pkgrel = 1
pkgrel = 2
url = https://www.php.net/
arch = x86_64
license = PHP-3.01
@ -37,6 +37,7 @@ pkgbase = php-legacy
source = php-fpm.patch
source = php.ini.patch
source = php-legacy.patch
source = https://github.com/php/php-src/commit/ee7d35cc4d234a2324e05d9eb0cc87e9fba2ae38.patch
validpgpkeys = 1198C0117593497A5EC5C199286AF1F9897469DC
validpgpkeys = 39B641343D8C104B2B146DC3F9C39DC0B9698544
validpgpkeys = E60913E4DF209907D8E30D96659A97C9CF2A795A
@ -48,6 +49,7 @@ pkgbase = php-legacy
sha256sums = b23547fb1fcdd47a1dab1082c921485c7306af23734c66c7203d33a1d0cfaf41
sha256sums = 770eb5232d24749f8399bf649998bb3adda51b49985c61db66f3af82f9d81805
sha256sums = a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194
sha256sums = 2be71fec71124e629d7b23143e30d97a7ff823f2f3f14f09d71edf6d273cc076
pkgname = php-legacy
pkgdesc = A general-purpose scripting language that is especially suited to web development

View file

@ -22,7 +22,7 @@ pkgname=('php-legacy'
'php-legacy-tidy'
'php-legacy-xsl')
pkgver=8.2.20
pkgrel=1
pkgrel=2
arch=('x86_64')
license=('PHP-3.01')
url='https://www.php.net/'
@ -31,7 +31,8 @@ makedepends=('apache' 'aspell' 'gdbm' 'enchant' 'gd' 'gmp' 'icu' 'libsodium' 'li
'oniguruma' 'patchelf')
checkdepends=('procps-ng')
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')
'apache.conf' 'php-fpm.tmpfiles' 'apache.patch' 'php-fpm.patch' 'php.ini.patch' 'php-legacy.patch'
'https://github.com/php/php-src/commit/ee7d35cc4d234a2324e05d9eb0cc87e9fba2ae38.patch')
sha256sums=('4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50'
'SKIP'
@ -40,7 +41,8 @@ sha256sums=('4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50'
'702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca'
'b23547fb1fcdd47a1dab1082c921485c7306af23734c66c7203d33a1d0cfaf41'
'770eb5232d24749f8399bf649998bb3adda51b49985c61db66f3af82f9d81805'
'a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194')
'a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194'
'2be71fec71124e629d7b23143e30d97a7ff823f2f3f14f09d71edf6d273cc076')
validpgpkeys=('1198C0117593497A5EC5C199286AF1F9897469DC'
'39B641343D8C104B2B146DC3F9C39DC0B9698544'
'E60913E4DF209907D8E30D96659A97C9CF2A795A')
@ -53,6 +55,8 @@ prepare() {
patch -p0 -i "${srcdir}/php-fpm.patch"
patch -p0 -i "${srcdir}/php.ini.patch"
patch -p0 -i "${srcdir}/php-legacy.patch"
# Fix https://gitlab.archlinux.org/archlinux/packaging/packages/php-legacy/-/issues/3
patch -p1 -i "${srcdir}/ee7d35cc4d234a2324e05d9eb0cc87e9fba2ae38.patch"
autoconf
# Disable failing tests