OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 10-Oct-2007 00:34:07
Branch: HEAD Handle: 2007100923340400
Modified files:
openpkg-src/exim exim.spec
Log:
add support for external authentication mechanisms using the Cyrus
SASL library
Summary:
Revision Changes Path
1.113 +12 -1 openpkg-src/exim/exim.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/exim/exim.spec
============================================================================
$ cvs diff -u -r1.112 -r1.113 exim.spec
--- openpkg-src/exim/exim.spec 30 Aug 2007 17:23:24 -0000 1.112
+++ openpkg-src/exim/exim.spec 9 Oct 2007 22:34:04 -0000 1.113
@@ -33,11 +33,12 @@
Group: Mail
License: GPL
Version: 4.68
-Release: 20070830
+Release: 20071010
# package options
%option with_auth_cram_md5 no
%option with_auth_plaintext no
+%option with_auth_sasl no
%option with_content_scan no
%option with_dlfunc no
%option with_ipv6 no
@@ -64,6 +65,10 @@
PreReq: OpenPKG, openpkg >= 20060823, perl, gzip
BuildPreReq: db >= 4.1.24, libiconv
PreReq: db >= 4.1.24, libiconv
+%if "%{with_auth_sasl}" == "yes"
+BuildPreReq: sasl
+PreReq: sasl
+%endif
%if "%{with_dlfunc}" == "yes"
BuildPreReq: gcc
%endif
@@ -187,6 +192,12 @@
# move frozen mails out of the main spool directory
echo 'SUPPORT_MOVE_FROZEN_MESSAGES=yes'
+ # support for external AUTH mechanisms
+%if "%{with_auth_sasl}" == "yes"
+ echo 'AUTH_CYRUS_SASL=yes'
+ echo 'AUTH_LIBS=%{l_ldflags} -lsasl2'
+%endif
+
# AUTH extensions of the SMTP as defined by RFC 2554
%if "%{with_auth_cram_md5}" == "yes"
echo 'AUTH_CRAM_MD5=yes'
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]