[Lunar-commits] <moonbase> gzip: updated to 1.3.13

Zbigniew Luszpinski zbiggy at lunar-linux.org
Wed Oct 7 21:27:04 CEST 2009


commit d91592bd9d5f54945cf0f98ab2247f1c8bfd2f98
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Wed Oct 7 21:27:04 2009 +0200

    gzip: updated to 1.3.13
---
 archive/gzip/BUILD       |   12 ------------
 archive/gzip/DEPENDS     |    2 ++
 archive/gzip/DETAILS     |    8 ++++----
 archive/gzip/POST_REMOVE |    1 -
 archive/gzip/PRE_BUILD   |    8 ++++++++
 5 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/archive/gzip/BUILD b/archive/gzip/BUILD
index 026a9a8..0180ad0 100644
--- a/archive/gzip/BUILD
+++ b/archive/gzip/BUILD
@@ -1,17 +1,5 @@
 (
 
-#This group of sedits are for glibc-2.7
-  sedit "s:if (futimens:if (gz_futimens:" gzip.c
-  sedit "s:int futimens:int gz_futimens:" lib/utimens.h
-  sedit "s:futimens (int fd:gz_futimens (int fd:" lib/utimens.c
-  sedit "s:return futimens (-1:return gz_futimens (-1:" lib/utimens.c
-
-  VR=`lvu version glibc | cut -d. -f2` &&
-
-  if [ $VR = 6 ]; then
-     sedit "s/futimens/gl_&/" $(grep -lr futimens *)
-  fi &&
-
   ./configure --build=$BUILD             \
               --prefix=/usr              \
               --bindir=/bin              \
diff --git a/archive/gzip/DEPENDS b/archive/gzip/DEPENDS
new file mode 100644
index 0000000..b07a0d0
--- /dev/null
+++ b/archive/gzip/DEPENDS
@@ -0,0 +1,2 @@
+# Workaround for missing xz
+depends  xz
diff --git a/archive/gzip/DETAILS b/archive/gzip/DETAILS
index 6209414..676f3e2 100644
--- a/archive/gzip/DETAILS
+++ b/archive/gzip/DETAILS
@@ -1,12 +1,12 @@
           MODULE=gzip
-         VERSION=1.3.12
-          SOURCE=$MODULE-$VERSION.tar.gz
+         VERSION=1.3.13
+          SOURCE=$MODULE-$VERSION.tar.xz
    SOURCE_URL[0]=ftp://ftp.gnu.org/pub/gnu/$MODULE/
    SOURCE_URL[1]=http://www.funet.fi/pub/gnu/alpha/gnu/$MODULE/
-      SOURCE_VFY=sha1:264e82876f201d9576626fbb1e0e9fe458efe9b9
+      SOURCE_VFY=sha1:4085728fe589cd97944fd60b0255626386a7efb3
         WEB_SITE=http://www.gzip.org
          ENTERED=20010922
-         UPDATED=20070414
+         UPDATED=20091007
            SHORT="Compression utility designed to replace compress"
 cat << EOF
 gzip - Compresses and decompresses files
diff --git a/archive/gzip/POST_REMOVE b/archive/gzip/POST_REMOVE
index 8666320..090cc0d 100644
--- a/archive/gzip/POST_REMOVE
+++ b/archive/gzip/POST_REMOVE
@@ -1,2 +1 @@
 install-info  --delete gzip  --info-dir /usr/info
-
diff --git a/archive/gzip/PRE_BUILD b/archive/gzip/PRE_BUILD
new file mode 100644
index 0000000..19f01d2
--- /dev/null
+++ b/archive/gzip/PRE_BUILD
@@ -0,0 +1,8 @@
+(
+# Workaround for missing xz depacker
+  cd $BUILD_DIRECTORY       &&
+  rm -rf $SOURCE_DIRECTORY  &&
+  tar -xJpvf $SOURCE_CACHE/$SOURCE &&
+  cd $SOURCE_DIRECTORY
+
+)


More information about the Lunar-commits mailing list