OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 31-Jan-2005 21:45:07
Branch: HEAD Handle: 2005013120450501
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec tar.patch
Log:
apply three vendor bugfixes for GNU tar 1.15.1
Summary:
Revision Changes Path
1.239 +1 -0 openpkg-src/openpkg/HISTORY
1.391 +1 -1 openpkg-src/openpkg/openpkg.spec
1.5 +38 -2 openpkg-src/openpkg/tar.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.238 -r1.239 HISTORY
--- openpkg-src/openpkg/HISTORY 24 Jan 2005 14:46:23 -0000 1.238
+++ openpkg-src/openpkg/HISTORY 31 Jan 2005 20:45:05 -0000 1.239
@@ -2,6 +2,7 @@
2004
====
+20050131 apply three vendor bugfixes for GNU tar 1.15.1
20050124 upgrade from old config.guess/config.sub to newer versioned ones
(excluded in 2.2.3)
20050123 upgrade to OSSP uuid 1.2.0 (excluded in 2.2.3)
20050120 add support for Slackware 10.0 (excluded in 2.2.3)
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.390 -r1.391 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 24 Jan 2005 14:46:23 -0000 1.390
+++ openpkg-src/openpkg/openpkg.spec 31 Jan 2005 20:45:05 -0000 1.391
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20050124
+%define V_openpkg 20050131
# the used software versions
%define V_rpm 4.2.1
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/tar.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 tar.patch
--- openpkg-src/openpkg/tar.patch 22 Dec 2004 08:01:44 -0000 1.4
+++ openpkg-src/openpkg/tar.patch 31 Jan 2005 20:45:06 -0000 1.5
@@ -46,8 +46,8 @@
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
Index: src/tar.c
---- src/tar.c.orig 2004-12-18 21:01:07 +0100
-+++ src/tar.c 2004-12-20 20:01:54 +0100
+--- src/tar.c.orig 2004-12-21 15:11:26 +0100
++++ src/tar.c 2005-01-31 21:34:57 +0100
@@ -20,6 +20,7 @@
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
@@ -56,3 +56,39 @@
#include <fnmatch.h>
#include <argp.h>
+@@ -617,9 +618,9 @@
+
+ switch (key)
+ {
+- case 1:
++ case ARGP_KEY_ARG:
+ /* File name or non-parsed option, because of ARGP_IN_ORDER */
+- name_add (optarg);
++ name_add (arg);
+ args->input_files++;
+ break;
+
+Index: src/compare.c
+--- src/compare.c.orig 2004-09-06 13:30:29 +0200
++++ src/compare.c 2005-01-31 21:34:57 +0100
+@@ -327,7 +327,7 @@
+ size_t len = strlen (current_stat_info.link_name);
+ char *linkbuf = alloca (len + 1);
+
+- status = readlink (current_stat_info.file_name, linkbuf, len + 1);
++ status = readlink (current_stat_info.file_name, linkbuf, len);
+
+ if (status < 0)
+ {
+Index: src/create.c
+--- src/create.c.orig 2004-10-04 11:21:31 +0200
++++ src/create.c 2005-01-31 21:34:57 +0100
+@@ -1482,7 +1482,7 @@
+ if (linklen != st->stat.st_size || linklen + 1 == 0)
+ xalloc_die ();
+ buffer = (char *) alloca (linklen + 1);
+- size = readlink (p, buffer, linklen + 1);
++ size = readlink (p, buffer, linklen);
+ if (size < 0)
+ {
+ readlink_diag (p);
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]