- Add a patch to correctly link in the c-client SSL authenticator,
so that [IMAP|POP3]-SSL works - PREFIX -> LOCALBASE where appropriate in Makefile
This commit is contained in:
parent
b3576b9c53
commit
260a58c48f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2001/02/28 15:05:54 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2001/03/06 09:04:30 avsm Exp $
|
||||
|
||||
# This port current only works with archs supporting dynamic loading
|
||||
ONLY_FOR_ARCHS= i386 m68k sparc
|
||||
@ -63,14 +63,14 @@ CONFIGURE_ARGS+= --without-gettext
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mimap}
|
||||
CONFIGURE_ARGS+= --with-imap=${PREFIX}
|
||||
CONFIGURE_ARGS+= --with-imap=${LOCALBASE} --with-imap-ssl=${LOCALBASE}
|
||||
LIB_DEPENDS+= c-client.2::mail/c-client
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-imap
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mldap}
|
||||
CONFIGURE_ARGS+= --with-ldap=${PREFIX}
|
||||
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
|
||||
LIB_DEPENDS+= ldap.2::databases/openldap
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ldap
|
||||
@ -99,7 +99,7 @@ CONFIGURE_ARGS+= --without-mm
|
||||
|
||||
.if ${FLAVOR:L:Mrecode}
|
||||
CONFIGURE_ARGS+= --with-recode
|
||||
BUILD_DEPENDS+= ${PREFIX}/lib/librecode.a::converters/recode
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/librecode.a::converters/recode
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-recode
|
||||
.endif
|
||||
@ -116,12 +116,12 @@ MAKE_FLAGS+= CFLAGS='${CFLAGS} -I${LOCALBASE}/include'
|
||||
LIB_DEPENDS+= gd.18::graphics/gd
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
CONFIGURE_ARGS+= --with-gd \
|
||||
--with-jpeg-dir=${PREFIX} \
|
||||
--with-jpeg-dir=${LOCALBASE} \
|
||||
--with-ttf
|
||||
.else
|
||||
USE_X11= yes
|
||||
CONFIGURE_ARGS+= --with-gd \
|
||||
--with-jpeg-dir=${PREFIX} \
|
||||
--with-jpeg-dir=${LOCALBASE} \
|
||||
--with-xpm-dir=${X11BASE} \
|
||||
--with-ttf
|
||||
.endif
|
||||
@ -130,8 +130,8 @@ CONFIGURE_ARGS+= --without-gd
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mpdflib}
|
||||
CONFIGURE_ARGS+= --with-pdflib=${PREFIX}
|
||||
BUILD_DEPENDS+= ${PREFIX}/lib/libpdf.a::print/pdflib
|
||||
CONFIGURE_ARGS+= --with-pdflib=${LOCALBASE}
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpdf.a::print/pdflib
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-pdflib
|
||||
.endif
|
||||
@ -149,7 +149,7 @@ CONFIGURE_ARGS+= --disable-filepro
|
||||
.endif
|
||||
|
||||
.if ${FLAVOR:L:Mmysql}
|
||||
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
|
||||
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
|
||||
LIB_DEPENDS+= mysqlclient.10::databases/mysql
|
||||
.if ${FLAVOR:L:Mmysql_bundled}
|
||||
.BEGIN:
|
||||
@ -171,7 +171,7 @@ CONFIGURE_ARGS+= --without-pgsql
|
||||
|
||||
.if ${FLAVOR:L:Miodbc}
|
||||
CONFIGURE_ARGS+= --with-iodbc
|
||||
BUILD_DEPENDS+= ${PREFIX}/lib/libiodbc.a::databases/iodbc
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libiodbc.a::databases/iodbc
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-iodbc
|
||||
.endif
|
||||
|
16
www/php4/patches/patch-ext_imap_php_imap_c
Normal file
16
www/php4/patches/patch-ext_imap_php_imap_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-ext_imap_php_imap_c,v 1.1 2001/03/06 09:04:31 avsm Exp $
|
||||
|
||||
This is a backport from PHP-4.0.5-dev to fix imap-ssl linking
|
||||
- avsm
|
||||
|
||||
--- ext/imap/php_imap.c.orig Tue Mar 6 08:19:18 2001
|
||||
+++ ext/imap/php_imap.c Tue Mar 6 08:20:11 2001
|
||||
@@ -411,6 +411,8 @@ PHP_MINIT_FUNCTION(imap)
|
||||
mail_link(&newsdriver); /* link in the news driver */
|
||||
mail_link(&philedriver); /* link in the phile driver */
|
||||
auth_link(&auth_log); /* link in the log authenticator */
|
||||
+ ssl_onceonlyinit ();
|
||||
+ auth_link (&auth_ssl); /* link in the ssl authenticator */
|
||||
#endif
|
||||
mail_link(&dummydriver); /* link in the dummy driver */
|
||||
#else
|
Loading…
x
Reference in New Issue
Block a user