Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161076 Details for
Bug 251520
RFE / PATCH: build embeddable version of php5 (libphp5.so)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
specfile patch implementing an embedded subpackage
php5-embedded-spec.patch (text/plain), 3.43 KB, created by
Hans de Goede
on 2007-08-10 19:39:27 UTC
(
hide
)
Description:
specfile patch implementing an embedded subpackage
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-08-10 19:39:27 UTC
Size:
3.43 KB
patch
obsolete
>Index: php.spec >=================================================================== >RCS file: /cvs/extras/rpms/php/devel/php.spec,v >retrieving revision 1.144 >diff -u -r1.144 php.spec >--- php.spec 10 Aug 2007 12:29:27 -0000 1.144 >+++ php.spec 10 Aug 2007 19:38:35 -0000 >@@ -6,7 +6,7 @@ > Summary: The PHP HTML-embedded scripting language > Name: php > Version: 5.2.3 >-Release: 6 >+Release: 7 > License: PHP > Group: Development/Languages > URL: http://www.php.net/ >@@ -21,6 +21,7 @@ > Patch3: php-5.0.4-norpath.patch > Patch5: php-5.0.2-phpize64.patch > Patch8: php-5.2.0-includedir.patch >+Patch9: php-5.2.3-embed.patch > > # Fixes for extension modules > Patch21: php-4.3.1-odbc.patch >@@ -332,6 +333,17 @@ > DataStream) protocol through the freetds library, hence any > database server which supports TDS can be accessed. > >+%package embedded >+Summary: PHP build embedable as script language for applications >+Group: System Environment/Libraries >+Requires: php-common = %{version}-%{release} >+# doing a real -devel package for just the .so symlink is a bit overkill >+Provides: php-embedded-devel = %{version}-%{release} >+ >+%description embedded >+The php-embedded package contains libphp5.so, this is a version of PHP which >+can be embedded into applications as script language for these applications. >+ > %prep > %setup -q > %patch1 -p1 -b .gnusrc >@@ -339,6 +351,7 @@ > %patch3 -p1 -b .norpath > %patch5 -p1 -b .phpize64 > %patch8 -p1 -b .includedir >+%patch9 -p1 -b .embed > > %patch21 -p1 -b .odbc > %patch22 -p1 -b .shutdown >@@ -357,8 +370,9 @@ > cp regex/COPYRIGHT regex_COPYRIGHT > cp ext/gd/libgd/README gd_README > >-# Source is built twice: once for /usr/bin/php, once for the Apache DSO. >-mkdir build-cgi build-apache >+# Source is built trice: once for /usr/bin/php, once for the Apache DSO >+# and once for inclusion as embedded script language into other programs >+mkdir build-cgi build-apache build-embedded > > # Remove bogus test; position of read position after fopen(, "a+") > # is not defined by C standard, so don't presume anything. >@@ -521,6 +535,17 @@ > --disable-json > popd > >+# Build for inclusion as embedded script language into applications, >+# /usr/lib[64]/libphp5.so >+pushd build-embedded >+build --enable-embed \ >+ --without-mysql --without-gd \ >+ --without-odbc --disable-dom \ >+ --disable-dba --without-unixODBC \ >+ --disable-pdo --disable-xmlreader --disable-xmlwriter \ >+ --disable-json >+popd >+ > %check > cd build-apache > # Run tests, using the CLI SAPI >@@ -547,6 +572,9 @@ > # Install the Apache module > make -C build-apache install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT > >+# Install the version for embedded script language in applications >+make -C build-embedded install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT >+ > # Install the default configuration file and icons > install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ > install -m 644 $RPM_SOURCE_DIR/php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini >@@ -659,6 +687,11 @@ > %{_mandir}/man1/phpize.1* > %config %{_sysconfdir}/rpm/macros.php > >+%files embedded >+%defattr(-,root,root,-) >+%{_libdir}/libphp5.so >+%{_libdir}/libphp5-%{version}.so >+ > %files pgsql -f files.pgsql > %files mysql -f files.mysql > %files odbc -f files.odbc >@@ -680,6 +713,10 @@ > %files mssql -f files.mssql > > %changelog >+* Fri Aug 10 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-7 >+- add php-embedded sub-package, PHP build embedable as script language for >+ applications >+ > * Fri Aug 10 2007 Joe Orton <jorton@redhat.com> 5.2.3-6 > - fix build with new glibc > - fix License
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251520
:
160984
|
160985
|
161075
| 161076