Browse Source

tar: Updated (1.28 -> 1.29)

tc-work-wip
Nagy Károly Gábriel 8 years ago
parent
commit
bdcaed9d37
Signed by: karasz GPG Key ID: C6BA1070A8CBDA0C
2 changed files with 3 additions and 66 deletions
  1. +0
    -63
      archiver/tar/tar-0001-fix-build-failure.patch
  2. +3
    -3
      archiver/tar/tar.desc

+ 0
- 63
archiver/tar/tar-0001-fix-build-failure.patch

@ -1,63 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../tar/tar-0001-fix-build-failure.patch
# Copyright (C) 2015 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From e9ddc08da0982f36581ae5a8c7763453ff41cfe8 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <gray@gnu.org>
Date: Wed, 24 Sep 2014 21:22:16 +0000
Subject: Bugfixes.
* doc/tar.1: Fix typo in font spec.
* src/tar.c (sort_mode_arg, sort_mode_flag): Protect "inode"
(SAVEDIR_SORT_INODE) with D_INO_IN_DIRENT
---
diff --git a/doc/tar.1 b/doc/tar.1
index 9000627..b91de63 100644
--- a/doc/tar.1
+++ b/doc/tar.1
@@ -879,7 +879,7 @@ Exclude files matching patterns listed in FILE.
\fB\-\-strip\-components\fR=\fINUMBER\fR
Strip \fINUMBER\fR leading components from file names on extraction.
.TP
-\fB\-\-transform\fR=\fIEXPRESSION\dR, \fB\-\-xform\fR=\fIEXPRESSION\fR
+\fB\-\-transform\fR=\fIEXPRESSION\fR, \fB\-\-xform\fR=\fIEXPRESSION\fR
Use sed replace \fIEXPRESSION\fR to transform file names.
.SS File name matching options
These options affect both exclude and include patterns.
diff --git a/src/tar.c b/src/tar.c
index 225c624..f8102e0 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1341,14 +1341,18 @@ static char filename_terminator;
static char const *const sort_mode_arg[] = {
"none",
"name",
+#if D_INO_IN_DIRENT
"inode",
+#endif
NULL
};
static int sort_mode_flag[] = {
SAVEDIR_SORT_NONE,
SAVEDIR_SORT_NAME,
+#if D_INO_IN_DIRENT
SAVEDIR_SORT_INODE
+#endif
};
ARGMATCH_VERIFY (sort_mode_arg, sort_mode_flag);
--
cgit v0.9.0.2

+ 3
- 3
archiver/tar/tar.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../tar/tar.desc
[COPY] Copyright (C) 2006 - 2014 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2017 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -33,8 +33,8 @@
[L] GPL
[S] Stable
[V] 1.28
[V] 1.29
[P] X 01---5---9 108.300
[D] 2523647134 tar-1.28.tar.bz2 ftp://ftp.gnu.org/gnu/tar/
[D] 914250928 tar-1.29.tar.bz2 ftp://ftp.gnu.org/gnu/tar/

Loading…
Cancel
Save