public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
@ 2026-11-27 7:22 jorton
0 siblings, 0 replies; only message in thread
From: jorton @ 2026-11-27 7:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : private-php86
Commit : 1005a1c62df76cbc59a5b867f86891b068b00b19
Author : jorton <jorton@fedoraproject.org>
Date : 2005-04-13T09:52:41+00:00
Stats : +18/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/1005a1c62df76cbc59a5b867f86891b068b00b19?branch=private-php86
Log:
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
built with the CGI SAPI (thanks to Edward Rudd, #137704)
- add php(1) man page for CLI
- fix more test cases to use -n when invoking php
---
diff --git a/php.spec b/php.spec
index 5d5f1ac..49d0314 100644
--- a/php.spec
+++ b/php.spec
@@ -7,7 +7,7 @@
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Name: php
Version: 5.0.4
-Release: 5
+Release: 6
License: The PHP License
Group: Development/Languages
URL: http://www.php.net/
@@ -432,8 +432,7 @@ fi
make %{?_smp_mflags}
}
-# Build standalone /usr/bin/php and shared extension modules that
-# do not need to be built twice.
+# Build /usr/bin/php-cgi with the CGI SAPI, and all the shared extensions
pushd build-cgi
build --enable-force-cgi-redirect \
--enable-pcntl \
@@ -458,7 +457,7 @@ build --enable-force-cgi-redirect \
--with-xsl=shared,%{_prefix}
popd
-# Build Apache module
+# Build Apache module, and the CLI SAPI, /usr/bin/php
pushd build-apache
build --with-apxs2=%{_sbindir}/apxs \
--without-mysql --without-gd \
@@ -466,8 +465,8 @@ build --with-apxs2=%{_sbindir}/apxs \
popd
%check
-cd build-cgi
-# Run tests
+cd build-apache
+# Run tests, using the CLI SAPI
export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
unset TZ LANG LC_ALL
if ! make test; then
@@ -485,14 +484,16 @@ unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-# Install from CGI tree
+# Install everything from the CGI SAPI build
pushd build-cgi
make install INSTALL_ROOT=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{_bindir}/php $RPM_BUILD_ROOT%{_bindir}/php-cgi
popd
-# Install the Apache module
+# Install the Apache module and CLI
pushd build-apache
make install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
+make install-cli INSTALL_ROOT=$RPM_BUILD_ROOT
popd
# Install the default configuration file and icons
@@ -552,9 +553,11 @@ rm files.*
%defattr(-,root,root)
%doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
%doc Zend/ZEND_* gd_README TSRM_LICENSE regex_COPYRIGHT
-%config(noreplace) %{_sysconfdir}/php.ini
+%config %{_sysconfdir}/php.ini
%config %{_sysconfdir}/pear.conf
%{_bindir}/php
+%{_bindir}/php-cgi
+%{_mandir}/man?/*
%dir %{_libdir}/php
%dir %{_libdir}/php/modules
%dir %{_localstatedir}/lib/php
@@ -604,6 +607,12 @@ rm files.*
%endif
%changelog
+* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6
+- build /usr/bin/php with the CLI SAPI, and add /usr/bin/php-cgi,
+ built with the CGI SAPI (thanks to Edward Rudd, #137704)
+- add php(1) man page for CLI
+- fix more test cases to use -n when invoking php
+
* Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-5
- rebuild for new libpq soname
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 7:22 [rpms/php] private-php86: * Wed Apr 13 2005 Joe Orton <jorton@redhat.com> 5.0.4-6 jorton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox