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

Terry Chan tchan at lunar-linux.org
Mon Oct 23 17:14:18 CEST 2006


Author: tchan
Date: 2006-10-23 17:14:18 +0200 (Mon, 23 Oct 2006)
New Revision: 21909

Modified:
   moonbase/trunk/archive/tar-static/BUILD
   moonbase/trunk/archive/tar-static/DETAILS
   moonbase/trunk/archive/tar/BUILD
   moonbase/trunk/archive/tar/DETAILS
Log:
Version bump to tar-1.16 and tar-static-1.16. Changed the binaries in tar-static
to be named /bin/tar-static and /bin/rmt-static, instead of tar_static/rmt_static.
Also removed cruft from tar/BUILD. You can now do "lin --opts '--disable-nls' tar"
to compile tar without the NLS stuff. Added a one-line sedit to fix the output
format of tar --list back to the 1.15.1 formart.


Modified: moonbase/trunk/archive/tar/BUILD
===================================================================
--- moonbase/trunk/archive/tar/BUILD	2006-10-23 13:40:38 UTC (rev 21908)
+++ moonbase/trunk/archive/tar/BUILD	2006-10-23 15:14:18 UTC (rev 21909)
@@ -1,22 +1,15 @@
 (
 
-  patch_it $SOURCE_CACHE/$SOURCE3 1   &&
-  cp $SOURCE_CACHE/$SOURCE2 tar.1.gz  &&
-
+  cp $SOURCE_CACHE/$SOURCE2 tar.1.gz  &&  
+  # this sedit restores the tar --list to its older 1.15.1 format
+  sedit "s/tartime (st->mtime, false)/tartime (st->mtime, true)/" src/list.c &&
   ./configure  --build=$BUILD     \
                --prefix=/usr      \
                --libexecdir=/bin  \
                --bindir=/bin      \
-               --infodir=/usr/share/info  &&
-  make             &&
-  prepare_install  &&
-  cp src/tar /bin  &&
-  cp rmt/rmt /bin  &&
-  install -c -m644 tar.1.gz /usr/share/man/man1  &&
+               --infodir=/usr/share/info \
+               $OPTS &&
+  default_make
+  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 
-  fi
-
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/archive/tar/DETAILS
===================================================================
--- moonbase/trunk/archive/tar/DETAILS	2006-10-23 13:40:38 UTC (rev 21908)
+++ moonbase/trunk/archive/tar/DETAILS	2006-10-23 15:14:18 UTC (rev 21909)
@@ -1,18 +1,15 @@
           MODULE=tar
-         VERSION=1.15.1
+         VERSION=1.16
           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
+      SOURCE_VFY=sha1:b98abe392cedb7fcef475a41d61c17a8f800b90c
      SOURCE2_URL=$PATCH_URL/
-     SOURCE2_VFY=sha1:071d855338896936347a8270ed3133b38534c09a
-     SOURCE3_URL=$PATCH_URL/
-     SOURCE3_VFY=sha1:e3e99b55390717a0438859e806f9201b2382e8c3
+     SOURCE2_VFY=sha1:a285cfa87f221169320ab5a6cb90ea7b51d6fa81
         WEB_SITE=http://www.gnu.org/software/tar/tar.html
          ENTERED=20010922
-         UPDATED=20060418
+         UPDATED=20061022
       MAINTAINER=prox at lunar-linux.org
            SHORT="tar creates GNU tar archives."
 

Modified: moonbase/trunk/archive/tar-static/BUILD
===================================================================
--- moonbase/trunk/archive/tar-static/BUILD	2006-10-23 13:40:38 UTC (rev 21908)
+++ moonbase/trunk/archive/tar-static/BUILD	2006-10-23 15:14:18 UTC (rev 21909)
@@ -1,19 +1,19 @@
 (
 
-
-  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
-
   export CFLAGS="$CFLAGS -static"    &&
   export LDFLAGS="$LDFLAGS -static"  &&
 
+  # this sedit restores the tar --list to its older 1.15.1 format
+  sedit "s/tartime (st->mtime, false)/tartime (st->mtime, true)/" src/list.c &&
   ./configure  --build=$BUILD             \
                --prefix=/usr              \
                --libexecdir=/bin          \
                --infodir=/usr/share/info  \
+               --disable-nls              \
                --bindir=/bin             &&
   make                                   &&
   prepare_install                        &&
-  cp  src/tar        /bin/tar_static     &&
-  cp  rmt/rmt        /bin/rmt_static
+  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-10-23 13:40:38 UTC (rev 21908)
+++ moonbase/trunk/archive/tar-static/DETAILS	2006-10-23 15:14:18 UTC (rev 21909)
@@ -1,16 +1,13 @@
           MODULE=tar-static
         BASENAME=tar
-         VERSION=1.15.1
+         VERSION=1.16
           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
+      SOURCE_VFY=sha1:b98abe392cedb7fcef475a41d61c17a8f800b90c
         WEB_SITE=http://www.gnu.org/software/tar/tar.html
          ENTERED=20010922
-         UPDATED=20060418
+         UPDATED=20061022
       MAINTAINER=prox at lunar-linux.org
            SHORT="tar creates GNU tar archives (static linked version)."
 



More information about the Lunar-commits mailing list