Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11714 - mod_php and php dont play well with imap
Summary: mod_php and php dont play well with imap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 05:09 UTC by Jelle Kalf
Modified: 2003-04-07 23:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelle Kalf 2002-12-07 05:09:46 UTC
mod_php and php have a broken imap checker. I have the requested type of imap
installed <uw-imap> but when emerging imap it always gives me no imap support.

The the moment I've hacked my ebuild to support it anywayz, but can you check
into it, It's real nasty on my webserver when I do a "emerge -u world" just to
find out that my webmail service to my clients isn't working anymore.


THANX.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-12-27 12:30:47 UTC
Jelle: Can you show me how you tweak your ebuild?
Comment 2 Jelle Kalf 2002-12-27 12:59:26 UTC
Sure, NP:

I tweaked both the mod_php and the php file similar. I skipped all the tests
because I had installed both imap and ssl, so I needed no imap or ssl testing.

this was with modphp-4.2.3-r1.ebuild:

------------------------
DEPEND="
        >=net-www/apache-1.3.26-r2
        imap? ( >=net-mail/uw-imap-2001a )

and I skipped the entire imap checking by just hardlining in:
myconf="${myconf}  --with-imap --with-imap-ssl"
---------------------------------------

I think it's DEPEND section that's broken. It doesn't recognize uw-imap-2001a or
uw-imap-2001a-r1 or r2 is installed..
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2002-12-31 13:11:25 UTC
gotcha... I'll add the functionality
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2003-01-06 12:20:41 UTC
should be fixed
Comment 5 Jelle Kalf 2003-01-12 05:13:47 UTC
Re-opening the bug. After checking with version 4.3.0-r2.ebuild it didn't work.
Not working in php-4.3.0-r2.ebuild as in mod_php-4.3.0-r2.ebuild.

The depend part does not recognize imap installed on the machine. Here is where
it goes wrong:

DEPEND="
    imap? ( >=net-mail/uw-imap-2001a-r1 )"

Depend does NOT recognise my installation of either uw-imap-2001a-r1 or
uw-imap-2001a-r2 <which I have installed atm>.


Again I've hardlined the myconf statement, but I'll try working on it this week
to find a solution to the depend part as well, I'll hope you work with me. This
is reall anoying when I'm upgrading my stable php packages and my webmail stops
working. It really pisses my clients off :(
Comment 6 Jelle Kalf 2003-03-12 13:31:55 UTC
It still doesn't resolve your IMAP support right, but I found another temporary fix:

put imap in the USE line of the /etc/make.conf
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-03 01:03:43 UTC
I think 'imap' in the USE flags should be the actual solution to this. Do you agree Jelle and Ryan ?
Comment 8 Jelle Kalf 2003-04-03 01:21:10 UTC
Yes, see my comment of the 12th of march :)

if you set imap in your USE="" line then it will work. <Same goes for ipv6 support :) >
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-04-07 23:56:00 UTC
Ok, great.
this bug is now resolved.