|
@@ -21,11 +21,7 @@
|
|
|
|
|
|
%global php_confdir %{_sysconfdir}/%{_name}
|
|
%global php_confdir %{_sysconfdir}/%{_name}
|
|
|
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-%define gd_name gd21
|
|
|
|
-%else
|
|
|
|
%define gd_name gd
|
|
%define gd_name gd
|
|
-%endif
|
|
|
|
|
|
|
|
%{!?_without_pear:%global _with_pear 1}
|
|
%{!?_without_pear:%global _with_pear 1}
|
|
%global with_pear %{?_with_pear:1}%{!?_with_pear:0}
|
|
%global with_pear %{?_with_pear:1}%{!?_with_pear:0}
|
|
@@ -40,22 +36,15 @@
|
|
%global apache2_cgidir %{apache2_contentdir}/cgi-bin
|
|
%global apache2_cgidir %{apache2_contentdir}/cgi-bin
|
|
%global apache2_fcgidir %{apache2_contentdir}/fcgi-bin
|
|
%global apache2_fcgidir %{apache2_contentdir}/fcgi-bin
|
|
|
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-%define www_user apache
|
|
|
|
-%define www_group apache
|
|
|
|
-%define fpm_user nobody
|
|
|
|
-%define fpm_group nobody
|
|
|
|
-%else
|
|
|
|
%define www_user www-data
|
|
%define www_user www-data
|
|
%define www_group www-data
|
|
%define www_group www-data
|
|
%define fpm_user www-data
|
|
%define fpm_user www-data
|
|
%define fpm_group www-data
|
|
%define fpm_group www-data
|
|
-%endif
|
|
|
|
|
|
|
|
Name: php%{majorver}
|
|
Name: php%{majorver}
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
-Version: 8.0.2
|
|
|
|
|
|
+Version: 8.0.3
|
|
Release: 1%{_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{_dist_release}%{?with_systemd:.systemd}
|
|
Group: programming
|
|
Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -99,11 +88,7 @@ BuildRequires: bison
|
|
BuildRequires: bzip2
|
|
BuildRequires: bzip2
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: curl-devel
|
|
BuildRequires: curl-devel
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-BuildRequires: db4-devel
|
|
|
|
-%else
|
|
|
|
BuildRequires: libdb-devel
|
|
BuildRequires: libdb-devel
|
|
-%endif
|
|
|
|
BuildRequires: coreutils
|
|
BuildRequires: coreutils
|
|
BuildRequires: flex
|
|
BuildRequires: flex
|
|
BuildRequires: freetype2-devel
|
|
BuildRequires: freetype2-devel
|
|
@@ -134,9 +119,7 @@ BuildRequires: zlib-devel
|
|
BuildRequires: libicu-devel >= 3.6
|
|
BuildRequires: libicu-devel >= 3.6
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libzip-devel
|
|
BuildRequires: libzip-devel
|
|
-%if %{?_dist_release} != "vl4"
|
|
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: krb5-devel
|
|
-%endif
|
|
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: systemd-units
|
|
BuildRequires: systemd-units
|
|
@@ -147,11 +130,8 @@ Requires(postun): systemd-units
|
|
Requires(post): chkconfig
|
|
Requires(post): chkconfig
|
|
Requires(preun): chkconfig
|
|
Requires(preun): chkconfig
|
|
%endif
|
|
%endif
|
|
-
|
|
|
|
-%if %{?_dist_release} != "vl6"
|
|
|
|
BuildRequires: www-common
|
|
BuildRequires: www-common
|
|
Requires: www-common
|
|
Requires: www-common
|
|
-%endif
|
|
|
|
|
|
|
|
Requires(post,preun): alternatives
|
|
Requires(post,preun): alternatives
|
|
%{?_with_pear:Requires: %{name}-pear = %{version}-%{release}}
|
|
%{?_with_pear:Requires: %{name}-pear = %{version}-%{release}}
|
|
@@ -378,11 +358,7 @@ databases.
|
|
Summary: A PostgreSQL database module for PHP.
|
|
Summary: A PostgreSQL database module for PHP.
|
|
Group: programming
|
|
Group: programming
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: openssl-devel
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-BuildRequires: postgresql-devel
|
|
|
|
-%else
|
|
|
|
BuildRequires: libpq-devel
|
|
BuildRequires: libpq-devel
|
|
-%endif
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-pdo
|
|
Requires: %{name}-pdo
|
|
Provides: %{name}_database
|
|
Provides: %{name}_database
|
|
@@ -925,23 +901,6 @@ fi
|
|
|
|
|
|
%if %{with apache2}
|
|
%if %{with apache2}
|
|
%post apache2
|
|
%post apache2
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
|
|
|
|
-
|
|
|
|
-MPM=`file /etc/alternatives/apache2 | sed -e 's/^.*apache2\.\([a-z]*\).*$/\1/'`
|
|
|
|
-if [ "$MPM" != "prefork" ]; then
|
|
|
|
- cat <<EOF
|
|
|
|
-
|
|
|
|
- Apache2 is configured to use $MPM MPM. But php%{majorver}-apache2 requires
|
|
|
|
-prefork MPM. Run the following command as root to switch MPM:
|
|
|
|
-
|
|
|
|
- /sbin/update-alternatives --config apache2
|
|
|
|
-
|
|
|
|
-EOF
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-%else
|
|
|
|
-
|
|
|
|
MPM=`/usr/sbin/apache2ctl -V | grep "Server MPM:" | sed -e 's/^.*: *//'`
|
|
MPM=`/usr/sbin/apache2ctl -V | grep "Server MPM:" | sed -e 's/^.*: *//'`
|
|
if [ "$MPM" != "prefork" ]; then
|
|
if [ "$MPM" != "prefork" ]; then
|
|
cat <<EOF
|
|
cat <<EOF
|
|
@@ -952,8 +911,6 @@ via FastCGI.
|
|
|
|
|
|
EOF
|
|
EOF
|
|
fi
|
|
fi
|
|
-
|
|
|
|
-%endif
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
@@ -1056,6 +1013,9 @@ rm -f files.*
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Mar 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.3-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Thu Feb 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.2-1
|
|
* Thu Feb 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 8.0.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|