[csw-devel] SF.net SVN: gar:[8552] csw/mgar/pkg/pigz/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Feb 15 12:10:44 CET 2010


Revision: 8552
          http://gar.svn.sourceforge.net/gar/?rev=8552&view=rev
Author:   dmichelsen
Date:     2010-02-15 11:10:44 +0000 (Mon, 15 Feb 2010)

Log Message:
-----------
pigz: Separate wrappers to fully accomodate for #4268

Modified Paths:
--------------
    csw/mgar/pkg/pigz/trunk/Makefile
    csw/mgar/pkg/pigz/trunk/checksums
    csw/mgar/pkg/pigz/trunk/files/pigz-wrapper

Added Paths:
-----------
    csw/mgar/pkg/pigz/trunk/files/unpigz-wrapper

Modified: csw/mgar/pkg/pigz/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pigz/trunk/Makefile	2010-02-15 11:03:37 UTC (rev 8551)
+++ csw/mgar/pkg/pigz/trunk/Makefile	2010-02-15 11:10:44 UTC (rev 8552)
@@ -13,6 +13,7 @@
 MASTER_SITES = http://www.zlib.net/pigz/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
 DISTFILES += pigz-wrapper
+DISTFILES += unpigz-wrapper
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
@@ -48,7 +49,7 @@
 install-custom:
 	ginstall -d $(DESTDIR)$(bindir)
 	ginstall $(WORKDIR)/pigz-wrapper $(DESTDIR)$(bindir)/pigz
-	cd $(DESTDIR)$(bindir) && gln pigz unpigz
+	ginstall $(WORKDIR)/unpigz-wrapper $(DESTDIR)$(bindir)/unpigz
 	ginstall -d $(DESTDIR)$(libexecdir)
 	ginstall $(WORKSRC)/pigz $(DESTDIR)$(libexecdir)
 	cd $(DESTDIR)$(libexecdir) && gln pigz unpigz

Modified: csw/mgar/pkg/pigz/trunk/checksums
===================================================================
--- csw/mgar/pkg/pigz/trunk/checksums	2010-02-15 11:03:37 UTC (rev 8551)
+++ csw/mgar/pkg/pigz/trunk/checksums	2010-02-15 11:10:44 UTC (rev 8552)
@@ -1,2 +1,3 @@
 580873165ef3a369674f0c0af4c96d67  pigz-2.1.5.tar.gz
-4d4408526f9292db8e3c7aeac6e04f53  pigz-wrapper
+58c123caae9ea93973c815d175e43dbf  pigz-wrapper
+13ba5dde0a6279f3394947a587f1c027  unpigz-wrapper

Modified: csw/mgar/pkg/pigz/trunk/files/pigz-wrapper
===================================================================
--- csw/mgar/pkg/pigz/trunk/files/pigz-wrapper	2010-02-15 11:03:37 UTC (rev 8551)
+++ csw/mgar/pkg/pigz/trunk/files/pigz-wrapper	2010-02-15 11:10:44 UTC (rev 8552)
@@ -3,6 +3,9 @@
 # Needed on native Solaris 8
 # See http://www.opencsw.org/bugtrack/view.php?id=3879
 # and http://developers.sun.com/solaris/articles/alt_thread_lib.html
+# Unfortunately the path can not be compiled an as libthread.so.1
+# gets pulled in from the pthread library which brings in his own
+# ideas of link path ordering.
 LD_LIBRARY_PATH=/usr/lib/lwp
 export LD_LIBRARY_PATH
-exec /opt/csw/libexec/`/usr/bin/basename $0` "$@"
+exec /opt/csw/libexec/pigz "$@"

Copied: csw/mgar/pkg/pigz/trunk/files/unpigz-wrapper (from rev 8551, csw/mgar/pkg/pigz/trunk/files/pigz-wrapper)
===================================================================
--- csw/mgar/pkg/pigz/trunk/files/unpigz-wrapper	                        (rev 0)
+++ csw/mgar/pkg/pigz/trunk/files/unpigz-wrapper	2010-02-15 11:10:44 UTC (rev 8552)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Needed on native Solaris 8
+# See http://www.opencsw.org/bugtrack/view.php?id=3879
+# and http://developers.sun.com/solaris/articles/alt_thread_lib.html
+# Unfortunately the path can not be compiled an as libthread.so.1
+# gets pulled in from the pthread library which brings in his own
+# ideas of link path ordering.
+LD_LIBRARY_PATH=/usr/lib/lwp
+export LD_LIBRARY_PATH
+exec /opt/csw/libexec/unpigz "$@"


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