From 3646d9e0c38d7f38aee145ca9c81e86bc486fb03 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 26 Jun 2020 16:49:30 +0200 Subject: [PATCH] - updated to 7.4.7 --- php-use-prog_sendmail.patch | 12 ++++++------ php.spec | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/php-use-prog_sendmail.patch b/php-use-prog_sendmail.patch index 161e446..017b100 100644 --- a/php-use-prog_sendmail.patch +++ b/php-use-prog_sendmail.patch @@ -1,14 +1,14 @@ ---- php-5.2.6/build/php.m4~ 2008-10-15 13:44:25.000000000 +0300 -+++ php-5.2.6/build/php.m4 2008-10-15 13:55:05.359850285 +0300 -@@ -2037,8 +2037,10 @@ - dnl Search for the sendmail binary +--- php-7.4.7/build/php.m4.orig 2020-06-26 16:43:50.784451000 +0200 ++++ php-7.4.7/build/php.m4 2020-06-26 16:45:13.716451000 +0200 +@@ -1732,8 +1732,10 @@ + dnl Search for the sendmail binary. dnl AC_DEFUN([PHP_PROG_SENDMAIL], [ - PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib -- AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH) +- AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) + if test -z "$PROG_SENDMAIL"; then + PHP_ALT_PATH=/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib -+ AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:$PHP_ALT_PATH) ++ AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$PHP_ALT_PATH) + fi PHP_SUBST(PROG_SENDMAIL) ]) diff --git a/php.spec b/php.spec index 7895741..d002e40 100644 --- a/php.spec +++ b/php.spec @@ -134,7 +134,7 @@ Epoch: 4 License: PHP 3.01 and Zend and BSD Group: Libraries Source0: http://php.net/distributions/%{orgname}-%{version}.tar.xz -# Source0-md5: 523b7d61e5fa8ea15375f6d1f7e2876a +# Source0-md5: bba97ede87109a2bdaa164e7c2f8d229 Source1: opcache.ini Source2: %{orgname}-mod_php.conf Source3: %{orgname}-cgi-fcgi.ini -- 2.46.0