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 160984 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.30 KB, created by
Hans de Goede
on 2007-08-09 15:09:14 UTC
(
hide
)
Description:
specfile patch implementing an embedded subpackage
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-08-09 15:09:14 UTC
Size:
3.30 KB
patch
obsolete
>Index: php.spec >=================================================================== >RCS file: /cvs/extras/rpms/php/devel/php.spec,v >retrieving revision 1.143 >diff -u -r1.143 php.spec >--- php.spec 16 Jul 2007 06:05:06 -0000 1.143 >+++ php.spec 9 Aug 2007 15:07:40 -0000 >@@ -6,7 +6,7 @@ > Summary: The PHP HTML-embedded scripting language > Name: php > Version: 5.2.3 >-Release: 5 >+Release: 6 > License: The PHP License v3.01 > 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-libdir.patch > > # Fixes for extension modules > Patch21: php-4.3.1-odbc.patch >@@ -331,6 +332,15 @@ > 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} >+ >+%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 >@@ -338,6 +348,7 @@ > %patch3 -p1 -b .norpath > %patch5 -p1 -b .phpize64 > %patch8 -p1 -b .includedir >+%patch9 -p1 -b .embed-libdir > > %patch21 -p1 -b .odbc > %patch22 -p1 -b .shutdown >@@ -355,8 +366,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. >@@ -519,6 +531,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 >@@ -545,6 +568,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 >@@ -657,6 +683,10 @@ > %{_mandir}/man1/phpize.1* > %config %{_sysconfdir}/rpm/macros.php > >+%files embedded >+%defattr(-,root,root,-) >+%{_libdir}/libphp5.so >+ > %files pgsql -f files.pgsql > %files mysql -f files.mysql > %files odbc -f files.odbc >@@ -678,6 +708,10 @@ > %files mssql -f files.mssql > > %changelog >+* Tue Aug 7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 5.2.3-6 >+- add php-embedded sub-package, PHP build embedable as script language for >+ applications >+ > * Mon Jul 16 2007 Joe Orton <jorton@redhat.com> 5.2.3-5 > - define php_extdir in macros.php >
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