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

bensons at users.sourceforge.net bensons at users.sourceforge.net
Tue Jun 30 16:10:12 CEST 2009


Revision: 5442
          http://gar.svn.sourceforge.net/gar/?rev=5442&view=rev
Author:   bensons
Date:     2009-06-30 14:10:11 +0000 (Tue, 30 Jun 2009)

Log Message:
-----------
p7zip: this is the initial version of p7zip archiver. Since solaris 10 it's include under /usr/sfw, but not before

Added Paths:
-----------
    csw/mgar/pkg/p7zip/
    csw/mgar/pkg/p7zip/branches/
    csw/mgar/pkg/p7zip/tags/
    csw/mgar/pkg/p7zip/trunk/
    csw/mgar/pkg/p7zip/trunk/Makefile
    csw/mgar/pkg/p7zip/trunk/checksums
    csw/mgar/pkg/p7zip/trunk/files/
    csw/mgar/pkg/p7zip/trunk/files/patch-CPP-7zip-Archive-Zip-ZipHandler.cpp
    csw/mgar/pkg/p7zip/trunk/files/patch-install.sh


Property changes on: csw/mgar/pkg/p7zip/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/p7zip/trunk/Makefile
===================================================================
--- csw/mgar/pkg/p7zip/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/p7zip/trunk/Makefile	2009-06-30 14:10:11 UTC (rev 5442)
@@ -0,0 +1,53 @@
+GARNAME = p7zip
+GARVERSION = 4.65
+CATEGORIES = utils
+
+DESCRIPTION = File archiver with high compression ratio
+define BLURB
+p7zip is a Unix port of 7-Zip, a file archiver with high compression
+ratio (www.7-zip.org) with lots of features:
+
+* 7-Zip is free software distributed under the GNU LGPL
+* High compression ratio in new 7z format with LZMA compression
+  o Unicode file names
+  o Variable dictionary size (up to 4 GB)
+  o Compressing speed: about 1 MB/s on 2 GHz CPU
+  o Decompressing speed: about 10-20 MB/s on 2 GHz CPU
+* Supported formats:
+  o Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
+  o Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, Z, CPIO, RPM, DEB
+    and NSIS
+* For ZIP and GZIP formats 7-Zip provides compression ratio that is
+  2-10 % better than ratio provided by PKZip and WinZip
+* Self-extracting capability for 7z format
+endef
+
+MASTER_SITES = http://garr.dl.sourceforge.net/sourceforge/p7zip/
+DISTFILES  = $(GARNAME)_$(GARVERSION)_src_all.tar.bz2
+
+# We define upstream file regex so we can be notifed of new upstream software 
+# release, atm not used
+# UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
+
+# since there is no configure script, this is intentionally left empty
+CONFIGURE_SCRIPTS =
+
+# add CFLAGS
+BUILD_ARGS = LOCAL_FLAGS="$(CFLAGS)"
+
+# add INSTALL arguments
+INSTALL_ARGS = DEST_HOME="$(DESTDIR)/$(prefix)"
+INSTALL_ARGS += DEST_MAN="$(DESTDIR)/$(mandir)"
+
+# fix distname
+DISTNAME = $(GARNAME)_$(GARVERSION)
+
+# patch files
+PATCHFILES  = patch-CPP-7zip-Archive-Zip-ZipHandler.cpp
+PATCHFILES += patch-install.sh
+
+include gar/category.mk
+
+# makefile
+pre-build-modulated:
+	@cp $(WORKSRC)/makefile.solaris_sparc_CC_32 $(WORKSRC)/makefile.machine

Added: csw/mgar/pkg/p7zip/trunk/checksums
===================================================================
--- csw/mgar/pkg/p7zip/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/p7zip/trunk/checksums	2009-06-30 14:10:11 UTC (rev 5442)
@@ -0,0 +1,3 @@
+f78ed232436dc8f8be25a2f95d4e5f9a  download/p7zip_4.65_src_all.tar.bz2
+6d31812ad3facefbc8ba8bd750522be7  download/patch-CPP-7zip-Archive-Zip-ZipHandler.cpp
+06482af0e45c61b245b2f664602e4742  download/patch-install.sh

Added: csw/mgar/pkg/p7zip/trunk/files/patch-CPP-7zip-Archive-Zip-ZipHandler.cpp
===================================================================
--- csw/mgar/pkg/p7zip/trunk/files/patch-CPP-7zip-Archive-Zip-ZipHandler.cpp	                        (rev 0)
+++ csw/mgar/pkg/p7zip/trunk/files/patch-CPP-7zip-Archive-Zip-ZipHandler.cpp	2009-06-30 14:10:11 UTC (rev 5442)
@@ -0,0 +1,10 @@
+--- p7zip_4.65.orig/CPP/7zip/Archive/Zip/ZipHandler.cpp 2009-02-07 17:44:56.000000000 +0100
++++ p7zip_4.65/CPP/7zip/Archive/Zip/ZipHandler.cpp      2009-06-18 14:49:38.167225788 +0200
+@@ -806,6 +806,7 @@
+     RINOK(extractCallback->PrepareOperation(askMode));
+ 
+     Int32 res;
++    UInt32 _numThreads;
+     RINOK(myDecoder.Decode(
+         EXTERNAL_CODECS_VARS
+         m_Archive, item, realOutStream, extractCallback,

Added: csw/mgar/pkg/p7zip/trunk/files/patch-install.sh
===================================================================
--- csw/mgar/pkg/p7zip/trunk/files/patch-install.sh	                        (rev 0)
+++ csw/mgar/pkg/p7zip/trunk/files/patch-install.sh	2009-06-30 14:10:11 UTC (rev 5442)
@@ -0,0 +1,19 @@
+*** p7zip_4.65.orig/install.sh	Sun Mar  2 14:35:05 2008
+--- p7zip_4.65/install.sh	Tue Jun 30 10:24:02 2009
+***************
+*** 166,172 ****
+    echo "- installing HTML help in ${DEST_DIR}${DEST_SHARE_DOC}/DOCS"
+    mkdir -p "${DEST_DIR}${DEST_SHARE_DOC}"
+    cp -r DOCS "${DEST_DIR}${DEST_SHARE_DOC}/DOCS"
+!   find "${DEST_DIR}${DEST_SHARE_DOC}/DOCS" -type d -exec chmod 555 {} \;
+    find "${DEST_DIR}${DEST_SHARE_DOC}/DOCS" -type f -exec chmod 444 {} \;
+  fi
+  
+--- 166,172 ----
+    echo "- installing HTML help in ${DEST_DIR}${DEST_SHARE_DOC}/DOCS"
+    mkdir -p "${DEST_DIR}${DEST_SHARE_DOC}"
+    cp -r DOCS "${DEST_DIR}${DEST_SHARE_DOC}/DOCS"
+!   find "${DEST_DIR}${DEST_SHARE_DOC}/DOCS" -type d -exec chmod 755 {} \;
+    find "${DEST_DIR}${DEST_SHARE_DOC}/DOCS" -type f -exec chmod 444 {} \;
+  fi
+  


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