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

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


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

Log Message:
-----------
lzip: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/lzip/
    csw/mgar/pkg/lzip/branches/
    csw/mgar/pkg/lzip/tags/
    csw/mgar/pkg/lzip/trunk/
    csw/mgar/pkg/lzip/trunk/Makefile
    csw/mgar/pkg/lzip/trunk/checksums
    csw/mgar/pkg/lzip/trunk/files/
    csw/mgar/pkg/lzip/trunk/files/0001-Make-configure-use-bash.patch
    csw/mgar/pkg/lzip/trunk/files/0002-Use-inttypes-instead-of-stdint.patch
    csw/mgar/pkg/lzip/trunk/files/0003-Make-testsuite-use-ucb-echo.patch


Property changes on: csw/mgar/pkg/lzip/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/lzip/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lzip/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lzip/trunk/Makefile	2010-02-19 13:52:15 UTC (rev 8684)
@@ -0,0 +1,38 @@
+GARNAME = lzip
+GARVERSION = 1.9
+CATEGORIES = utils
+
+DESCRIPTION = A lossless data compressor based on the LZMA algorithm
+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/lzip/ 
+DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+PATCHFILES  = 0001-Make-configure-use-bash.patch
+PATCHFILES += 0002-Use-inttypes-instead-of-stdint.patch
+PATCHFILES += 0003-Make-testsuite-use-ucb-echo.patch
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+VENDOR_URL = http://www.nongnu.org/lzip/clzip.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
+
+include gar/category.mk

Added: csw/mgar/pkg/lzip/trunk/checksums
===================================================================
--- csw/mgar/pkg/lzip/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/lzip/trunk/checksums	2010-02-19 13:52:15 UTC (rev 8684)
@@ -0,0 +1,4 @@
+c88ba40a011ff3bb3fb1a36a1d5d1832  0001-Make-configure-use-bash.patch
+b9048c2b7eb8974a7cd9d6486aaa4d4a  0002-Use-inttypes-instead-of-stdint.patch
+095a3aafd43cbd99dd12c78e7cc336c0  0003-Make-testsuite-use-ucb-echo.patch
+9e1d7f4db5b953e9f75b8500ebe0d4c0  lzip-1.9.tar.gz

Added: csw/mgar/pkg/lzip/trunk/files/0001-Make-configure-use-bash.patch
===================================================================
--- csw/mgar/pkg/lzip/trunk/files/0001-Make-configure-use-bash.patch	                        (rev 0)
+++ csw/mgar/pkg/lzip/trunk/files/0001-Make-configure-use-bash.patch	2010-02-19 13:52:15 UTC (rev 8684)
@@ -0,0 +1,31 @@
+From f2651c910740d07b705e91c051e5838790104d96 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 14:48:19 +0100
+Subject: [PATCH 1/3] Make configure use bash
+
+---
+ configure |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 56462e8..6fa8696 100755
+--- a/configure
++++ b/configure
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#!/opt/csw/bin/bash
+ # configure script for Lzip - A data compressor based on the LZMA algorithm
+ # Copyright (C) 2008, 2009, 2010 Antonio Diaz Diaz.
+ #
+@@ -27,7 +27,7 @@ mandir='$(datadir)/man'
+ sysconfdir='$(prefix)/etc'
+ CXX=
+ CPPFLAGS=
+-CXXFLAGS='-Wall -W -O2'
++CXXFLAGS=
+ LDFLAGS=
+ 
+ # Loop over all args
+-- 
+1.6.5.1
+

Added: csw/mgar/pkg/lzip/trunk/files/0002-Use-inttypes-instead-of-stdint.patch
===================================================================
--- csw/mgar/pkg/lzip/trunk/files/0002-Use-inttypes-instead-of-stdint.patch	                        (rev 0)
+++ csw/mgar/pkg/lzip/trunk/files/0002-Use-inttypes-instead-of-stdint.patch	2010-02-19 13:52:15 UTC (rev 8684)
@@ -0,0 +1,68 @@
+From c09e736df974dbe9be9ae1bcace4de5a8cfbeac6 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 14:48:40 +0100
+Subject: [PATCH 2/3] Use inttypes instead of stdint
+
+---
+ decoder.cc     |    2 +-
+ encoder.cc     |    2 +-
+ lziprecover.cc |    2 +-
+ main.cc        |    3 ++-
+ 4 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/decoder.cc b/decoder.cc
+index 4e3a8fc..4aadc86 100644
+--- a/decoder.cc
++++ b/decoder.cc
+@@ -24,7 +24,7 @@
+ #include <cstring>
+ #include <string>
+ #include <vector>
+-#include <stdint.h>
++#include <inttypes.h>
+ 
+ #include "lzip.h"
+ #include "decoder.h"
+diff --git a/encoder.cc b/encoder.cc
+index 27d3db0..d38f2a8 100644
+--- a/encoder.cc
++++ b/encoder.cc
+@@ -23,7 +23,7 @@
+ #include <cstring>
+ #include <string>
+ #include <vector>
+-#include <stdint.h>
++#include <inttypes.h>
+ 
+ #include "lzip.h"
+ #include "encoder.h"
+diff --git a/lziprecover.cc b/lziprecover.cc
+index dda4b5e..dfb1fc1 100644
+--- a/lziprecover.cc
++++ b/lziprecover.cc
+@@ -30,7 +30,7 @@
+ #include <string>
+ #include <vector>
+ #include <fcntl.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
+ 
+diff --git a/main.cc b/main.cc
+index 1f12805..90c3686 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/lzip/trunk/files/0003-Make-testsuite-use-ucb-echo.patch
===================================================================
--- csw/mgar/pkg/lzip/trunk/files/0003-Make-testsuite-use-ucb-echo.patch	                        (rev 0)
+++ csw/mgar/pkg/lzip/trunk/files/0003-Make-testsuite-use-ucb-echo.patch	2010-02-19 13:52:15 UTC (rev 8684)
@@ -0,0 +1,27 @@
+From f930db1d6fd81746e6d51a9caadf7104154f3117 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 14:49:00 +0100
+Subject: [PATCH 3/3] Make testsuite use ucb echo
+
+---
+ testsuite/check.sh |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/testsuite/check.sh b/testsuite/check.sh
+index ec61c89..a1fe6da 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 has -n
++PATH=/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