[Lunar-commits] <moonbase> exim: enable possibility for clamav integration

Auke Kok sofar at foo-projects.org
Fri Mar 14 21:49:03 CET 2008


commit e2b06d8565661ddef576cb970747fe21c6e8a187
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Fri Mar 14 21:49:03 2008 +0100

    exim: enable possibility for clamav integration
---
 mail/exim/BUILD     |    6 +++++-
 mail/exim/CONFIGURE |    2 +-
 mail/exim/DETAILS   |    2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/mail/exim/BUILD b/mail/exim/BUILD
index 8749e40..07b403a 100644
--- a/mail/exim/BUILD
+++ b/mail/exim/BUILD
@@ -15,7 +15,11 @@
     grep -v "EXIM_MONITOR=" src/EDITME > Local/Makefile
   fi
 
-  if module_installed tcp_wrappers ; then
+  if [ "$USE_SCANNING" == "y" ]; then
+     echo "WITH_CONTENT_SCAN=yes" >> Local/Makefile
+  fi
+
+if module_installed tcp_wrappers ; then
     echo "USE_TCP_WRAPPERS=yes" >> Local/Makefile
     echo "EXTRALIBS=-lwrap"     >> Local/Makefile
   fi
diff --git a/mail/exim/CONFIGURE b/mail/exim/CONFIGURE
index 2125a39..a16fea2 100644
--- a/mail/exim/CONFIGURE
+++ b/mail/exim/CONFIGURE
@@ -12,4 +12,4 @@ fi
 
 mquery IDENT_QUERIES "enable ident queries? [not recommended]" n
 mquery USE_X11   "Build exim monitor with x11 ?" y
-
+mquery USE_SCANNING     "Enable content scanning at acl time (clamav support)?" y
diff --git a/mail/exim/DETAILS b/mail/exim/DETAILS
index ebd48ef..b43dbab 100644
--- a/mail/exim/DETAILS
+++ b/mail/exim/DETAILS
@@ -7,7 +7,7 @@
       SOURCE_VFY=sha1:321e238b6e6b32498110511ce72a911538305a39
         WEB_SITE=http://www.exim.org
          ENTERED=20030923
-         UPDATED=20071221
+         UPDATED=20080314
       MAINTAINER=tchan at lunar-linux.org
            SHORT="Email server"
            PSAFE=no


More information about the Lunar-commits mailing list