diff options
author | fhajny <fhajny@pkgsrc.org> | 2011-09-16 15:39:29 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2011-09-16 15:39:29 +0000 |
commit | 60e8682b4f322225ea766cc8e48f8f7b33435e01 (patch) | |
tree | 0adadef8e35bbb966cf5e2acf374a7a978e03bfe | |
parent | 9ce196a4c9c0b3dd1ee20dad7e3b53e0c8eddb35 (diff) | |
download | pkgsrc-60e8682b4f322225ea766cc8e48f8f7b33435e01.tar.gz |
Updated archivers/pbzip2 to 1.1.5.
Changes in 1.1.5 (Jul 16, 2011)
- Fixed excessive output permissions while compress/decompress
is in progress (bug #807536)
Changes in 1.1.4 (Apr 22, 2011)
- Fixed hang on decompress with --ignore-trailing-garbage=1 when
producer is interrupted on trailing garbage (bug #762464)
- Added example to help for decompression piped to tar (bug #746806)
- Fixed typo in Trailing Garbage printed message (bug #746799)
Changes in 1.1.3 (Mar 27, 2011)
- Print trailing garbage errors even when in quiet mode (bug #743635)
- Default extension on decompress of .tbz2 changed to .tar for
bzip2 compatibility (bug #743639)
- Fixed hang on decompress with --ignore-trailing-garbage=1 and higher
numCPU (e.g. > 2) (bug #740502)
Changes in 1.1.2 (Feb 19, 2011)
- Fix directdecompress segfault when destination file can't be
opened (e.g. read-only) (bug #717852)
- Implemented --ignore-trailing-garbage feature (bug #594868)
- Fixed hang on decompress of some truncated archives (bug #590225)
- Pulled an error check out of normal logic block for clarity
- Debug print added after BZ2_bzDecompress to track it's return code.
- A debug print fixed in queue::remove
- Increased max memory usage limit from 1GB to 2GB
- If no -m switch given on command line, default max memory limit
will now automatically increase from 100 MB to minimum amount
of memory required to support the number of CPUs requested
- Improved performance when output buffer is full
- Fixed bug which caused hang while decompressing prematurely
truncated bzip2 stream
- Consumer_decompress throttling modified to prevent potential
deadlock/infinite loop in certain situations (Thanks to Laszlo
Ersek for finding and helping track down the cause of this bug)
- Fixed deadlock bug and performance issue when consumer working
with long bzip2 sequences (Thanks to Tanguy Fautre for finding)
- Fixed error message for block size range (max size was wrong)
- Moved #include <pthread.h> from pbzip2.cpp to pbzip2.h to fix
OS/2 compiler issue
Changes in 1.1.1 (Apr 17, 2010)
- Modified decompression to use low-level libbz2 API to improve
performance of long bzip2 streams of large single-stream bzip2
blocks
- This release should now decompress files created with bzip2
at least as fast as bzip2 or slightly faster
- Handle decompression of long bzip2 streams incrementally
instead of loading whole stream in memory at once
- Fixed issue in safe_cond_timed_wait which caused segmentation
fault when compiled in DEBUG mode
- Fixed issue with Sun Studio compiler - required explicit
declaration of static const members in .cpp
Changes in 1.1.0 (Mar 13, 2010)
- Added support for multi-threaded decompression using STDIN/pipes
- Added code to support throttling compression to prevent memory
exhaustion with slow output pipe
- Added -m switch to specify max memory usage amount before
throttling starts (default 100MB)
- Fixed bug that did not allow command line parameters to be used
when compressing data from STDIN
- Added long options to man page and -h output
- Added --loadavg, --read long options
- Added support for CPU detection on Win32
- Major improvements to protection of shared variables, error and
signal handling, program termination
- Added -S switch for thread stack size customization
(needs USE_STACKSIZE_CUSTOMIZATION defined when compiling)
- Fixed command line parsing bug for -b, -p, -m switches
- Fixed infinite loop when fileWriter fails to create output
file at start
- Fixed bug that deleted input filename (with .bz2 extension for
compression and without .bz2 extension for decompression) when
a user interrupts process with CTRL-C while outputting to STDOUT
- Fixed bug where 0 byte files were not processed properly when
data input from STDIN
- Ignores fwrite return and passes chown errors in writeFileMetaData
if effective uid root
- OutputBuffer usage redesigned as fixed-size circular buffer
- Lots of minor bugs fixed (see AUTHORS or pbzip2.cpp for full details)
- Special thanks to Yavor Nikolov for providing the majority of
contributions to this release and a significant amount of testing
-rw-r--r-- | archivers/pbzip2/Makefile | 14 | ||||
-rw-r--r-- | archivers/pbzip2/PLIST | 4 | ||||
-rw-r--r-- | archivers/pbzip2/distinfo | 8 |
3 files changed, 18 insertions, 8 deletions
diff --git a/archivers/pbzip2/Makefile b/archivers/pbzip2/Makefile index a89b93c8be2..ec16f668bda 100644 --- a/archivers/pbzip2/Makefile +++ b/archivers/pbzip2/Makefile @@ -1,13 +1,14 @@ -# $NetBSD: Makefile,v 1.22 2009/01/12 15:25:12 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2011/09/16 15:39:29 fhajny Exp $ # -DISTNAME= pbzip2-1.0.5 +DISTNAME= pbzip2-1.1.5 CATEGORIES= archivers MASTER_SITES= http://compression.ca/pbzip2/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://compression.ca/pbzip2/ COMMENT= Parallel implementation of the bzip2 block-sorting file compressor +#LICENSE= pbzip2-license PKG_DESTDIR_SUPPORT= user-destdir @@ -18,17 +19,24 @@ USE_LANGUAGES= c++ CPPFLAGS+= -D_LARGEFILE_SOURCE=1 CPPFLAGS+= -D_FILE_OFFSET_BITS=64 +CPPFLAGS+= -D_POSIX_PTHREAD_SEMANTICS +CPPFLAGS+= -DUSE_STACKSIZE_CUSTOMIZATION LIBS+= -lbz2 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/pbzip2 do-build: cd ${WRKSRC} && \ - ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -o pbzip2 pbzip2.cpp ${LIBS} + ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} -o pbzip2 pbzip2.cpp \ + BZ2StreamScanner.cpp ${LIBS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pbzip2 \ ${DESTDIR}${PREFIX}/bin + ${LN} -s ${DESTDIR}${PREFIX}/bin/pbzip2 \ + ${DESTDIR}${PREFIX}/bin/pbunzip2 + ${LN} -s ${DESTDIR}${PREFIX}/bin/pbzip2 \ + ${DESTDIR}${PREFIX}/bin/pbzcat ${INSTALL_DATA} ${WRKSRC}/pbzip2.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_DATA} ${WRKSRC}/COPYING \ diff --git a/archivers/pbzip2/PLIST b/archivers/pbzip2/PLIST index d32ec7a4bf6..a6568474e81 100644 --- a/archivers/pbzip2/PLIST +++ b/archivers/pbzip2/PLIST @@ -1,5 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 17:28:17 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2011/09/16 15:39:29 fhajny Exp $ bin/pbzip2 +bin/pbunzip2 +bin/pbzcat man/man1/pbzip2.1 share/doc/pbzip2/COPYING share/doc/pbzip2/README diff --git a/archivers/pbzip2/distinfo b/archivers/pbzip2/distinfo index 91fcbd9073e..5e8d519d62e 100644 --- a/archivers/pbzip2/distinfo +++ b/archivers/pbzip2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2009/01/12 15:25:12 wiz Exp $ +$NetBSD: distinfo,v 1.16 2011/09/16 15:39:29 fhajny Exp $ -SHA1 (pbzip2-1.0.5.tar.gz) = a4ebe13d9168af17789ef0b49072c64e381d6c71 -RMD160 (pbzip2-1.0.5.tar.gz) = 31b390b3023d8d5b64496b5bb43a11fc253a5b62 -Size (pbzip2-1.0.5.tar.gz) = 26997 bytes +SHA1 (pbzip2-1.1.5.tar.gz) = 047d4d6403a6663a2247f1c194e67dc9f787c807 +RMD160 (pbzip2-1.1.5.tar.gz) = 4892bf6e88af3a2cd0fca904b2a4862f9778664a +Size (pbzip2-1.1.5.tar.gz) = 51337 bytes |