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:   28-Nov-2006 08:11:10
  Branch: HEAD                             Handle: 2006112807111000

  Modified files:
    openpkg-src/gnupg2      gnupg2.patch gnupg2.spec

  Log:
    Security Fix

  Summary:
    Revision    Changes     Path
    1.2         +19 -0      openpkg-src/gnupg2/gnupg2.patch
    1.4         +1  -1      openpkg-src/gnupg2/gnupg2.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gnupg2/gnupg2.patch
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 gnupg2.patch
  --- openpkg-src/gnupg2/gnupg2.patch   15 Nov 2006 20:52:51 -0000      1.1
  +++ openpkg-src/gnupg2/gnupg2.patch   28 Nov 2006 07:11:10 -0000      1.2
  @@ -16,3 +16,22 @@
    ac_cv_search_dlopen=no
    cat >conftest.$ac_ext <<_ACEOF
    /* confdefs.h.  */
  +
  +-----------------------------------------------------------------------------
  +
  +Security Fix
  +http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html
  +
  +Index: g10/openfile.c
  +--- g10/openfile.c.orig      2006-07-31 16:00:19 +0200
  ++++ g10/openfile.c   2006-11-28 08:04:21 +0100
  +@@ -144,8 +144,8 @@
  + 
  +     s = _("Enter new filename");
  + 
  +-    n = strlen(s) + namelen + 10;
  +     defname = name && namelen? make_printable_string( name, namelen, 0): 
NULL;
  ++    n = strlen(s) + (defname ? strlen(defname) : 0) + 10;
  +     prompt = xmalloc(n);
  +     if( defname )
  +     sprintf(prompt, "%s [%s]: ", s, defname );
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/gnupg2/gnupg2.spec
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 gnupg2.spec
  --- openpkg-src/gnupg2/gnupg2.spec    16 Nov 2006 07:08:08 -0000      1.3
  +++ openpkg-src/gnupg2/gnupg2.spec    28 Nov 2006 07:11:10 -0000      1.4
  @@ -33,7 +33,7 @@
   Group:        PGP
   License:      GPL
   Version:      2.0.0
  -Release:      20061116
  +Release:      20061128
   
   #   package options
   %option       with_curl  yes
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to