[csw-devel] SF.net SVN: gar:[8687] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 19 16:50:16 CET 2010


Revision: 8687
          http://gar.svn.sourceforge.net/gar/?rev=8687&view=rev
Author:   dmichelsen
Date:     2010-02-19 15:50:16 +0000 (Fri, 19 Feb 2010)

Log Message:
-----------
zutils: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/zutils/
    csw/mgar/pkg/zutils/branches/
    csw/mgar/pkg/zutils/tags/
    csw/mgar/pkg/zutils/trunk/
    csw/mgar/pkg/zutils/trunk/Makefile
    csw/mgar/pkg/zutils/trunk/checksums
    csw/mgar/pkg/zutils/trunk/files/
    csw/mgar/pkg/zutils/trunk/files/0001-Use-inttypes-instead-of-stdint.patch
    csw/mgar/pkg/zutils/trunk/files/0002-Use-correct-path-on-testsuite.patch


Property changes on: csw/mgar/pkg/zutils/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/zutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/zutils/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/zutils/trunk/Makefile	2010-02-19 15:50:16 UTC (rev 8687)
@@ -0,0 +1,41 @@
+GARNAME = zutils
+GARVERSION = 0.7
+CATEGORIES = utils
+
+DESCRIPTION = Utilities to deal with compressed and non-compressed files
+define BLURB
+  Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
+  integrity checking and a user interface similar to the one of gzip or bzip2. Lzip
+  decompresses almost as fast as gzip and compresses better than bzip2, which makes
+  it well suited for software distribution and data archiving. 
+  Currently only compression is performed in parallel. Parallel decompression is
+  planned to be implemented soon.
+endef
+
+MASTER_SITES = http://download.savannah.gnu.org/releases/zutils/
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+PATCHFILES  = 0001-Use-inttypes-instead-of-stdint.patch
+PATCHFILES += 0002-Use-correct-path-on-testsuite.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+BUILD_DEP_PKGS = CSWhelp2man
+
+VENDOR_URL = http://www.nongnu.org/zutils/zutils.html
+
+NODIRPATHS = --includedir
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += CXX="$(CXX)"
+CONFIGURE_ARGS += CPPFLAGS="$(CPPFLAGS)"
+CONFIGURE_ARGS += CXXFLAGS="$(CXXFLAGS)"
+CONFIGURE_ARGS += LDFLAGS="$(LDFLAGS)"
+
+TEST_TARGET = check
+
+INSTALL_OVERRIDE_VARS = INSTALL
+INSTALL_OVERRIDE_VAR_INSTALL = /opt/csw/bin/ginstall
+
+EXTRA_PAX_ARGS = -s ",/z,/Z,p"
+
+include gar/category.mk

Added: csw/mgar/pkg/zutils/trunk/checksums
===================================================================
--- csw/mgar/pkg/zutils/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/zutils/trunk/checksums	2010-02-19 15:50:16 UTC (rev 8687)
@@ -0,0 +1,3 @@
+649455382564a2724f207badf40a26eb  0001-Use-inttypes-instead-of-stdint.patch
+fce5a15a5f23bb5e3e44009823031c5f  0002-Use-correct-path-on-testsuite.patch
+c9163bbaf3c6e84044b86b58fa9fe3ff  zutils-0.7.tar.gz

Added: csw/mgar/pkg/zutils/trunk/files/0001-Use-inttypes-instead-of-stdint.patch
===================================================================
--- csw/mgar/pkg/zutils/trunk/files/0001-Use-inttypes-instead-of-stdint.patch	                        (rev 0)
+++ csw/mgar/pkg/zutils/trunk/files/0001-Use-inttypes-instead-of-stdint.patch	2010-02-19 15:50:16 UTC (rev 8687)
@@ -0,0 +1,26 @@
+From 7e91887f79edf0b1893f2a0e0ddd0f6c96d5d239 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 16:44:13 +0100
+Subject: [PATCH 1/2] Use inttypes instead of stdint
+
+---
+ main.cc |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/main.cc b/main.cc
+index eba364b..75765c2 100644
+--- a/main.cc
++++ b/main.cc
+@@ -33,7 +33,8 @@
+ #include <string>
+ #include <vector>
+ #include <fcntl.h>
+-#include <stdint.h>
++#include <inttypes.h>
++#include <signal.h>
+ #include <unistd.h>
+ #include <utime.h>
+ #include <sys/stat.h>
+-- 
+1.6.5.1
+

Added: csw/mgar/pkg/zutils/trunk/files/0002-Use-correct-path-on-testsuite.patch
===================================================================
--- csw/mgar/pkg/zutils/trunk/files/0002-Use-correct-path-on-testsuite.patch	                        (rev 0)
+++ csw/mgar/pkg/zutils/trunk/files/0002-Use-correct-path-on-testsuite.patch	2010-02-19 15:50:16 UTC (rev 8687)
@@ -0,0 +1,27 @@
+From 5a911b56730fe7fb0d792ebafa6197ead63c4f5d Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 16:44:26 +0100
+Subject: [PATCH 2/2] Use correct path on testsuite
+
+---
+ testsuite/check.sh |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/testsuite/check.sh b/testsuite/check.sh
+index 1c8b249..11e8171 100755
+--- a/testsuite/check.sh
++++ b/testsuite/check.sh
+@@ -5,6 +5,10 @@
+ # This script is free software: you have unlimited permission
+ # to copy, distribute and modify it.
+ 
++# Only ucb echo understands -n
++PATH=/opt/csw/bin:/opt/csw/gnu:/usr/ucb:$PATH
++export PATH
++
+ LC_ALL=C
+ export LC_ALL
+ objdir=`pwd`
+-- 
+1.6.5.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list