OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   05-Aug-2007 20:46:02
  Branch: HEAD                             Handle: 2007080519460200

  Modified files:
    openpkg-src/mutt        mutt.spec

  Log:
    add SASL support; make POP, IMAP, SMTP and SSL optional features

  Summary:
    Revision    Changes     Path
    1.95        +28 -4      openpkg-src/mutt/mutt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mutt/mutt.spec
  ============================================================================
  $ cvs diff -u -r1.94 -r1.95 mutt.spec
  --- openpkg-src/mutt/mutt.spec        5 Aug 2007 18:14:23 -0000       1.94
  +++ openpkg-src/mutt/mutt.spec        5 Aug 2007 18:46:02 -0000       1.95
  @@ -41,6 +41,11 @@
   Release:      20070805
   
   #   build options
  +%option       with_pop       no
  +%option       with_imap      no
  +%option       with_smtp      no
  +%option       with_sasl      no
  +%option       with_ssl       no
   %option       with_hcache    no
   %option       with_comp      no
   %option       with_nntp      no
  @@ -64,8 +69,16 @@
   BuildRoot:    %{l_buildroot}
   BuildPreReq:  OpenPKG, openpkg >= 20060622, make
   PreReq:       OpenPKG, openpkg >= 20060622
  -BuildPreReq:  openssl, libidn, libiconv
  -PreReq:       openssl, libidn, libiconv
  +BuildPreReq:  libidn, libiconv
  +PreReq:       libidn, libiconv
  +%if "%{with_ssl}" == "yes"
  +BuildPreReq:  openssl
  +PreReq:       openssl
  +%endif
  +%if "%{with_sasl}" == "yes"
  +BuildPreReq:  sasl
  +PreReq:       sasl
  +%endif
   %if "%{with_hcache}" == "yes"
   BuildPreReq:  qdbm
   PreReq:       qdbm
  @@ -187,10 +200,21 @@
   %else
           --with-slang=%{l_prefix} \
   %endif
  -        --with-ssl=%{l_prefix} \
  +%if "%{with_pop}" == "yes"
           --enable-pop \
  +%endif
  +%if "%{with_imap}" == "yes"
           --enable-imap \
  +%endif
  +%if "%{with_smtp}" == "yes"
           --enable-smtp \
  +%endif
  +%if "%{with_sasl}" == "yes"
  +        --with-sasl=%{l_prefix} \
  +%endif
  +%if "%{with_ssl}" == "yes"
  +        --with-ssl=%{l_prefix} \
  +%endif
   %if "%{with_hcache}" == "yes"
           --enable-hcache \
           --with-qdbm=%{l_prefix} \
  @@ -204,8 +228,8 @@
           --enable-pgp \
           --enable-smime \
           --enable-buffy-size \
  -        --disable-warnings \
           --with-iconv \
  +        --disable-warnings \
           --disable-nls \
           $options
   
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to