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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 26 22:37:58 CET 2010


Revision: 8855
          http://gar.svn.sourceforge.net/gar/?rev=8855&view=rev
Author:   dmichelsen
Date:     2010-02-26 21:37:57 +0000 (Fri, 26 Feb 2010)

Log Message:
-----------
clzip: Initial commit, stdbool missing, doesn't compile yet

Added Paths:
-----------
    csw/mgar/pkg/clzip/
    csw/mgar/pkg/clzip/branches/
    csw/mgar/pkg/clzip/tags/
    csw/mgar/pkg/clzip/trunk/
    csw/mgar/pkg/clzip/trunk/Makefile
    csw/mgar/pkg/clzip/trunk/checksums
    csw/mgar/pkg/clzip/trunk/files/
    csw/mgar/pkg/clzip/trunk/files/0001-Do-not-use-gcc-CFLAGS.patch
    csw/mgar/pkg/clzip/trunk/files/0002-Do-not-use-gcc-CFLAGS.patch
    csw/mgar/pkg/clzip/trunk/files/0003-Use-inttypes-instead-of-stdint.patch
    csw/mgar/pkg/clzip/trunk/files/0004-Use-ucb-echo-for-n.patch


Property changes on: csw/mgar/pkg/clzip/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/clzip/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clzip/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/Makefile	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,33 @@
+GARNAME = clzip
+GARVERSION = 1.0-rc2
+CATEGORIES = utils
+
+DESCRIPTION = a lossless data compressor based on the LZMA algorithm
+define BLURB
+endef
+
+MASTER_SITES = http://mirrors.zerg.biz/nongnu/lzip/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+PATCHFILES  = 0001-Do-not-use-gcc-CFLAGS.patch
+PATCHFILES += 0002-Do-not-use-gcc-CFLAGS.patch
+PATCHFILES += 0003-Use-inttypes-instead-of-stdint.patch
+PATCHFILES += 0004-Use-ucb-echo-for-n.patch
+
+SPKG_VERSION = $(subst -,,$(GARVERSION))
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+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/clzip/trunk/checksums
===================================================================
--- csw/mgar/pkg/clzip/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/checksums	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,5 @@
+11dfe47b102267e6c070699b0a92b741  0001-Do-not-use-gcc-CFLAGS.patch
+3db9d95c5cac0ee16f762e3c65ce3336  0002-Do-not-use-gcc-CFLAGS.patch
+2a1badc5ef23643659843f9a557afb13  0003-Use-inttypes-instead-of-stdint.patch
+782315357fca676b888181ee0992e5ba  0004-Use-ucb-echo-for-n.patch
+94c29caf7ded781280b4b0261bbf1b80  clzip-1.0-rc2.tar.gz

Added: csw/mgar/pkg/clzip/trunk/files/0001-Do-not-use-gcc-CFLAGS.patch
===================================================================
--- csw/mgar/pkg/clzip/trunk/files/0001-Do-not-use-gcc-CFLAGS.patch	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/files/0001-Do-not-use-gcc-CFLAGS.patch	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,25 @@
+From 546e169ba5421d3c9a28a1e7e232c698992d9c5f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 26 Feb 2010 22:34:20 +0100
+Subject: [PATCH 1/4] Do not use gcc CFLAGS
+
+---
+ Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 802fa80..d602669 100644
+--- a/Makefile
++++ b/Makefile
+@@ -18,7 +18,7 @@ mandir = /opt/csw/share/man
+ sysconfdir = /opt/csw/etc
+ CC = cc
+ CPPFLAGS = 
+-CFLAGS = -Wall -W -O2 -std=gnu99
++CFLAGS = 
+ LDFLAGS = 
+ 
+ DISTNAME = $(pkgname)-$(pkgversion)
+-- 
+1.6.6
+

Added: csw/mgar/pkg/clzip/trunk/files/0002-Do-not-use-gcc-CFLAGS.patch
===================================================================
--- csw/mgar/pkg/clzip/trunk/files/0002-Do-not-use-gcc-CFLAGS.patch	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/files/0002-Do-not-use-gcc-CFLAGS.patch	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,25 @@
+From 925f3889c4e6f2738c874a91dc6d077c27552eaa Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 26 Feb 2010 22:34:25 +0100
+Subject: [PATCH 2/4] Do not use gcc CFLAGS
+
+---
+ configure |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure b/configure
+index 5ebfe51..224c7ed 100755
+--- a/configure
++++ b/configure
+@@ -27,7 +27,7 @@ mandir='$(datadir)/man'
+ sysconfdir='$(prefix)/etc'
+ CC=
+ CPPFLAGS=
+-CFLAGS='-Wall -W -O2 -std=gnu99'
++CFLAGS=
+ LDFLAGS=
+ 
+ # Loop over all args
+-- 
+1.6.6
+

Added: csw/mgar/pkg/clzip/trunk/files/0003-Use-inttypes-instead-of-stdint.patch
===================================================================
--- csw/mgar/pkg/clzip/trunk/files/0003-Use-inttypes-instead-of-stdint.patch	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/files/0003-Use-inttypes-instead-of-stdint.patch	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,53 @@
+From c4d441c054c664391797c6019232fd174adadd7a Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 26 Feb 2010 22:34:48 +0100
+Subject: [PATCH 3/4] Use inttypes instead of stdint
+
+---
+ decoder.c |    2 +-
+ encoder.c |    2 +-
+ main.c    |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/decoder.c b/decoder.c
+index 20799a3..bfe82eb 100644
+--- a/decoder.c
++++ b/decoder.c
+@@ -19,7 +19,7 @@
+ 
+ #include <errno.h>
+ #include <stdbool.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+diff --git a/encoder.c b/encoder.c
+index a46893a..90215a4 100644
+--- a/encoder.c
++++ b/encoder.c
+@@ -21,7 +21,7 @@
+ #include <stdbool.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ 
+ #include "clzip.h"
+ #include "encoder.h"
+diff --git a/main.c b/main.c
+index 3eb7c87..c1ab889 100644
+--- a/main.c
++++ b/main.c
+@@ -31,7 +31,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <unistd.h>
+ #include <utime.h>
+ #include <sys/stat.h>
+-- 
+1.6.6
+

Added: csw/mgar/pkg/clzip/trunk/files/0004-Use-ucb-echo-for-n.patch
===================================================================
--- csw/mgar/pkg/clzip/trunk/files/0004-Use-ucb-echo-for-n.patch	                        (rev 0)
+++ csw/mgar/pkg/clzip/trunk/files/0004-Use-ucb-echo-for-n.patch	2010-02-26 21:37:57 UTC (rev 8855)
@@ -0,0 +1,27 @@
+From ebbffb3199cc4f9cd1fd0a429f3eac19a4570f06 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 26 Feb 2010 22:35:01 +0100
+Subject: [PATCH 4/4] Use ucb echo for -n
+
+---
+ testsuite/check.sh |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/testsuite/check.sh b/testsuite/check.sh
+index a57224d..77eb0ec 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.6
+


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