ports/core (2.3): exim: added openssl patch
commit 93e36585743921aaddbccd97d68810347893b6f6 Author: Simone Rota <sip@crux.nu> Date: Wed Feb 28 20:41:58 2007 +0000 exim: added openssl patch diff --git a/exim/.md5sum b/exim/.md5sum index 1294ce0..fb0cd18 100644 --- a/exim/.md5sum +++ b/exim/.md5sum @@ -1,3 +1,4 @@ f1682811a7fd2897153c5b0e33177509 exim 01288e44919d8abdde5a7bd2c200449b exim-4.66.tar.bz2 f9edb79bd90e2b6e8233b2ef26e95aa9 exim-config.patch +600d6448d11289c479da7a7ce600ce31 exim-openssl.patch diff --git a/exim/Pkgfile b/exim/Pkgfile index 5aac9a7..befb31b 100644 --- a/exim/Pkgfile +++ b/exim/Pkgfile @@ -5,13 +5,14 @@ name=exim version=4.66 -release=1 +release=2 source=(ftp://ftp.exim.org/pub/exim/exim4/$name-$version.tar.bz2 \ - $name $name-config.patch) + $name $name-config.patch $name-openssl.patch) build() { cd $name-$version + patch -p1 < ../$name-openssl.patch sed "s/#CFLAGS#/$CFLAGS/" $SRC/$name-config.patch | patch -p1 cp src/EDITME Local/Makefile diff --git a/exim/exim-openssl.patch b/exim/exim-openssl.patch new file mode 100644 index 0000000..5d7e209 --- /dev/null +++ b/exim/exim-openssl.patch @@ -0,0 +1,17 @@ +diff -Nru exim-4.66.orig/src/tls-openssl.c exim-4.66/src/tls-openssl.c +--- exim-4.66.orig/src/tls-openssl.c 2007-02-28 20:33:35.527246099 +0000 ++++ exim-4.66/src/tls-openssl.c 2007-02-28 20:34:47.751361917 +0000 +@@ -343,8 +343,11 @@ + /* Set up the information callback, which outputs if debugging is at a suitable + level. */ + +-if (!(SSL_CTX_set_info_callback(ctx, (void (*)())info_callback))) +- return tls_error(US"SSL_CTX_set_info_callback", host); ++/* if (!(SSL_CTX_set_info_callback(ctx, (void (*)())info_callback))) ++ return tls_error(US"SSL_CTX_set_info_callback", host); */ ++ ++SSL_CTX_set_info_callback(ctx, (void (*)())info_callback); ++ + + /* The following patch was supplied by Robert Roselius */ +
participants (1)
-
crux@crux.nu