The www/mod_php4 port does not work if the installed IMAP c-client does not contain IMAP/SSL-Support. It is normally not neccessary to have SSL enabled if the only accessed host is localhost. After restarting apache the symbol 'ssl_onceonlyinit' is not found. Fix: There should be the possibility to install this port without having an SSL-enabled c-client. How-To-Repeat: Just install it as described above.
Hi, I've been bitten by this too ;) You could use the following diff, or use the same define as cclient uses, WITHOUT_SSL instead of WITHOUT_IMAP_SSL. --- lang/php4/Makefile.orig Sat Jun 14 18:54:03 2003 +++ lang/php4/Makefile Sat Jun 14 18:55:06 2003 @@ -311,7 +311,11 @@ .if defined(WITH_IMAP) LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient +.if defined(WITHOUT_IMAP_SSL) +CONFIGURE_ARGS+=--with-imap=${LOCALBASE} +.else CONFIGURE_ARGS+=--with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE} +.endif .endif .if defined(WITH_INTERBASE)
Well, the practically correct but large ;) fix for this IMO would be below. The idea is to be prepared to build cclient non-interactively with or without SSL and with existing cclient installation. --- lang/php4/Makefile Sat Jun 7 20:45:10 2003 +++ lang/php4/Makefile Sat Jun 14 21:33:46 2003 @@ -311,7 +311,20 @@ .if defined(WITH_IMAP) LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient +.if !exists(${LOCALBASE}/lib/libc-client4.so) +.if defined(WITHOUT_SSL) +CONFIGURE_ARGS+=--with-imap=${LOCALBASE} +.else CONFIGURE_ARGS+=--with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE} +.endif +.else +WITH_IMAP_SSL!=/usr/bin/strings ${LOCALBASE}/lib/libc-client4.so | ${GREP} ssl_onceonlyinit || ${TRUE} +.if defined(WITH_IMAP_SSL) && empty(WITH_IMAP_SSL) +CONFIGURE_ARGS+=--with-imap=${LOCALBASE} +.else +CONFIGURE_ARGS+=--with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE} +.endif +.endif .endif .if defined(WITH_INTERBASE)
State Changed From-To: open->analyzed I'm waiting for maintainer's response.
Responsible Changed From-To: freebsd-ports-bugs->nork I'll handle this.
State Changed From-To: analyzed->closed Committed, thanks!