Package: ssmtp
Version: 2.64-4
Owner: Raymes Khoury <raymes.kho...@gmail.com>
Tags: patch

On Thu, Sep 16, 2010 at 05:21:57PM -0700, Raymes Khoury wrote:
>Hi,
>
>I just filed a bug on gentoo bugzilla but this should be upstreamed.
>Please refer to: https://bugs.gentoo.org/show_bug.cgi?id=337730
>
>Thanks,
>
>Raymes

Raymes, thank you for the patch below.

diff -ru ssmtp/configure ssmtp.patched/configure
--- ssmtp/configure     2010-09-16 17:10:00.000000000 -0700
+++ ssmtp.patched/configure     2010-09-16 17:09:11.000000000 -0700
@@ -4420,7 +4420,7 @@
 #define HAVE_SSL 1
 _ACEOF
 
-       LIBS="$LIBS -lssl"
+       LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""
 
diff -ru ssmtp/configure.in ssmtp.patched/configure.in
--- ssmtp/configure.in  2010-09-16 17:09:51.000000000 -0700
+++ ssmtp.patched/configure.in  2010-09-16 17:09:11.000000000 -0700
@@ -52,7 +52,7 @@
 [  --enable-ssl           support for secure connection to mail server])
 if test x$enableval = xyes ; then
        AC_DEFINE(HAVE_SSL)
-       LIBS="$LIBS -lssl"
+       LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""
 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to