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:   19-Feb-2006 09:14:29
  Branch: HEAD                             Handle: 2006021908142800

  Added files:
    openpkg-src/mutt        mutt.patch
  Modified files:
    openpkg-src/mutt        mutt.spec

  Log:
    Fix the 'sign as' function for SMIME with a patch taken over from the
    FreeBSD ports

  Summary:
    Revision    Changes     Path
    1.5         +11 -0      openpkg-src/mutt/mutt.patch
    1.70        +3  -1      openpkg-src/mutt/mutt.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mutt/mutt.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.5 mutt.patch
  --- /dev/null 2006-02-19 09:14:28 +0100
  +++ mutt.patch        2006-02-19 09:14:28 +0100
  @@ -0,0 +1,11 @@
  +Index: smime.c
  +--- smime.c.orig     2005-08-14 14:33:37 +0200
  ++++ smime.c  2006-02-19 09:11:56 +0100
  +@@ -1989,7 +1989,6 @@
  + 
  +     if ((p = smime_ask_for_key (_("Sign as: "), NULL, 0))) 
  +     {
  +-      p[mutt_strlen (p)-1] = '\0';
  +       mutt_str_replace (&SmimeDefaultKey, p);
  +     
  +       msg->security |= SIGN;
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/mutt/mutt.spec
  ============================================================================
  $ cvs diff -u -r1.69 -r1.70 mutt.spec
  --- openpkg-src/mutt/mutt.spec        28 Jan 2006 11:37:10 -0000      1.69
  +++ openpkg-src/mutt/mutt.spec        19 Feb 2006 08:14:28 -0000      1.70
  @@ -38,7 +38,7 @@
   Group:        Mail
   License:      BSD
   Version:      %{V_mutt}i
  -Release:      20060128
  +Release:      20060219
   
   #   build options
   %option       with_comp      no
  @@ -57,6 +57,7 @@
   Patch2:       
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt_patches}/patch-%{V_mutt_patches}.vvv.initials.gz
   Patch3:       
ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt_patches}/patch-%{V_mutt_patches}.vvv.quote.gz
   Patch4:       http://thomer.com/mutt/patch-%{V_mutt_patches_sidebar}.txt
  +Patch5:       mutt.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -144,6 +145,7 @@
   %if "%{with_sidebar}" == "yes"
       %patch -p1 -P 4
   %endif
  +    %patch -p0 -P 5
       %{l_shtool} subst \
           -e 's;\(Mutt/%%s\);\1 %{l_openpkg_release -F "OpenPKG/%%s"};' \
           sendlib.c
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to