On 12/11/10 19:09, Lena ÎÁ lena.kiev.ua wrote:
> úÁËÌÀÞÅÎÉÅ ÐÏ ÜÔÏÊ ÕÑÚ×ÉÍÏÓÔÉ:
> http://www.exim.org/lurker/message/20101210.164935.385e04d0.en.html
> ôÏ ÅÓÔØ Õ ËÏÇÏ Exim 4.69 ÉÌÉ ÍÅÎØÛÅ, ÔÏ ÓÒÏÞÎÏ ÎÕÖÎÏ ÁÐÇÒÅÊÄÉÔØ ÉÌÉ ÐÁÔÞÉÔØ.
>
> õ ÍÅÎÑ ÔÏÌØËÏ ÏÄÉÎ ÆÁÊÌ ËÏÎÆÉÇÁ Exim, ÐÏÜÔÏÍÕ
> ÎÁ ×ÓÑËÉÊ ÓÌÕÞÁÊ Ñ ÐÅÒÅËÏÍÐÉÌÉÒÏ×ÁÌÁ Exim 4.72 (× FreeBSD), ÄÁ× ËÏÍÁÎÄÕ
> make clean patch, ÚÁÔÅÍ ÒÁÓËÏÍÍÅÎÔÉÒÏ×Á× × ÆÁÊÌÅ
> /usr/ports/mail/exim/work/exim-4.72/src/EDITME
> ÓÔÒÏËÕ
> # ALT_CONFIG_ROOT_ONLY=yes
> É ÚÁÔÅÍ make all deinstall reinstall clean
äÌÑ pkgsrc ÔÁËÏÊ ÐÁÔÞÉË Õ ÍÅÎÑ ÅÓÔØ (ÔÏ, ÞÔÏ ÐÒÏ cyrus-sasl, Ë ÄÅÌÕ 
ÏÔÎÏÛÅÎÉÑ ÎÅ ÉÍÅÅÔ, ÌÅÎØ ×ÙÒÅÚÁÔØ ÐÒÏÓÔÏ):
--- options.mk.orig     2010-12-11 19:44:04.000000000 +0300
+++ options.mk  2010-12-10 20:53:44.000000000 +0300
@@ -8,15 +8,35 @@
  PKG_SUPPORTED_OPTIONS+=       exim-lookup-pgsql exim-lookup-sqlite 
exim-lookup-whoson
  PKG_SUPPORTED_OPTIONS+=       exim-old-demime exim-router-iplookup 
exim-tcp-wrappers
  PKG_SUPPORTED_OPTIONS+=       exim-tls exim-transport-lmtp gdbm inet6 
saslauthd spf
-PKG_SUPPORTED_OPTIONS+=        readline
+PKG_SUPPORTED_OPTIONS+=        readline exim-auth-cyrus-sasl
+PKG_SUPPORTED_OPTIONS+=        alt-config-prefix alt-config-root-only 
disable-d-option

  PKG_SUGGESTED_OPTIONS=        exim-appendfile-maildir 
exim-appendfile-mailstore
  PKG_SUGGESTED_OPTIONS+=       exim-appendfile-mbx exim-content-scan
  PKG_SUGGESTED_OPTIONS+=       exim-lookup-dsearch exim-old-demime 
exim-tcp-wrappers
-PKG_SUGGESTED_OPTIONS+=        exim-tls
+PKG_SUGGESTED_OPTIONS+=        exim-tls exim-auth-cyrus-sasl
+PKG_SUGGESTED_OPTIONS+=        alt-config-prefix alt-config-root-only 
disable-d-option

  .include "../../mk/bsd.options.mk"

+.if !empty(PKG_OPTIONS:Malt-config-prefix)
+LOCAL_MAKEFILE_OPTIONS+=ALT_CONFIG_PREFIX=${PKG_SYSCONFDIR}/configure
+.endif
+
+.if !empty(PKG_OPTIONS:Malt-config-root-only)
+LOCAL_MAKEFILE_OPTIONS+=ALT_CONFIG_ROOT_ONLY=yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mdisable-d-option)
+LOCAL_MAKEFILE_OPTIONS+=DISABLE_D_OPTION=yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mexim-auth-cyrus-sasl)
+LOCAL_MAKEFILE_OPTIONS+=AUTH_CYRUS_SASL=yes
+LOCAL_MAKEFILE_OPTIONS+=AUTH_LIBS=-lsasl2
+.  include "../../security/cyrus-sasl/buildlink3.mk"
+.endif
+
  .if !empty(PKG_OPTIONS:Mexim-appendfile-maildir)
  LOCAL_MAKEFILE_OPTIONS+=SUPPORT_MAILDIR=yes
  .endif

Ответить