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: 01-Nov-2006 12:45:40
Branch: HEAD Handle: 2006110111453901
Added files:
openpkg-src/pks pks.patch
Modified files:
openpkg-src/pks pks.spec
Log:
add a bugfix for GPG keys (taken over from upstream CVS)
Summary:
Revision Changes Path
1.1 +15 -0 openpkg-src/pks/pks.patch
1.37 +3 -1 openpkg-src/pks/pks.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/pks/pks.patch
============================================================================
$ cvs diff -u -r0 -r1.1 pks.patch
--- /dev/null 2006-11-01 12:45:14 +0100
+++ pks.patch 2006-11-01 12:45:40 +0100
@@ -0,0 +1,15 @@
+Index: pgputil.c
+--- pgputil.c.orig 2003-01-26 17:08:58 +0100
++++ pgputil.c 2006-11-01 12:22:32 +0100
+@@ -121,6 +121,11 @@
+ if (!decode_num(data, 2, &(mpi->nbits)))
+ return(0);
+
++ /* skip packets with 0-length MPIs for GPG's benefit (gnupg-1.4.2) */
++ if (mpi->nbits == 0) {
++ return (0);
++ }
++
+ return(decode_bytestr(data, (mpi->nbits+7)/8, &(mpi->number)));
+ }
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/pks/pks.spec
============================================================================
$ cvs diff -u -r1.36 -r1.37 pks.spec
--- openpkg-src/pks/pks.spec 13 Oct 2006 17:32:40 -0000 1.36
+++ openpkg-src/pks/pks.spec 1 Nov 2006 11:45:40 -0000 1.37
@@ -33,7 +33,7 @@
Group: Cryptography
License: GPL
Version: 0.9.6
-Release: 20061013
+Release: 20061101
# package options
%option with_fsl yes
@@ -46,6 +46,7 @@
Source4: pks-mail.c
Source5: pks.html
Source6: pks-apache.conf
+Patch0: pks.patch
# build information
Prefix: %{l_prefix}
@@ -72,6 +73,7 @@
%prep
%setup -q
+ %patch -p0
%build
# configure and build programs
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]