[Lunar-commits] <moonbase-other> exim: Added TLS/SSL optional dependency

v4hn me at v4hn.de
Sun Oct 28 15:36:53 CET 2012


commit 559996f630c4ec6b924e8f1af387032b4569a752
Author: Alexander Lindemann <z3r03nna at antiniveau.dyndns.org>
Date: Sun, 28 Oct 2012 07:36:53 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/559996f630c4ec6b924e8f1af387032b4569a752

exim: Added TLS/SSL optional dependency
---
  mail/exim/BUILD   | +12/-0    
  mail/exim/DEPENDS | +1/-0     
  2 files changed, 13 insertions(+)

--- a/mail/exim/BUILD
+++ b/mail/exim/BUILD
@@ -39,6 +39,18 @@ if module_installed tcp_wrappers ; then
     echo  "LOOKUP_LIBS=-lmysqlclient"            >>  Local/Makefile
   fi
 
+ if  module_installed  openssl;  then
+    echo  "SUPPORT_TLS=yes"                     >>  Local/Makefile
+    echo  "USE_OPENSSL_PC=openssl"              >>  Local/Makefile
+ fi
+
+ if  module_installed  gnutls;  then
+    echo  "SUPPORT_TLS=yes"                     >>  Local/Makefile
+    echo  "USE_GNUTLS=yes"                      >>  Local/Makefile
+    echo  "USE_GNUTLS_PC=gnutls"                >>  Local/Makefile
+ fi
+
+
   echo  "EXIM_USER=mail"                   >>  Local/Makefile
   echo  "BIN_DIRECTORY=/usr/sbin"          >>  Local/Makefile
   echo  "CONFIGURE_FILE=/etc/exim.conf"    >>  Local/Makefile
--- a/mail/exim/DEPENDS
+++ b/mail/exim/DEPENDS
@@ -4,3 +4,4 @@ depends gawk
 optional_depends %CROND "" "" "to periodically attempt to resend undelivered mail"
 optional_depends mysql ""  ""  "for mysql lookup tables"
 optional_depends %X "" "" "Build exim monitor with x11 support"
+optional_depends %SSL "" "" "for SSl/TLS-encryption support"




More information about the Lunar-commits mailing list