|
@@ -45,7 +45,7 @@
|
|
Name: php5
|
|
Name: php5
|
|
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: 5.3.21
|
|
|
|
|
|
+Version: 5.5.4
|
|
Release: 1%{_dist_release}
|
|
Release: 1%{_dist_release}
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -56,7 +56,7 @@ License: The PHP License
|
|
Group: Development/Languages
|
|
Group: Development/Languages
|
|
URL: http://www.php.net/
|
|
URL: http://www.php.net/
|
|
|
|
|
|
-Source0: http://www.php.net/distributions/%{srcname}.tar.bz2
|
|
|
|
|
|
+Source0: http://www.php.net/distributions/%{srcname}.tar.xz
|
|
|
|
|
|
# borrowed from Fedora's php-pear 1:1.9.4-5
|
|
# borrowed from Fedora's php-pear 1:1.9.4-5
|
|
Source13: macros.pear
|
|
Source13: macros.pear
|
|
@@ -74,7 +74,7 @@ Source30: find-provides.sh.in
|
|
|
|
|
|
Patch33: php-5.2.4-phpincludedir.patch
|
|
Patch33: php-5.2.4-phpincludedir.patch
|
|
# Additional feature
|
|
# Additional feature
|
|
-Patch51: php-5.3.0-session_strict_mode.patch
|
|
|
|
|
|
+
|
|
|
|
|
|
# security fix
|
|
# security fix
|
|
#Patch1000: php-5.3.7-bug55439.patch
|
|
#Patch1000: php-5.3.7-bug55439.patch
|
|
@@ -118,6 +118,7 @@ BuildRequires: readline-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: libicu-devel >= 3.6
|
|
BuildRequires: libicu-devel >= 3.6
|
|
|
|
+BuildRequires: libXpm-devel
|
|
%if %{?_dist_release} != "vl4"
|
|
%if %{?_dist_release} != "vl4"
|
|
BuildRequires: krb5-devel
|
|
BuildRequires: krb5-devel
|
|
%endif
|
|
%endif
|
|
@@ -132,6 +133,8 @@ Requires(post,preun): alternatives
|
|
Conflicts: php <= 4.4.2-0vl1.2
|
|
Conflicts: php <= 4.4.2-0vl1.2
|
|
Provides: php = %{version}-%{release}
|
|
Provides: php = %{version}-%{release}
|
|
|
|
|
|
|
|
+Obsoletes: php5-sqlite < 5.5.0
|
|
|
|
+
|
|
%description
|
|
%description
|
|
PHP is an HTML-embedded scripting language. PHP attempts to make it
|
|
PHP is an HTML-embedded scripting language. PHP attempts to make it
|
|
easy for developers to write dynamically generated webpages. PHP also
|
|
easy for developers to write dynamically generated webpages. PHP also
|
|
@@ -305,7 +308,7 @@ support for encrypt/decrypt functions to PHP.
|
|
%package mysql
|
|
%package mysql
|
|
Summary: A module for PHP applications that use MySQL databases.
|
|
Summary: A module for PHP applications that use MySQL databases.
|
|
Group: Development/Languages
|
|
Group: Development/Languages
|
|
-BuildRequires: MySQL-devel >= 5.1.40
|
|
|
|
|
|
+##BuildRequires: MySQL-devel >= 5.1.40
|
|
# for MySQL-devel Requires bug..
|
|
# for MySQL-devel Requires bug..
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-pdo
|
|
Requires: %{name}-pdo
|
|
@@ -391,22 +394,6 @@ support for querying SNMP devices to PHP. PHP is an HTML-embeddable
|
|
scripting language. If you need SNMP support for PHP applications, you
|
|
scripting language. If you need SNMP support for PHP applications, you
|
|
will need to install this package and the php package.
|
|
will need to install this package and the php package.
|
|
|
|
|
|
-#----------------------------------------------------------------------
|
|
|
|
-%package sqlite
|
|
|
|
-Summary: A module for PHP applications that use SQLite databases.
|
|
|
|
-Group: Development/Languages
|
|
|
|
-Requires: %{name} = %{version}-%{release}
|
|
|
|
-Requires: %{name}-pdo
|
|
|
|
-Provides: %{name}_database
|
|
|
|
-Provides: php-sqlite = %{version}-%{release}
|
|
|
|
-
|
|
|
|
-%description sqlite
|
|
|
|
-The php-sqlite package includes a dynamic shared object (DSO) that can
|
|
|
|
-be compiled in to the Apache Web server to add SQLite database support
|
|
|
|
-to PHP. SQLite is a C library that implements an embeddable SQL database
|
|
|
|
-engine. Programs that link with the SQLite library can have SQL database
|
|
|
|
-access without running a separate RDBMS process.
|
|
|
|
-
|
|
|
|
#----------------------------------------------------------------------
|
|
#----------------------------------------------------------------------
|
|
%package xmlrpc
|
|
%package xmlrpc
|
|
Summary: A module for PHP applications which use the XML-RPC protocol
|
|
Summary: A module for PHP applications which use the XML-RPC protocol
|
|
@@ -444,13 +431,24 @@ Process Control should not be enabled within a web server environment
|
|
and unexpected results may happen if any Process Control functions are
|
|
and unexpected results may happen if any Process Control functions are
|
|
used within a web server environment.
|
|
used within a web server environment.
|
|
|
|
|
|
|
|
+#----------------------------------------------------------------------
|
|
|
|
+%package opcache
|
|
|
|
+Summary: A zend extension to cache script bytecode
|
|
|
|
+Group: Development/Languages
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Provides: php-opcache = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description opcache
|
|
|
|
+ OPcache improves PHP performance by storing precompiled script bytecode
|
|
|
|
+in shared memory, thereby removing the need for PHP to load and parse scripts
|
|
|
|
+on each request.
|
|
|
|
+
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{srcname}
|
|
%setup -q -n %{srcname}
|
|
|
|
|
|
%patch33 -p1 -b .phpincludedir
|
|
%patch33 -p1 -b .phpincludedir
|
|
-%patch51 -p1 -b .strict_session
|
|
|
|
|
|
|
|
##%patch2000 -p0 -b .fix319823
|
|
##%patch2000 -p0 -b .fix319823
|
|
|
|
|
|
@@ -693,7 +691,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/nginx
|
|
#----------------------------------------------------------------------
|
|
#----------------------------------------------------------------------
|
|
# Generate files lists and stub .ini files for each subpackage
|
|
# Generate files lists and stub .ini files for each subpackage
|
|
for mod in dba imap ldap mcrypt snmp xmlrpc intl gd \
|
|
for mod in dba imap ldap mcrypt snmp xmlrpc intl gd \
|
|
- mysql mysqli odbc pgsql sqlite \
|
|
|
|
|
|
+ mysql mysqli odbc pgsql \
|
|
pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
|
|
pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
|
|
cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
|
|
cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
|
|
; Enable ${mod} extension module
|
|
; Enable ${mod} extension module
|
|
@@ -705,6 +703,18 @@ EOF
|
|
EOF
|
|
EOF
|
|
done
|
|
done
|
|
|
|
|
|
|
|
+# Zend extensions
|
|
|
|
+for mod in opcache; do
|
|
|
|
+ cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
|
|
|
|
+; Enable ${mod} zend extension module
|
|
|
|
+zend_extension=${mod}.so
|
|
|
|
+EOF
|
|
|
|
+ cat > files.${mod} <<EOF
|
|
|
|
+%attr(0755,root,root) %{_libdir}/%{_name}/${mod}.so
|
|
|
|
+%config(noreplace) %attr(0644,root,root) %{php_confdir}/php.d/${mod}.ini
|
|
|
|
+EOF
|
|
|
|
+done
|
|
|
|
+
|
|
# pcntl extension should be enabled with CLI/CGI SAPI only.
|
|
# pcntl extension should be enabled with CLI/CGI SAPI only.
|
|
cat > %{buildroot}%{php_confdir}/php.d/pcntl.ini <<EOF
|
|
cat > %{buildroot}%{php_confdir}/php.d/pcntl.ini <<EOF
|
|
; Enable pcntl extension module
|
|
; Enable pcntl extension module
|
|
@@ -928,13 +938,22 @@ rm -f files.*
|
|
%files pdo -f files.pdo
|
|
%files pdo -f files.pdo
|
|
%files pgsql -f files.pgsql
|
|
%files pgsql -f files.pgsql
|
|
%files snmp -f files.snmp
|
|
%files snmp -f files.snmp
|
|
-%files sqlite -f files.sqlite
|
|
|
|
%files xmlrpc -f files.xmlrpc
|
|
%files xmlrpc -f files.xmlrpc
|
|
%files intl -f files.intl
|
|
%files intl -f files.intl
|
|
%files pcntl -f files.pcntl
|
|
%files pcntl -f files.pcntl
|
|
|
|
+%files opcache -f files.opcache
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.4-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- removed %%patch51 (commited to upstream).
|
|
|
|
+
|
|
|
|
+* Sun Jun 23 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- removed a sub-package "sqlite".
|
|
|
|
+- fixed invalid date in %%changelog.
|
|
|
|
+
|
|
* Tue Feb 19 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 5.3.21-1
|
|
* Tue Feb 19 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 5.3.21-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- add configure options to fix broken fonts in some
|
|
- add configure options to fix broken fonts in some
|
|
@@ -1276,7 +1295,7 @@ rm -f files.*
|
|
-- remove BuildRequires: libsablotron0-devel
|
|
-- remove BuildRequires: libsablotron0-devel
|
|
-- remove --enable-xslt, --with-xslt-sablot configure option
|
|
-- remove --enable-xslt, --with-xslt-sablot configure option
|
|
|
|
|
|
-* Thu Dec 07 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.1-0vl2
|
|
|
|
|
|
+* Wed Dec 07 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.1-0vl2
|
|
- add %%{with_test}
|
|
- add %%{with_test}
|
|
- drop Patch5: php-4.3.3-install.patch
|
|
- drop Patch5: php-4.3.3-install.patch
|
|
- drop Patch6: php-5.1.0-tests.patch
|
|
- drop Patch6: php-5.1.0-tests.patch
|
|
@@ -1319,7 +1338,7 @@ rm -f files.*
|
|
* Thu Oct 06 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl4
|
|
* Thu Oct 06 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl4
|
|
- modify Source21: vine.ini
|
|
- modify Source21: vine.ini
|
|
|
|
|
|
-* Tue Oct 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl3
|
|
|
|
|
|
+* Thu Oct 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl3
|
|
- drop Patch3: php-5.0.5-lib64.patch
|
|
- drop Patch3: php-5.0.5-lib64.patch
|
|
- drop Patch11: php-5.0.5-phpize_in.patch [VinePlus:02737]
|
|
- drop Patch11: php-5.0.5-phpize_in.patch [VinePlus:02737]
|
|
- add --libdir=%%{_libdir}/php option to configure [VinePlus:02737]
|
|
- add --libdir=%%{_libdir}/php option to configure [VinePlus:02737]
|
|
@@ -1343,7 +1362,7 @@ rm -f files.*
|
|
* Fri Jun 17 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 5.0.3-0vl3.2
|
|
* Fri Jun 17 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 5.0.3-0vl3.2
|
|
- added a security patch for CAN-2005-0524 and CAN-2005-0525 from SuSE.
|
|
- added a security patch for CAN-2005-0524 and CAN-2005-0525 from SuSE.
|
|
|
|
|
|
-* Thu May 16 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3.1
|
|
|
|
|
|
+* Mon May 16 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3.1
|
|
- for VinePlus/3.0
|
|
- for VinePlus/3.0
|
|
- add README.vine again
|
|
- add README.vine again
|
|
- add php-4.3.11-mbfilter.patch for workaround against degrade at 5.0.3
|
|
- add php-4.3.11-mbfilter.patch for workaround against degrade at 5.0.3
|
|
@@ -1452,7 +1471,7 @@ for text/hdml.
|
|
- applied php-4.2.2-mb-decode.patch to fix decode problem of GET parameters.
|
|
- applied php-4.2.2-mb-decode.patch to fix decode problem of GET parameters.
|
|
- Patch to fix a problem where, given multiple cookies to set, only the last one would be made (#67853)
|
|
- Patch to fix a problem where, given multiple cookies to set, only the last one would be made (#67853)
|
|
|
|
|
|
-* Tue Jul 24 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl2
|
|
|
|
|
|
+* Wed Jul 24 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl2
|
|
- for VineSeedPlus
|
|
- for VineSeedPlus
|
|
-- applied php-4.2.2-multibyte.patch.gz which obsolets 4.2.1's
|
|
-- applied php-4.2.2-multibyte.patch.gz which obsolets 4.2.1's
|
|
-- dropped --enable-trans-sid configure option which is no longer meaningful
|
|
-- dropped --enable-trans-sid configure option which is no longer meaningful
|
|
@@ -1511,7 +1530,7 @@ for text/hdml.
|
|
- added ereg_replace patch (4.2.0-reg.patch)
|
|
- added ereg_replace patch (4.2.0-reg.patch)
|
|
- updated manual(en, ja)
|
|
- updated manual(en, ja)
|
|
|
|
|
|
-* Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl1
|
|
|
|
|
|
+* Tue Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl1
|
|
- updated php-4.2.0
|
|
- updated php-4.2.0
|
|
|
|
|
|
* Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 4.1.2-0vl1
|
|
* Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 4.1.2-0vl1
|
|
@@ -1689,11 +1708,11 @@ for text/hdml.
|
|
- build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
|
|
- build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
|
|
- post/un scripts tweak php.ini correctly now
|
|
- post/un scripts tweak php.ini correctly now
|
|
|
|
|
|
-* Thu Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
|
+* Wed Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 4.0.1
|
|
- update to 4.0.1
|
|
- refresh manual
|
|
- refresh manual
|
|
|
|
|
|
-* Tue Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
|
|
+* Mon Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- rebuild against new krb5 package
|
|
- rebuild against new krb5 package
|
|
|
|
|
|
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
|