Sfoglia il codice sorgente

upgrading upstream version from 1.0.6 to 1.0.7

Ralf S. Engelschall 24 anni fa
parent
commit
1f27a7e66a
2 ha cambiato i file con 3 aggiunte e 55 eliminazioni
  1. 0 50
      gnupg/gnupg-1.0.6.patch
  2. 3 5
      gnupg/gnupg.spec

+ 0 - 50
gnupg/gnupg-1.0.6.patch

@@ -1,50 +0,0 @@
---- include/ttyio.h.orig	Fri May 25 08:42:50 2001
-+++ include/ttyio.h	Fri Jun  8 22:12:12 2001
-@@ -24,7 +24,7 @@
- #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
-  void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
- #else
-- void tty_printf  const char *fmt, ... );
-+ void tty_printf (const char *fmt, ... );
- #endif
- void tty_print_string( byte *p, size_t n );
- void tty_print_utf8_string( byte *p, size_t n );
---- zlib/infblock.c	Mon Jun  8 19:06:16 1998
-+++ zlib/infblock.c	Mon Mar 11 14:16:01 2002
-@@ -249,10 +249,12 @@
-                              &s->sub.trees.tb, s->hufts, z);
-       if (t != Z_OK)
-       {
--        ZFREE(z, s->sub.trees.blens);
-         r = t;
-         if (r == Z_DATA_ERROR)
-+        {
-+          ZFREE(z, s->sub.trees.blens);
-           s->mode = BAD;
-+        }
-         LEAVE
-       }
-       s->sub.trees.index = 0;
-@@ -313,11 +315,13 @@
-         t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
-                                   s->sub.trees.blens, &bl, &bd, &tl, &td,
-                                   s->hufts, z);
--        ZFREE(z, s->sub.trees.blens);
-         if (t != Z_OK)
-         {
-           if (t == (uInt)Z_DATA_ERROR)
-+          {
-+            ZFREE(z, s->sub.trees.blens);
-             s->mode = BAD;
-+          }
-           r = t;
-           LEAVE
-         }
-@@ -329,6 +333,7 @@
-         }
-         s->sub.decode.codes = c;
-       }
-+      ZFREE(z, s->sub.trees.blens);
-       s->mode = CODES;
-     case CODES:
-       UPDATE

+ 3 - 5
gnupg/gnupg.spec

@@ -32,12 +32,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Cryptography
 License:      GPL
-Version:      1.0.6
-Release:      20020312
+Version:      1.0.7
+Release:      20020430
 
 #   list of sources
 Source0:      ftp://ftp.gnupg.org/pub/gcrypt/gnupg/gnupg-%{version}.tar.gz
-Patch0:       gnupg-%{version}.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -58,7 +57,6 @@ Provides:     OPENPGP
 
 %prep
     %setup -q 
-    %patch -p0
 
 %build
     PATH="%{l_prefix}/bin:$PATH"; export PATH
@@ -70,7 +68,7 @@ Provides:     OPENPGP
         --with-included-gettext \
         --disable-dynload \
         --disable-nls
-    %{l_make} %{l_mflags -O}
+    %{l_make} %{l_mflags}
 
 %install
     rm -rf $RPM_BUILD_ROOT