Browse Source

upgrading package: texinfo 4.9 -> 4.11

Ralf S. Engelschall 18 years ago
parent
commit
6991c846ff
2 changed files with 2 additions and 47 deletions
  1. 0 42
      texinfo/texinfo.patch
  2. 2 5
      texinfo/texinfo.spec

+ 0 - 42
texinfo/texinfo.patch

@@ -1,42 +0,0 @@
-Security Bugfixes (CVE-2005-3011, CVE-2006-4810)
-
-Index: util/texindex.c
---- util/texindex.c.orig	2004-04-11 19:56:47 +0200
-+++ util/texindex.c	2006-11-14 23:39:23 +0100
-@@ -390,11 +390,12 @@
- maketempname (int count)
- {
-   static char *tempbase = NULL;
-+  char *tempname;
-   char tempsuffix[10];
-+  int fd;
- 
-   if (!tempbase)
-     {
--      int fd;
-       tempbase = concat (tempdir, "txidxXXXXXX");
- 
-       fd = mkstemp (tempbase);
-@@ -403,7 +404,12 @@
-     }
- 
-   sprintf (tempsuffix, ".%d", count);
--  return concat (tempbase, tempsuffix);
-+  tempname = concat (tempbase, tempsuffix);
-+  fd = open (tempname, O_CREAT|O_EXCL|O_WRONLY, 0600);
-+  if (fd == -1)
-+    pfatal_with_name (tempname);
-+  close (fd);
-+  return tempname;
- }
- 
- 
-@@ -837,7 +843,7 @@
-         {
-           buffer = (char *) xrealloc (buffer, linebuffer->size *= 2);
-           p += buffer - linebuffer->buffer;
--          end += buffer - linebuffer->buffer;
-+          end = buffer + linebuffer->size;
-           linebuffer->buffer = buffer;
-         }
-       if (c < 0 || c == '\n')

+ 2 - 5
texinfo/texinfo.spec

@@ -32,12 +32,11 @@ Distribution: OpenPKG Community
 Class:        BASE
 Group:        Typesetting
 License:      GPL
-Version:      4.9
-Release:      20070805
+Version:      4.11
+Release:      20070911
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.bz2
-Patch0:       texinfo.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -64,8 +63,6 @@ AutoReqProv:  no
 
 %prep
     %setup -q
-    %patch -p0
-    chmod u+x install-sh
 
 %build
     CC="%{l_cc}" \