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:07:33
Branch: HEAD Handle: 2006112807073300
Added files:
openpkg-src/gnupg gnupg.patch
Modified files:
openpkg-src/gnupg gnupg.spec
Log:
Security Fix
Summary:
Revision Changes Path
1.8 +16 -0 openpkg-src/gnupg/gnupg.patch
1.67 +3 -1 openpkg-src/gnupg/gnupg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gnupg/gnupg.patch
============================================================================
$ cvs diff -u -r0 -r1.8 gnupg.patch
--- /dev/null 2006-11-28 08:05:40 +0100
+++ gnupg.patch 2006-11-28 08:07:33 +0100
@@ -0,0 +1,16 @@
+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/gnupg/gnupg.spec
============================================================================
$ cvs diff -u -r1.66 -r1.67 gnupg.spec
--- openpkg-src/gnupg/gnupg.spec 13 Nov 2006 18:10:00 -0000 1.66
+++ openpkg-src/gnupg/gnupg.spec 28 Nov 2006 07:07:33 -0000 1.67
@@ -33,7 +33,7 @@
Group: PGP
License: GPL
Version: 1.4.5
-Release: 20061113
+Release: 20061128
# package options
%option with_curl no
@@ -43,6 +43,7 @@
# list of sources
Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.gz
Source1: ftp://ftp.gnupg.dk/pub/contrib-dk/idea.c.gz
+Patch0: gnupg.patch
# build information
Prefix: %{l_prefix}
@@ -79,6 +80,7 @@
%prep
%setup -q
+ %patch -p0
%if "%{with_idea}" == "yes"
%{l_gzip} -d -c %{SOURCE idea.c.gz} >cipher/idea.c
%endif
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]