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]diff -r1.3 -r1.4 pkgsrc/archivers/pigz/Makefile
(wen)
@@ -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 | |||
4 | DISTNAME= pigz-2.1.6 | 4 | DISTNAME= pigz-2.2.5 | |
5 | CATEGORIES= archivers | 5 | CATEGORIES= archivers | |
6 | MASTER_SITES= http://zlib.net/pigz/ | 6 | MASTER_SITES= http://zlib.net/pigz/ | |
7 | 7 | |||
8 | MAINTAINER= wiz@NetBSD.org | 8 | MAINTAINER= wiz@NetBSD.org | |
9 | HOMEPAGE= http://zlib.net/pigz/ | 9 | HOMEPAGE= http://zlib.net/pigz/ | |
10 | COMMENT= Parallel implementation of gzip | 10 | COMMENT= Parallel implementation of gzip | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | INSTALLATION_DIRS= bin share/doc/pigz | 14 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pigz | |
15 | 15 | |||
16 | BUILD_TARGET= pigz | 16 | BUILD_TARGET= pigz | |
17 | 17 | |||
18 | do-install: | 18 | do-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 | |||
22 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 | 23 | BUILDLINK_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" |
@@ -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 $ | |
2 | bin/pigz | 2 | bin/pigz | |
3 | man/man1/pigz.1 | |||
3 | share/doc/pigz/README | 4 | share/doc/pigz/README |
@@ -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 | |||
3 | SHA1 (pigz-2.1.6.tar.gz) = df05bdcc7b08246a3c1e6a2ab2edc7d0a45c0369 | 3 | SHA1 (pigz-2.2.5.tar.gz) = 8c7895c7891a4945050a2f6308b9fe3d6b4c28fc | |
4 | RMD160 (pigz-2.1.6.tar.gz) = 715a90eefbb9d2f6dbd94ec7ee196a0ea7b32e7f | 4 | RMD160 (pigz-2.2.5.tar.gz) = 314ca57edd1d18d0b8b5317c588d45672e61fb3e | |
5 | Size (pigz-2.1.6.tar.gz) = 52250 bytes | 5 | Size (pigz-2.2.5.tar.gz) = 49717 bytes | |
6 | SHA1 (patch-Makefile) = 01cc47ba7ad377e7c92a85f368f0a952900c8fce | 6 | SHA1 (patch-Makefile) = d5eeef4b68c9787f0ec3772418194a121789e81c |
@@ -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 | |||
3 | Honor CFLAGS and LDFLAGS from pkgsrc. | 3 | Honor 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 |