Sun Aug 5 00:47:46 2012 UTC ()
Update to 2.2.5
Install the man file
Approved by: wiz@(maintainer)

Upstream changes;
pigz version 2.2.5 has been released and is now available at http://zlib.net/pigz/ .  The main changes since 2.2.4 are:
- Change suffix to .tar when decompressing or listing .tgz.
- Print name of executable in error messages.
- Show help properly when the name is unpigz or gunzip.
- Fix permissions security problem before output is closed.

pigz version 2.2.4 has been released and is now available at http://zlib.net/pigz/ .  The main changes since 2.2.3 are:
- Improve the portability of printing the off_t type
- Fix bug in zip (-K) output
- Remove thread portability #defines in pigz.c

pigz version 2.2.3 is now available at http://zlib.net/pigz/ .  The main changes since 2.1.7 are:
- Add --rsyncable functionality
- Improve thread portability
- Fix the printing of 32-bit check values when listing

pigz version 2.1.7 is now available at http://zlib.net/pigz/ .  The changes from 2.1.6 are:
- Avoid unused parameter warning in reenter()
- Don't assume 2's complement ints in compress_thread()
- Replicate gzip -cdf cat-like behavior
- Replicate gzip -- option to suppress option decoding
- Test output from make test instead of showing it
- Updated pigz.spec to install unpigz, pigz.1 [Obermaier]
- Add PIGZ environment variable [Mueller]
- Replicate gzip suffix search when decoding or listing
- Fix bug in load() to set in_left to zero on end of file
- Do not check suffix when input file won't be modified
- Decompress to stdout if name is "*cat" [Hayasaka]
- Write data descriptor signature to be like Info-ZIP
- Update and sort options list in help
- Use CC variable for compiler in Makefile
- Exit with code 2 if a warning has been issued
- Fix thread synchronization problem when tracing
- Change macro name MAX to MAX2 to avoid library conflicts
- Determine number of processors on HP-UX [Lloyd]


(wen)
diff -r1.3 -r1.4 pkgsrc/archivers/pigz/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/archivers/pigz/PLIST
diff -r1.4 -r1.5 pkgsrc/archivers/pigz/distinfo
diff -r1.1 -r1.2 pkgsrc/archivers/pigz/patches/patch-Makefile

cvs diff -r1.3 -r1.4 pkgsrc/archivers/pigz/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/pigz/Makefile 2010/01/25 00:09:45 1.3
+++ pkgsrc/archivers/pigz/Makefile 2012/08/05 00:47:45 1.4
@@ -1,25 +1,26 @@ @@ -1,25 +1,26 @@
1# $NetBSD: Makefile,v 1.3 2010/01/25 00:09:45 zafer Exp $ 1# $NetBSD: Makefile,v 1.4 2012/08/05 00:47:45 wen Exp $
2# 2#
3 3
4DISTNAME= pigz-2.1.6 4DISTNAME= pigz-2.2.5
5CATEGORIES= archivers 5CATEGORIES= archivers
6MASTER_SITES= http://zlib.net/pigz/ 6MASTER_SITES= http://zlib.net/pigz/
7 7
8MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
9HOMEPAGE= http://zlib.net/pigz/ 9HOMEPAGE= http://zlib.net/pigz/
10COMMENT= Parallel implementation of gzip 10COMMENT= Parallel implementation of gzip
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14INSTALLATION_DIRS= bin share/doc/pigz 14INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pigz
15 15
16BUILD_TARGET= pigz 16BUILD_TARGET= pigz
17 17
18do-install: 18do-install:
19 ${INSTALL_PROGRAM} ${WRKSRC}/pigz ${DESTDIR}${PREFIX}/bin 19 ${INSTALL_PROGRAM} ${WRKSRC}/pigz ${DESTDIR}${PREFIX}/bin
20 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pigz 20 ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pigz
 21 ${INSTALL_MAN} ${WRKSRC}/pigz.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
21 22
22BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 23BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
23.include "../../devel/zlib/buildlink3.mk" 24.include "../../devel/zlib/buildlink3.mk"
24.include "../../mk/pthread.buildlink3.mk" 25.include "../../mk/pthread.buildlink3.mk"
25.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/archivers/pigz/PLIST (expand / switch to unified diff)

--- pkgsrc/archivers/pigz/PLIST 2009/07/13 19:44:58 1.1.1.1
+++ pkgsrc/archivers/pigz/PLIST 2012/08/05 00:47:45 1.2
@@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/13 19:44:58 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.2 2012/08/05 00:47:45 wen Exp $
2bin/pigz 2bin/pigz
 3man/man1/pigz.1
3share/doc/pigz/README 4share/doc/pigz/README

cvs diff -r1.4 -r1.5 pkgsrc/archivers/pigz/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/pigz/distinfo 2011/11/29 06:06:23 1.4
+++ pkgsrc/archivers/pigz/distinfo 2012/08/05 00:47:45 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2011/11/29 06:06:23 sbd Exp $ 1$NetBSD: distinfo,v 1.5 2012/08/05 00:47:45 wen Exp $
2 2
3SHA1 (pigz-2.1.6.tar.gz) = df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 3SHA1 (pigz-2.2.5.tar.gz) = 8c7895c7891a4945050a2f6308b9fe3d6b4c28fc
4RMD160 (pigz-2.1.6.tar.gz) = 715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f 4RMD160 (pigz-2.2.5.tar.gz) = 314ca57edd1d18d0b8b5317c588d45672e61fb3e
5Size (pigz-2.1.6.tar.gz) = 52250 bytes 5Size (pigz-2.2.5.tar.gz) = 49717 bytes
6SHA1 (patch-Makefile) = 01cc47ba7ad377e7c92a85f368f0a952900c8fce 6SHA1 (patch-Makefile) = d5eeef4b68c9787f0ec3772418194a121789e81c

cvs diff -r1.1 -r1.2 pkgsrc/archivers/pigz/patches/patch-Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/pigz/patches/patch-Makefile 2011/11/29 06:06:23 1.1
+++ pkgsrc/archivers/pigz/patches/patch-Makefile 2012/08/05 00:47:45 1.2
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1$NetBSD: patch-Makefile,v 1.1 2011/11/29 06:06:23 sbd Exp $ 1$NetBSD: patch-Makefile,v 1.2 2012/08/05 00:47:45 wen Exp $
2 2
3Honor CFLAGS and LDFLAGS from pkgsrc. 3Honor CFLAGS and LDFLAGS from pkgsrc.
4 4
5--- Makefile.orig 2010-01-17 21:16:18.000000000 +0000 5--- Makefile.orig 2012-02-12 05:18:18.000000000 +0000
6+++ Makefile 6+++ Makefile
7@@ -1,7 +1,7 @@ 7@@ -1,8 +1,8 @@
8-CFLAGS=-O3 8 CC=cc
9+CFLAGS?=-O3 9-CFLAGS=-O3 -Wall -Wextra
 10+CFLAGS?=-O3 -Wall -Wextra
10  11
11 pigz: pigz.o yarn.o 12 pigz: pigz.o yarn.o
12- cc -o pigz pigz.o yarn.o -lpthread -lz 13- $(CC) -o pigz pigz.o yarn.o -lpthread -lz
13+ cc ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz 14+ $(CC) ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz
14 ln -f pigz unpigz 15 ln -f pigz unpigz
15  16
16 pigz.o: pigz.c yarn.h 17 pigz.o: pigz.c yarn.h