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:08:47
Branch: OPENPKG_2_STABLE Handle: 2006112807084700
Added files: (Branch: OPENPKG_2_STABLE)
openpkg-src/gnupg gnupg.patch
Modified files: (Branch: OPENPKG_2_STABLE)
openpkg-src/gnupg gnupg.spec
Log:
MFC: Security Fix
Summary:
Revision Changes Path
1.7.2.1 +16 -0 openpkg-src/gnupg/gnupg.patch
1.62.2.4 +4 -2 openpkg-src/gnupg/gnupg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/gnupg/gnupg.patch
============================================================================
$ cvs diff -u -r0 -r1.7.2.1 gnupg.patch
--- /dev/null 2006-11-28 08:08:16 +0100
+++ gnupg.patch 2006-11-28 08:08:47 +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.62.2.3 -r1.62.2.4 gnupg.spec
--- openpkg-src/gnupg/gnupg.spec 16 Oct 2006 14:50:36 -0000 1.62.2.3
+++ openpkg-src/gnupg/gnupg.spec 28 Nov 2006 07:08:47 -0000 1.62.2.4
@@ -30,10 +30,10 @@
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: BASE
-Group: Cryptography
+Group: PGP
License: GPL
Version: 1.4.5
-Release: 2.20061018
+Release: 2.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]