pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/p5-Compress-Bzip2 Update p5-Compress-Bzip2 f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/858617071661
branches: trunk
changeset: 485254:858617071661
user: he <he%pkgsrc.org@localhost>
date: Sun Dec 05 16:29:15 2004 +0000
description:
Update p5-Compress-Bzip2 from version 1.01 to 1.02.
No change log available.
diffstat:
archivers/p5-Compress-Bzip2/Makefile | 6 +-
archivers/p5-Compress-Bzip2/distinfo | 8 +-
archivers/p5-Compress-Bzip2/patches/patch-aa | 65 ++++++++++++++-------------
3 files changed, 40 insertions(+), 39 deletions(-)
diffs (128 lines):
diff -r ced22f535e0f -r 858617071661 archivers/p5-Compress-Bzip2/Makefile
--- a/archivers/p5-Compress-Bzip2/Makefile Sun Dec 05 16:13:03 2004 +0000
+++ b/archivers/p5-Compress-Bzip2/Makefile Sun Dec 05 16:29:15 2004 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:13:04 tv Exp $
+# $NetBSD: Makefile,v 1.4 2004/12/05 16:29:15 he Exp $
#
-DISTNAME= Compress-Bzip2-1.01
+DISTNAME= Compress-Bzip2-1.02
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= archivers perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/Z/ZO/ZOOVY/}
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/K/KC/KCARNUT/}
MAINTAINER= tech-pkg%NetBSD.org@localhost
HOMEPAGE= http://search.cpan.org/dist/Compress-Bzip2/
diff -r ced22f535e0f -r 858617071661 archivers/p5-Compress-Bzip2/distinfo
--- a/archivers/p5-Compress-Bzip2/distinfo Sun Dec 05 16:13:03 2004 +0000
+++ b/archivers/p5-Compress-Bzip2/distinfo Sun Dec 05 16:29:15 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2004/11/13 21:11:18 seb Exp $
+$NetBSD: distinfo,v 1.3 2004/12/05 16:29:15 he Exp $
-SHA1 (Compress-Bzip2-1.01.tar.gz) = f4007dc7f800f9bea1198bc2376830913cee43f6
-Size (Compress-Bzip2-1.01.tar.gz) = 18334 bytes
-SHA1 (patch-aa) = fc6a172067643aeb58e484f4d8b0568b8746106f
+SHA1 (Compress-Bzip2-1.02.tar.gz) = f1e0a59dfbc9f6684a522a685531f10cbd56180a
+Size (Compress-Bzip2-1.02.tar.gz) = 11501 bytes
+SHA1 (patch-aa) = 0f8d4311b11c95af7e17437c4f9b180bfecef613
diff -r ced22f535e0f -r 858617071661 archivers/p5-Compress-Bzip2/patches/patch-aa
--- a/archivers/p5-Compress-Bzip2/patches/patch-aa Sun Dec 05 16:13:03 2004 +0000
+++ b/archivers/p5-Compress-Bzip2/patches/patch-aa Sun Dec 05 16:29:15 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1 2004/11/13 21:11:19 seb Exp $
+$NetBSD: patch-aa,v 1.2 2004/12/05 16:29:15 he Exp $
---- t/test.t.orig 2000-11-02 20:26:16.000000000 +0000
+--- t/test.t.orig Tue Feb 16 15:24:51 1999
+++ t/test.t
-@@ -1,44 +1,28 @@
+@@ -1,45 +1,26 @@
-#! /usr/bin/env perl
-##
-## vi:ts=4
@@ -16,51 +16,52 @@
my $SourceString;
my $TargetString;
my $TargetOutString;
+-my $InputFile;
-my $OutputFile;
--my $InputFile = "";
-
--if ($ARGV[0]) { $InputFile=$ARGV[0]; }
--else { $InputFile='t/test.t'; }
-+my $InputFile;
-
+-if ($ARGV[0] ne '') { $InputFile=$ARGV[0]; }
+-else { $InputFile='test.t'; }
+-
-$OutputFile=">".$InputFile.".dek";
-+if (-d 't') {
-+ $InputFile='t/test.t';
-+} else {
-+ $InputFile='test.t';
-+}
-
+-
-if (-e $InputFile) {
- open(INPUT, $InputFile);
- while(<INPUT>) {
-+open(INPUT, $InputFile);
-+while(<INPUT>) {
- $SourceString.=$_;
+- $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);
-+}
-+ok(length($SourceString), 'test file');
-
+-
+-
- print "Bzip-Dec: ".length($TargetOutString)."\n";
-+$TargetString=Compress::Bzip2::compress($SourceString);
-+ok($TargetString, 'compression');
-+# print "Bzip-Com: ".length($TargetString)."\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');
-
--}
--else {
-- print "Datei ".$InputFile." konnte nicht geoeffnet werden.";
--}
--#Ende
-+ok(length($TargetOutString) eq length($SourceString), 'compression/decompression');
++ok(length($TargetOutString) eq length($SourceString), 'compress/decompress');
Home |
Main Index |
Thread Index |
Old Index