Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (b0c134185f284495b31e6bb7abef6860849c0dc7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Martin Spitzbarth <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (b0c134185f284495b31e6bb7abef6860849c0dc7)
  • Date: Tue, 28 Aug 2007 05:39:40 -0500

GIT changes to master grimoire by Martin Spitzbarth <m.spitzbarth AT gmx.de>:

archive/tar/DETAILS | 2 +-
archive/tar/HISTORY | 5 +++++
archive/tar/PRE_BUILD | 7 ++++++-
archive/tar/contains_dot_dot.diff | 15 +++++++++++++++
4 files changed, 27 insertions(+), 2 deletions(-)

New commits:
commit b0c134185f284495b31e6bb7abef6860849c0dc7
Author: Martin Spitzbarth <m.spitzbarth AT gmx.de>
Commit: Martin Spitzbarth <m.spitzbarth AT gmx.de>

tar: added upstream patch, SECURITY_PATCH++, bug 13957

diff --git a/archive/tar/DETAILS b/archive/tar/DETAILS
index f041ed3..ff4c9c3 100755
--- a/archive/tar/DETAILS
+++ b/archive/tar/DETAILS
@@ -9,7 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE2_IGNORE=signature
WEB_SITE=http://www.gnu.org/software/tar/tar.html
ENTERED=20010922
- SECURITY_PATCH=1
+ SECURITY_PATCH=2
LICENSE[0]=GPL
KEYWORDS="archive"
SHORT="tar creates GNU tar archives."
diff --git a/archive/tar/HISTORY b/archive/tar/HISTORY
index 2f795e9..390b600 100644
--- a/archive/tar/HISTORY
+++ b/archive/tar/HISTORY
@@ -1,3 +1,8 @@
+2007-08-28 Martin Spitzbarth <m.spitzbarth AT gmx.de>
+ * DETAILS: SECURITY_PATCH++, Bug 13957
+ * PRE_BUILD: apply upstream patch
+ * contains_dot_dot.diff: added upstream patch
+
2007-06-30 George Sherwood <george AT beernabeer.com>
* DETAILS: updated spell to 1.18

diff --git a/archive/tar/PRE_BUILD b/archive/tar/PRE_BUILD
index f9749a9..d6cb202 100755
--- a/archive/tar/PRE_BUILD
+++ b/archive/tar/PRE_BUILD
@@ -5,4 +5,9 @@ source $GRIMOIRE/is_depends_enabled.function &&

if is_depends_enabled $SPELL lzma-utils; then
patch -p1 < $SPELL_DIRECTORY/tar_lzma.diff
-fi
+fi &&
+
+# The following patch is for bug 13957 and is probably included in 1.19
+cd $SOURCE_DIRECTORY/src &&
+patch -p0 < $SPELL_DIRECTORY/contains_dot_dot.diff &&
+cd $SOURCE_DIRECTORY
diff --git a/archive/tar/contains_dot_dot.diff
b/archive/tar/contains_dot_dot.diff
new file mode 100644
index 0000000..c457c10
--- /dev/null
+++ b/archive/tar/contains_dot_dot.diff
@@ -0,0 +1,15 @@
+--- names.c 2007/06/27 13:30:15 1.63
++++ names.c 2007/08/12 08:25:00 1.64
+@@ -1012,11 +1012,10 @@
+ if (p[0] == '.' && p[1] == '.' && (ISSLASH (p[2]) || !p[2]))
+ return 1;
+
+- do
++ while (! ISSLASH (*p))
+ {
+ if (! *p++)
+ return 0;
+ }
+- while (! ISSLASH (*p));
+ }
+ }



  • [SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (b0c134185f284495b31e6bb7abef6860849c0dc7), Martin Spitzbarth, 08/28/2007

Archive powered by MHonArc 2.6.24.

Top of Page