Security release, see - https://www.php.net/archive/2019.php#2019-09-26-1 - https://www.php.net/ChangeLog-7.php#7.3.10
37 lines
892 B
Plaintext
37 lines
892 B
Plaintext
# Description: CGI/FastCGI version of the PHP interpreter
|
|
# URL: http://www.php.net
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libpcre2 libxml2
|
|
|
|
name=php-fcgi
|
|
version=7.3.10
|
|
release=1
|
|
source=(http://php.net/distributions/php-$version.tar.xz
|
|
php-fcgi)
|
|
|
|
build () {
|
|
cd php-$version
|
|
|
|
local PHP_CONFIG="
|
|
--prefix=/usr \
|
|
--with-config-file-path=/etc/php \
|
|
--with-config-file-scan-dir=/etc/php/conf.d \
|
|
--with-zlib \
|
|
--with-pcre-regex=/usr \
|
|
--disable-static --disable-debug \
|
|
--without-sqlite3 --without-pdo-sqlite \
|
|
--without-libzip \
|
|
--without-pear"
|
|
|
|
EXTENSION_DIR=/usr/lib/php/extensions \
|
|
./configure \
|
|
$PHP_CONFIG \
|
|
--enable-cgi \
|
|
--disable-cli
|
|
|
|
make
|
|
|
|
install -D -m 755 sapi/cgi/php-cgi $PKG/usr/bin/php-cgi
|
|
install -D -m 755 $SRC/php-fcgi $PKG/etc/rc.d/php-fcgi
|
|
}
|