[104159] trunk/dports/archivers/pigz

stromnov at macports.org stromnov at macports.org
Mon Mar 18 06:55:42 PDT 2013


Revision: 104159
          https://trac.macports.org/changeset/104159
Author:   stromnov at macports.org
Date:     2013-03-18 06:55:42 -0700 (Mon, 18 Mar 2013)
Log Message:
-----------
pigz: update to version 2.3

Modified Paths:
--------------
    trunk/dports/archivers/pigz/Portfile

Added Paths:
-----------
    trunk/dports/archivers/pigz/files/patch-Makefile.diff

Removed Paths:
-------------
    trunk/dports/archivers/pigz/files/patch-Makefile

Modified: trunk/dports/archivers/pigz/Portfile
===================================================================
--- trunk/dports/archivers/pigz/Portfile	2013-03-18 13:20:27 UTC (rev 104158)
+++ trunk/dports/archivers/pigz/Portfile	2013-03-18 13:55:42 UTC (rev 104159)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -3,6 +4,6 @@
 
 name                pigz
-version             2.1.6
-revision            1
+version             2.3
+revision            0
 categories          archivers
 platforms           darwin
@@ -19,13 +20,12 @@
 homepage            http://www.zlib.net/pigz/
 master_sites        ${homepage}
 
-checksums           md5     cbe9030c4be3d0ef2438ee5f8b169ca4 \
-                    sha1    df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 \
-                    rmd160  715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f
+checksums           rmd160  24a2edefd8661e6cf0e6f940f3674afaed8da21d \
+                    sha256  74bbd5962f9420549fc987ddd1ccda692ec2b29d2d612fbbe26edf3fa348ff21
 
 depends_lib         port:zlib
 
-patchfiles          patch-Makefile
+patchfiles          patch-Makefile.diff
 
 use_configure       no
 

Deleted: trunk/dports/archivers/pigz/files/patch-Makefile
===================================================================
--- trunk/dports/archivers/pigz/files/patch-Makefile	2013-03-18 13:20:27 UTC (rev 104158)
+++ trunk/dports/archivers/pigz/files/patch-Makefile	2013-03-18 13:55:42 UTC (rev 104159)
@@ -1,11 +0,0 @@
---- Makefile.orig	2010-01-17 15:16:18.000000000 -0600
-+++ Makefile	2010-04-29 21:14:20.000000000 -0500
-@@ -1,7 +1,7 @@
- CFLAGS=-O3
- 
- pigz: pigz.o yarn.o
--	cc -o pigz pigz.o yarn.o -lpthread -lz
-+	$(CC) $(LDFLAGS) -o pigz pigz.o yarn.o -lpthread -lz
- 	ln -f pigz unpigz
- 
- pigz.o: pigz.c yarn.h

Copied: trunk/dports/archivers/pigz/files/patch-Makefile.diff (from rev 104154, trunk/dports/archivers/pigz/files/patch-Makefile)
===================================================================
--- trunk/dports/archivers/pigz/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/archivers/pigz/files/patch-Makefile.diff	2013-03-18 13:55:42 UTC (rev 104159)
@@ -0,0 +1,38 @@
+--- Makefile.orig	2013-03-18 17:43:21.000000000 +0400
++++ Makefile	2013-03-18 17:47:25.000000000 +0400
+@@ -1,9 +1,6 @@
+-CC=cc
+-CFLAGS=-O3 -Wall -Wextra
+-
+ 
+ pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o
+-	$(CC) -o pigz $^ -lpthread -lz
++	$(CC) ${CFLAGS} ${LDFLAGS} -o pigz $^ -lpthread -lz
+ 	ln -f pigz unpigz
+ 
+ pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h
+@@ -31,19 +28,19 @@
+ dev: pigz pigzt pigzn
+ 
+ pigzt: pigzt.o yarnt.o
+-	$(CC) -o pigzt pigzt.o yarnt.o -lpthread -lz
++	$(CC) ${CFLAGS} ${LDFLAGS} -o pigzt pigzt.o yarnt.o -lpthread -lz
+ 
+ pigzt.o: pigz.c yarn.h
+-	$(CC) -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c
++	$(CC) ${CFLAGS} ${LDFLAGS} -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c
+ 
+ yarnt.o: yarn.c yarn.h
+-	$(CC) -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c
++	$(CC) ${CFLAGS} ${LDFLAGS} -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c
+ 
+ pigzn: pigzn.o
+-	$(CC) -o pigzn pigzn.o -lz
++	$(CC) ${CFLAGS} ${LDFLAGS} -o pigzn pigzn.o -lz
+ 
+ pigzn.o: pigz.c
+-	$(CC) -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c
++	$(CC) ${CFLAGS} ${LDFLAGS} -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c
+ 
+ test: pigz
+ 	./pigz -kf pigz.c ; ./pigz -t pigz.c.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130318/b7a92a90/attachment-0001.html>


More information about the macports-changes mailing list