[Lunar-commits] r19711 - in moonbase/trunk/archive: tar tar-static

Florin Braescu florin at lunar-linux.org
Tue Apr 18 01:27:03 UTC 2006


Author: florin
Date: 2006-04-18 01:27:03 +0000 (Tue, 18 Apr 2006)
New Revision: 19711

Modified:
   moonbase/trunk/archive/tar-static/BUILD
   moonbase/trunk/archive/tar-static/DETAILS
   moonbase/trunk/archive/tar/BUILD
   moonbase/trunk/archive/tar/DETAILS
Log:
add the patch for CVE-2006-0300. thanks to Nestu for pointing it.

Modified: moonbase/trunk/archive/tar/BUILD
===================================================================
--- moonbase/trunk/archive/tar/BUILD	2006-04-17 23:47:32 UTC (rev 19710)
+++ moonbase/trunk/archive/tar/BUILD	2006-04-18 01:27:03 UTC (rev 19711)
@@ -1,6 +1,7 @@
 (
 
-  cp $SOURCE_CACHE/$SOURCE2 tar.1.gz &&
+  patch_it $SOURCE_CACHE/$SOURCE3 1   &&
+  cp $SOURCE_CACHE/$SOURCE2 tar.1.gz  &&
 
   ./configure  --build=$BUILD     \
                --prefix=/usr      \
@@ -12,6 +13,7 @@
   cp src/tar /bin  &&
   cp rmt/rmt /bin  &&
   install -c -m644 tar.1.gz /usr/share/man/man1  &&
+
   if module_installed texinfo ; then
     cp doc/tar.info* /usr/share/info  &&
     install-info --info-dir=/usr/share/info /usr/share/info/tar.info 

Modified: moonbase/trunk/archive/tar/DETAILS
===================================================================
--- moonbase/trunk/archive/tar/DETAILS	2006-04-17 23:47:32 UTC (rev 19710)
+++ moonbase/trunk/archive/tar/DETAILS	2006-04-18 01:27:03 UTC (rev 19711)
@@ -2,16 +2,20 @@
          VERSION=1.15.1
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=$MODULE.1-$VERSION.gz
+         SOURCE3=$MODULE-xheader-1.patch.bz2
    SOURCE_URL[0]=$GNU_URL/$MODULE/
    SOURCE_URL[1]=ftp://ftp.gnu.org/gnu/$MODULE/
       SOURCE_VFY=sha1:f861b7524a0867833056dc382e68085234cae6ff
      SOURCE2_URL=$PATCH_URL/
      SOURCE2_VFY=sha1:071d855338896936347a8270ed3133b38534c09a
+     SOURCE3_URL=$PATCH_URL/
+     SOURCE3_VFY=sha1:e3e99b55390717a0438859e806f9201b2382e8c3
         WEB_SITE=http://www.gnu.org/software/tar/tar.html
          ENTERED=20010922
-         UPDATED=20041223
+         UPDATED=20060418
       MAINTAINER=prox at lunar-linux.org
            SHORT="tar creates GNU tar archives."
+
 cat << EOF
 GNU tar - Creates tar archives
 Can create tar archives, as well as other forms of manipulation. For

Modified: moonbase/trunk/archive/tar-static/BUILD
===================================================================
--- moonbase/trunk/archive/tar-static/BUILD	2006-04-17 23:47:32 UTC (rev 19710)
+++ moonbase/trunk/archive/tar-static/BUILD	2006-04-18 01:27:03 UTC (rev 19711)
@@ -1,16 +1,19 @@
 (
 
-  export CFLAGS="$CFLAGS -static" &&
-  export LDFLAGS="$LDFLAGS -static" &&
 
-  ./configure  --build=$BUILD     \
-               --prefix=/usr      \
-               --libexecdir=/bin  \
-               --infodir=/usr/share/info \
-               --bindir=/bin      &&
-  make                            &&
-  prepare_install                 &&
-  cp  src/tar        /bin/tar_static         &&
+  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
+
+  export CFLAGS="$CFLAGS -static"    &&
+  export LDFLAGS="$LDFLAGS -static"  &&
+
+  ./configure  --build=$BUILD             \
+               --prefix=/usr              \
+               --libexecdir=/bin          \
+               --infodir=/usr/share/info  \
+               --bindir=/bin             &&
+  make                                   &&
+  prepare_install                        &&
+  cp  src/tar        /bin/tar_static     &&
   cp  rmt/rmt        /bin/rmt_static
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/archive/tar-static/DETAILS
===================================================================
--- moonbase/trunk/archive/tar-static/DETAILS	2006-04-17 23:47:32 UTC (rev 19710)
+++ moonbase/trunk/archive/tar-static/DETAILS	2006-04-18 01:27:03 UTC (rev 19711)
@@ -2,14 +2,18 @@
         BASENAME=tar
          VERSION=1.15.1
           SOURCE=$BASENAME-$VERSION.tar.bz2
+         SOURCE3=tar-xheader-1.patch.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$BASENAME-$VERSION
    SOURCE_URL[0]=ftp://ftp.gnu.org/gnu/$BASENAME/
       SOURCE_VFY=sha1:f861b7524a0867833056dc382e68085234cae6ff
+     SOURCE3_URL=$PATCH_URL/
+     SOURCE3_VFY=sha1:e3e99b55390717a0438859e806f9201b2382e8c3
         WEB_SITE=http://www.gnu.org/software/tar/tar.html
          ENTERED=20010922
-         UPDATED=20041223
+         UPDATED=20060418
       MAINTAINER=prox at lunar-linux.org
            SHORT="tar creates GNU tar archives (static linked version)."
+
 cat << EOF
 GNU tar - Creates tar archives
 Can create tar archives, as well as other forms of manipulation. For



More information about the Lunar-commits mailing list