Bug 5099 - imap source is unnecessarily include on php
imap source is unnecessarily include on php
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: mod_php3 (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-13 02:57 EDT by carenas
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-01-13 21:10:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description carenas 1999-09-13 02:57:21 EDT
full imap source is included on php source for imap support,
all what is really needed is c-client.a and the include
files for c-client.  Both could be on a -devel package from
imap (bug 5098)

when this imap-devel package is used, the imap source could
be taked out, and will be replaced with the following

from the php-3.0.12-4's spec (the lines that had changed are
 listed below)

#Source2: imap-4.5.tar.Z
#Patch1:    imap-4.4-vfs.patch
#Patch2:    imap-4.5-linux.patch
#Patch3:    imap-4.5-redhat.patch

%package imap
BuildPrereq: imap-devel

%prep
%setup -q -n php-%{version}

%build
#cd imap-4.5
#make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" lnp
#cd ..

# IMAP module
perl -pi -e 's/HAVE_IMAP 0/HAVE_IMAP 1/g' config.h
gcc -shared -fPIC -DCOMPILE_DL=1 -I. -I/usr/include/apache \
        -I/usr/include/imap -o imap.so ./functions/imap.c \
        /usr/lib/c-client.a -lc
Comment 1 Preston Brown 2000-01-13 21:10:59 EST
changed for next release.

Note You need to log in before you can comment on or make changes to this bug.