summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-02-27 08:59:10 +0000
committerwiz <wiz@pkgsrc.org>2007-02-27 08:59:10 +0000
commit632d851e6be989961654a67378ab8c716e27eecf (patch)
treedcd8e809177393bb3cc27003aad14f697c79e4e4 /archivers
parent0b92cb1e23f72ed7c0811a150faa570850a48f90 (diff)
downloadpkgsrc-632d851e6be989961654a67378ab8c716e27eecf.tar.gz
Update to 2.09:
2.00 Wed Apr 13 16:33:35 2005 This is a complete re-write of Compress::Bzip2. I left the in-memory compress routines much as is, compress and decompress. (re)created by h2xs 1.23 with options -b 5.6.0 -n Compress::Bzip2 bzlib.h I wanted Compress::Zlib compatibility cause I have s/w that uses Compress::Zlib and I wanted an easy migration path, since bzlib gives about 20-30% better compression on ascii files than gzip. This is a 2.x release. Since there was a change in authorship, I figured I should bump the major version number. I could have easily given this a slightly different name. Given the minimal functionality of version 1, that didn't seem like a useful thing to do. Heck, version 1 doesn't even work with bzlib 1.x, you have to patch in the BZ2_ prefixes, so my guess is that Compress::Bzip2 isn't being used in a lot of places. 2.01 Sat Apr 23 2005 - cleaned up for 64bit, HPUX PA-RISC 2.0W and itanium - fleshed out the Compress::Zlib compatibility, added a couple of tests for it. - added bzip2, bunzip2 and bzcat, which act like the bzip commands. - added some compatibility for windows, can't test it out really - added the bzlib library underneath - changed the test suite so that it does not rely on bzip2 being installed. - added a test to the Makefile.PL to determine whether or not the internal Bzlib is necessary. 2.02 Sat Apr 23 2005 - 2.01 rejected by PAUSE because the META.yml was invalid - learned how to do "make dist" 2.03 Sun Apr 24 2005 - didn't have config.in in the MANIFEST, the tarball was unbuildable. - rewrote the INSTALL, README to give help on the config.in options for locating your bzip2 installation. 2.04 Mon Apr 25 2005 - tested different styles of builds. confirmed some errors in the Makefile.PL test for bzip2 that were pointed out by Sisyphus. - Sisyphus reported some changes necessary for windows builds. I injected those changes into the code. one of them, adding aTHX_ to the call to PerlIO_binmode seems like a perl version thing. - added tests for internal_bzlib, copied from bzip2 1.0.2. 2.05 Wed Apr 27 2005 - cleaned up the pod so it's more presentable online. - win32 builds - the eye of the needle. Sisyphus has been doing most of the work. - cater to win32 nmake - :: ok but $^ not - cater to win32 dmake - :: bad but $^ ok - cater to win32 - use File::Spec catfile and rel2abs all over the place 2.06 Fri Apr 29 2005 - build for bzip2.exe fine tuning for win32 nmake 2.07 Sun May 1 2005 - bzlib-src/Makefile.PL had a stupid mistake in it that shows up for win32 nmake. I can't test that stuff out. Plus, got some new info from Sisyphus, so tossed my scribble and put in something known to work. - implemented Compress::Bzip2 1.03 compatibility layer to encompass the post-1.00 development thread taken by Marco Carnut and David Robins. Made an effort to include the three .t test files asis. - Why? Cause I found that PerlIO::via::Bzip2, by Arjen Laarhoven, is built on the streaming interface of 1.03. From looking over it, I gather it redirects a 1.03 compression/decompression stream to/from a file. It doesn't do the extra bit of fiddling with the trailers to make the resultant file usable by the bzip2 commands. Additionally, the 1.03 decompress stream doesn't handle the pause when an embedded EOF marker is found, which is an issue for files larger than the buffer size (900k by default). So, I figured it would be easy to provide a compatibility layer for packages that use 1.03. By using my stuff, the headers and trailers would be automatically taken care of, as would the EOF marker. Something like PerlIO::via::Bzip2 would then interoperate with bzip2 commands. Sure, I think bzread and bzwrite are better choices for file IO, but this is perl, right? There has to be at least 10 ways to do the same thing. 2.08 Wed May 11 2005 - Sisyphus got the win32 nmake problem licked. merging his stuff in. - perldoc changes for bzip2 1.03 compatibility. - got ownership of the module on cpan 2.09 Tue Aug 9 2005 - change email addy - patch for test 041-error.t, thanks to Dave Evans - prototype error for bzwrite, limit variable was not optional, thanks to Christian Drauch for pointing this out.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Compress-Bzip2/Makefile7
-rw-r--r--archivers/p5-Compress-Bzip2/distinfo9
-rw-r--r--archivers/p5-Compress-Bzip2/patches/patch-aa67
3 files changed, 7 insertions, 76 deletions
diff --git a/archivers/p5-Compress-Bzip2/Makefile b/archivers/p5-Compress-Bzip2/Makefile
index 1e8761dd23b..666944ce93d 100644
--- a/archivers/p5-Compress-Bzip2/Makefile
+++ b/archivers/p5-Compress-Bzip2/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:28:53 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2007/02/27 08:59:10 wiz Exp $
#
-DISTNAME= Compress-Bzip2-1.02
+DISTNAME= Compress-Bzip2-2.09
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 3
CATEGORIES= archivers perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/K/KC/KCARNUT/}
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/A/AR/ARJAY/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Compress-Bzip2/
diff --git a/archivers/p5-Compress-Bzip2/distinfo b/archivers/p5-Compress-Bzip2/distinfo
index 5c8ae402e81..919ff8f7100 100644
--- a/archivers/p5-Compress-Bzip2/distinfo
+++ b/archivers/p5-Compress-Bzip2/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 14:45:25 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/02/27 08:59:10 wiz Exp $
-SHA1 (Compress-Bzip2-1.02.tar.gz) = f1e0a59dfbc9f6684a522a685531f10cbd56180a
-RMD160 (Compress-Bzip2-1.02.tar.gz) = 44651f075050bf26ac88024885eeb151e9158feb
-Size (Compress-Bzip2-1.02.tar.gz) = 11501 bytes
-SHA1 (patch-aa) = 0f8d4311b11c95af7e17437c4f9b180bfecef613
+SHA1 (Compress-Bzip2-2.09.tar.gz) = bc13cb0ff9d5b39b770fe89580775a2199de8bef
+RMD160 (Compress-Bzip2-2.09.tar.gz) = 94a739858c9ac7ae32d4294da9b54a8cf35545ab
+Size (Compress-Bzip2-2.09.tar.gz) = 429584 bytes
diff --git a/archivers/p5-Compress-Bzip2/patches/patch-aa b/archivers/p5-Compress-Bzip2/patches/patch-aa
deleted file mode 100644
index 295a5fcd929..00000000000
--- a/archivers/p5-Compress-Bzip2/patches/patch-aa
+++ /dev/null
@@ -1,67 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2004/12/05 16:29:15 he Exp $
-
---- t/test.t.orig Tue Feb 16 15:24:51 1999
-+++ t/test.t
-@@ -1,45 +1,26 @@
--#! /usr/bin/env perl
--##
--## vi:ts=4
--##
--##---------------------------------------------------------------------------##
--##
--
-+use Test::More tests => 4;
- use Compress::Bzip2;
-
- my $SourceString;
- my $TargetString;
- my $TargetOutString;
--my $InputFile;
--my $OutputFile;
--
--if ($ARGV[0] ne '') { $InputFile=$ARGV[0]; }
--else { $InputFile='test.t'; }
--
--$OutputFile=">".$InputFile.".dek";
--
--if (-e $InputFile) {
-- open(INPUT, $InputFile);
-- while(<INPUT>) {
-- $SourceString.=$_;
-- }
-- print "\n\nDie Datei wurde eingelesen.\n";
-- print "Die OrginalDatei hat die Groesse: ".length($SourceString)."\n\n";
--
-- $TargetString=Compress::Bzip2::compress($SourceString);
-
-- print "Bzip-Com: ".length($TargetString)."\n";
--
-- $TargetOutString=Compress::Bzip2::decompress($TargetString);
--
--
-- print "Bzip-Dec: ".length($TargetOutString)."\n";
--
-- open(OUTPUT, $OutputFile);
-- print OUTPUT $TargetOutString;
-+my $inputFile;
-
-+if (-d 't') {
-+ $InputFile='t/test.t';
-+} else {
-+ $InputFile='test.t';
- }
--else {
-- print "Datei ".$InputFile." konnte nicht geoeffnet werden.";
-+
-+open(INPUT, $InputFile);
-+while(<INPUT>) {
-+ $SourceString.=$_;
- }
--#Ende
-+ok(length($SourceString), 'test file');
-+$TargetString=Compress::Bzip2::compress($SourceString);
-+ok($TargetString, 'compression');
-+# print "Bzip-Com ".length($TargetString)."\n";
-+$TargetOutString=Compress::Bzip2::decompress($TargetString);
-+ok($TargetOutString, 'decompression');
-+ok(length($TargetOutString) eq length($SourceString), 'compress/decompress');