summarylogtreecommitdiffstats
path: root/generate_patches
diff options
context:
space:
mode:
Diffstat (limited to 'generate_patches')
-rwxr-xr-xgenerate_patches10
1 files changed, 5 insertions, 5 deletions
diff --git a/generate_patches b/generate_patches
index 19b8a76ac5a1..8ec5a36d9632 100755
--- a/generate_patches
+++ b/generate_patches
@@ -4,26 +4,26 @@
makepkg -o --nodeps --noprepare --skipinteg
-pushd src/${pkgbase}-${pkgver}
+pushd src/${_pkgbase}-${pkgver}
sed '/APACHE_THREADED_MPM=/d' -i.orig sapi/apache2handler/config.m4
sed 's/.conf.default/.conf/g' -i.orig sapi/fpm/Makefile.frag
sed \
- -e 's#run/php-fpm.pid#/run/php-fpm/php-fpm.pid#' \
+ -e 's#run/php-fpm.pid#/run/php73-fpm/php-fpm.pid#' \
-e 's#^;error_log =.*#error_log = syslog#' \
-i.orig sapi/fpm/php-fpm.conf.in
sed \
- -e 's#^listen =.*#listen = /run/php-fpm/php-fpm.sock#' \
+ -e 's#^listen =.*#listen = /run/php73-fpm/php-fpm.sock#' \
-e 's#^;listen.owner =#listen.owner =#' \
-e 's#^;listen.group =#listen.group =#' \
-e 's#^;chdir =.*#;chdir = /srv/http#' \
-i.orig sapi/fpm/www.conf.in
sed \
- -e 's#^PIDFile=.*#PIDFile=/run/php-fpm/php-fpm.pid#' \
+ -e 's#^PIDFile=.*#PIDFile=/run/php73-fpm/php-fpm.pid#' \
-i.orig sapi/fpm/php-fpm.service.in
extensions=";extension=bcmath\n;extension=bz2\n;extension=calendar\nextension=curl\n;extension=dba\n;extension=enchant\n;extension=exif\n;extension=ftp\n;extension=gd\n;extension=gettext\n;extension=gmp\n;extension=iconv\n;extension=imap\n;extension=intl\n;extension=sodium\n;extension=ldap\n;extension=mysqli\n;extension=odbc\n;zend_extension=opcache\n;extension=pdo_dblib\n;extension=pdo_mysql\n;extension=pdo_odbc\n;extension=pdo_pgsql\n;extension=pdo_sqlite\n;extension=pgsql\n;extension=pspell\n;extension=shmop\n;extension=snmp\n;extension=soap\n;extension=sockets\n;extension=sqlite3\n;extension=sysvmsg\n;extension=sysvsem\n;extension=sysvshm\n;extension=tidy\n;extension=xmlrpc\n;extension=xsl\nextension=zip\n"
@@ -32,7 +32,7 @@ sed \
-r ":a;N;\$!ba;s/; Notes for Windows environments :\n.+;?extension=\w+\n/${extensions}/g" \
-i.orig php.ini-production
sed \
- -e 's#^;extension_dir = "\./"$#extension_dir = "/usr/lib/php/modules/"#g' \
+ -e 's#^;extension_dir = "\./"$#extension_dir = "/usr/lib/php73/modules/"#g' \
-i php.ini-production
diff -u sapi/apache2handler/config.m4.orig sapi/apache2handler/config.m4 | filterdiff --clean --remove-timestamps > ../../apache.patch