Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62246 - mod_php zip support
Summary: mod_php zip support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 84756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-30 07:58 UTC by Alex V. Koval
Modified: 2005-03-15 09:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
php-sapi.eclass.patch_zip_support (php-sapi.eclass.patch_zip_support,1007 bytes, patch)
2004-08-30 08:23 UTC, Alex V. Koval
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex V. Koval 2004-08-30 07:58:15 UTC
developer asked to provide him with mod_php with enabled --with-zip support as compilation option

Reproducible: Always
Steps to Reproduce:
1. equery uses mod_php
2.
3.



Expected Results:  
1. should be possibility to turn on zip support, possible with 'zip' flag


This fixes the problem:

--- php-sapi.eclass     2004-08-30 16:10:02.701556552 +0100
+++ /usr/portage/eclass/php-sapi.eclass 2004-08-22 02:08:15.000000000 +0100
@@ -63,7 +63,7 @@
 # berkdb stuff is complicated
 # we need db-1.* for ndbm
 # and then either of db3 or db4
-IUSE="${IUSE} berkdb zip"
+IUSE="${IUSE} berkdb"
 RDEPEND="${RDEPEND} berkdb? ( =sys-libs/db-1* 
                                                          || (
>=sys-libs/db-4.0.14-r2 
                                                                  
>=sys-libs/db-3.2.9-r9
@@ -106,7 +106,6 @@
    xml2? ( dev-libs/libxml2 >=dev-libs/libxslt-1.0.30 )
    truetype? ( =media-libs/freetype-2* =media-libs/freetype-1* 
                media-libs/t1lib )
-   zip? ( dev-libs/zziplib )
    >=net-libs/libwww-5.3.2
    >=app-text/sablotron-0.97
    dev-libs/expat
@@ -410,9 +409,6 @@
                && myconf="${myconf} --enable-dbx" \
                || myconf="${myconf} --disable-dbx"
 
-       use zip && \
-               myconf="${myconf} --with-zip"
-
        use imap && use ssl && \
        if [ -n "`strings ${ROOT}/usr/lib/c-client.a 2>/dev/null | grep
ssl_onceonlyinit`" ]; then
                myconf="${myconf} --with-imap-ssl"
Comment 1 Alex V. Koval 2004-08-30 08:23:24 UTC
Created attachment 38510 [details, diff]
php-sapi.eclass.patch_zip_support

Sorry, patch posted in description is Reverse patch for the same. Now I made
normal patch with option diff -u old_file new_file and submitting now (hope
flags are Ok, at least they are human readable)
Comment 2 bastian voigt 2004-11-20 17:55:26 UTC
it appears the patch was still not applied.. why not?
Comment 3 Alex V. Koval 2005-01-04 06:23:04 UTC
Hi people,

I do not see any progress during 4 months.

All this time, every time when mod_php upgraded, I have to apply patch manually, what is not very convinient way.

How can I help with processing this patch to the main portage tree?

Alex
Comment 4 Sebastian Bergmann (RETIRED) gentoo-dev 2005-03-15 09:30:48 UTC
*** Bug 84756 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-03-15 09:35:50 UTC
PHP's zip extension has been moved to PECL (http://pecl.php.net/).

Please "emerge dev-php/PECL-zip" to get the zip extension.