mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/php-legacy to 8.1.14-3
This commit is contained in:
parent
1cc4c5acea
commit
ed7d4fabb8
1 changed files with 17 additions and 7 deletions
|
@ -22,23 +22,29 @@ pkgname=('php-legacy'
|
||||||
'php-legacy-tidy'
|
'php-legacy-tidy'
|
||||||
'php-legacy-xsl')
|
'php-legacy-xsl')
|
||||||
pkgver=8.1.14
|
pkgver=8.1.14
|
||||||
pkgrel=1.1
|
pkgrel=3
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('PHP')
|
license=('PHP')
|
||||||
url='https://www.php.net/'
|
url='https://www.php.net/'
|
||||||
makedepends=('apache' 'aspell' 'gdbm' 'enchant' 'gd' 'gmp' 'icu' 'libsodium' 'libxslt' 'libzip' 'net-snmp'
|
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'
|
'postgresql-libs' 'sqlite' 'systemd' 'tidy' 'unixodbc' 'curl' 'libtool' 'postfix' 'freetds' 'pcre2' 'libnsl'
|
||||||
'oniguruma')
|
'oniguruma' 'patchelf')
|
||||||
checkdepends=('procps-ng')
|
checkdepends=('procps-ng')
|
||||||
options=('debug')
|
source=(
|
||||||
source=("https://php.net/distributions/php-${pkgver}.tar.xz"{,.asc}
|
"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')
|
'apache.conf'
|
||||||
|
'php-fpm.tmpfiles'
|
||||||
|
'apache.patch'
|
||||||
|
'php-fpm.patch'
|
||||||
|
'php.ini.patch'
|
||||||
|
'php-legacy.patch'
|
||||||
|
)
|
||||||
sha256sums=('e16e47a872d58685913ac848ce92ec49f42c1828110c98c65fb6265a08724a1a'
|
sha256sums=('e16e47a872d58685913ac848ce92ec49f42c1828110c98c65fb6265a08724a1a'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca'
|
|
||||||
'2173046ac22ac50c7a6721306d3f79b2086f66a7a6ff5d8af249a474763197a1'
|
'2173046ac22ac50c7a6721306d3f79b2086f66a7a6ff5d8af249a474763197a1'
|
||||||
'632aaa2e87f7d687b0b55a6a89e473d57891fdb0d20eef1b7733dabc02b78ba8'
|
|
||||||
'f3236ca866095d5e42e51e3fa600082ccd0afcfb7f1aecbeb286ef9d4f0dd564'
|
'f3236ca866095d5e42e51e3fa600082ccd0afcfb7f1aecbeb286ef9d4f0dd564'
|
||||||
|
'702b163c66c65af92dcad8d79f41bda84bcd5d863235fcf1497c33a86db9e4ca'
|
||||||
|
'632aaa2e87f7d687b0b55a6a89e473d57891fdb0d20eef1b7733dabc02b78ba8'
|
||||||
'0d651c14cbd76bf430cd9b0c3b3ebf12fd19bf3ca4a18cb6dc329e0352aabe66'
|
'0d651c14cbd76bf430cd9b0c3b3ebf12fd19bf3ca4a18cb6dc329e0352aabe66'
|
||||||
'a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194')
|
'a1859005c9fad835079470e6fb3c0721b9bd024c8f3ae1f34cb082ec41c63194')
|
||||||
validpgpkeys=('F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD'
|
validpgpkeys=('F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD'
|
||||||
|
@ -218,6 +224,8 @@ package_php-legacy-apache() {
|
||||||
backup=('etc/httpd/conf/extra/php-legacy_module.conf')
|
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"
|
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"
|
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"
|
cd "${srcdir}/build"
|
||||||
make -j1 INSTALL_ROOT="${pkgdir}" PHP_SAPI=embed install-sapi
|
make -j1 INSTALL_ROOT="${pkgdir}" PHP_SAPI=embed install-sapi
|
||||||
mv "${pkgdir}/usr/lib/libphp.so" "${pkgdir}/usr/lib/libphp-legacy.so"
|
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() {
|
package_php-legacy-phpdbg() {
|
||||||
|
|
Loading…
Reference in a new issue