--- libcompress-bzip2-perl-2.09.orig/debian/changelog +++ libcompress-bzip2-perl-2.09/debian/changelog @@ -0,0 +1,61 @@ +libcompress-bzip2-perl (2.09-2build2) precise; urgency=low + + * Rebuild for Perl 5.14. + + -- Colin Watson Tue, 15 Nov 2011 17:19:31 +0000 + +libcompress-bzip2-perl (2.09-2build1) oneiric; urgency=low + + * Rebuild for Perl 5.12. + + -- Colin Watson Sun, 08 May 2011 12:47:31 +0100 + +libcompress-bzip2-perl (2.09-2) unstable; urgency=low + + * Take over for the Debian Perl Group; Closes: #507393, #507387 -- RFA + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza); + ${misc:Depends} to Depends: field. Changed: Maintainer set to Debian + Perl Group (was: Timo + Schneider ). + * debian/watch: use dist-based URL. + * add me to Uploaders + * run 'dh-make-perl --refresh --dh 7' + - update to debhelper 7 + - new copyright format + - install docs + * update to Policy version 3.8.0 + * fix pod2man errors + - use quilt to make changes to upstream source + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + * move old maintainers direct changes to a quilt patch + + -- Ryan Niebur Mon, 01 Dec 2008 04:04:42 -0800 + +libcompress-bzip2-perl (2.09-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix bug compressing empty files (closes: #464205) + + -- Jeffrey Ratcliffe Wed, 21 May 2008 20:55:33 +0200 + +libcompress-bzip2-perl (2.09-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Conditionally remove $(TMP)/usr/share/perl5 (closes: #463555) + + -- Stephen Gran Sat, 05 Apr 2008 12:01:02 +0100 + +libcompress-bzip2-perl (2.09-1) unstable; urgency=low + + * New upstream release (Closes: #324698) + + -- Timo Schneider Mon, 29 Aug 2005 13:07:35 +0200 + +libcompress-bzip2-perl (2.08-1) unstable; urgency=low + + * Initial Release (Closes: #317064). + + -- Timo Schneider Sun, 3 Jul 2005 00:21:03 +0200 + --- libcompress-bzip2-perl-2.09.orig/debian/rules +++ libcompress-bzip2-perl-2.09/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libcompress-bzip2-perl-2.09.orig/debian/watch +++ libcompress-bzip2-perl-2.09/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=3 +http://search.cpan.org/dist/Compress-Bzip2/ .*/Compress-Bzip2-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libcompress-bzip2-perl-2.09.orig/debian/README.source +++ libcompress-bzip2-perl-2.09/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libcompress-bzip2-perl-2.09.orig/debian/compat +++ libcompress-bzip2-perl-2.09/debian/compat @@ -0,0 +1 @@ +7 --- libcompress-bzip2-perl-2.09.orig/debian/control +++ libcompress-bzip2-perl-2.09/debian/control @@ -0,0 +1,22 @@ +Source: libcompress-bzip2-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), perl (>= 5.8.0-7), libbz2-dev, bzip2, quilt +Maintainer: Debian Perl Group +Uploaders: Ryan Niebur +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Compress-Bzip2/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcompress-bzip2-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcompress-bzip2-perl/ + +Package: libcompress-bzip2-perl +Architecture: any +Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} +Description: Perl interface to Bzip2 compression library + The Compress::Bzip2 module provides a Perl interface to the Bzip2 + compression library, a relevant subset of the functionality provided + by Bzip2 is available in Compress::Bzip2. + . + The module can be split into two general areas of functionality, namely + in-memory compression/decompression and read/write access to bzip2 + files. --- libcompress-bzip2-perl-2.09.orig/debian/libcompress-bzip2-perl.docs +++ libcompress-bzip2-perl-2.09/debian/libcompress-bzip2-perl.docs @@ -0,0 +1,3 @@ +ANNOUNCE +NEWS +README --- libcompress-bzip2-perl-2.09.orig/debian/copyright +++ libcompress-bzip2-perl-2.09/debian/copyright @@ -0,0 +1,86 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Rob Janes, +Upstream-Source: http://search.cpan.org/dist/Compress-Bzip2/ +Upstream-Name: Compress-Bzip2 + +Files: * +Copyright: 2005 Rob Janes, + . + The Compress::Bzip2 module was originally written by Gawdi Azem + azemgi@rupert.informatik.uni-stuttgart.de. + . + The first Compress::Bzip2 module was written by Gawdi Azem + azemgi@rupert.informatik.uni-stuttgart.de. It provided an + interface to the in memory inflate and deflate routines. + . + Compress::Bzip2 was subsequently passed on to Marco Carnut + kiko@tempest.com.br who shepharded it through to version 1.03, a + set of changes which included upgrades to handle bzlib 1.0.2, and + improvements to the in memory inflate and deflate routines. The + streaming interface and error information were added by David Robins + dbrobins@davidrobins.net. +License: GPL-1+ | Artistic + +Files: debian/* +Copyright: 2008 Ryan Niebur +Copyright: 2005 Timo Schneider +License: Artistic | GPL-1+ + +Files: ppport.h +Copyright: 2001, Paul Marquess. +Copyright: 1999, Kenneth Albanowski. +License: GPL-1+ | Artistic + +Files: bzlib-src/* +Copyright: 1996-2002 Julian R Seward +License: other-BSD + +License: other-BSD + This program, "bzip2" and associated library "libbzip2", are + copyright (C) 1996-2002 Julian R Seward. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + + 3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libcompress-bzip2-perl-2.09.orig/debian/patches/fix-compressing-empty-files +++ libcompress-bzip2-perl-2.09/debian/patches/fix-compressing-empty-files @@ -0,0 +1,29 @@ +Without this patch it creates corrupt files when compressing empty files. +See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464205 + +--- a/Bzip2.xs ++++ b/Bzip2.xs +@@ -1485,8 +1485,6 @@ + return -2; + } + +- if (nUncompressed == 0) return 0; +- + while (True) { + if ( obj->run_progress == 0 ) { + ret = BZ2_bzCompressInit ( &(obj->strm), obj->blockSize100k, obj->verbosity, obj->workFactor ); +@@ -2253,12 +2251,10 @@ + else + bufp = SvPV(buf, len); + +- if (len) { +- RETVAL = bzfile_write( obj, bufp, len); ++ RETVAL = bzfile_write( obj, bufp, len); + +- if ( RETVAL > 0 ) ++ if ( RETVAL > 0 ) + SvCUR_set( buf, RETVAL ); +- } + } + + OUTPUT: --- libcompress-bzip2-perl-2.09.orig/debian/patches/fix-pod-errors +++ libcompress-bzip2-perl-2.09/debian/patches/fix-pod-errors @@ -0,0 +1,94 @@ +Fixes the manpage-has-errors-from-pod2man lintian warning. +See http://lintian.debian.org/tags/manpage-has-errors-from-pod2man.html + +--- a/lib/Compress/Bzip2.pm ++++ b/lib/Compress/Bzip2.pm +@@ -741,8 +741,6 @@ + module provides another interface, built over top of the low level bzlib + methods. + +-=over 5 +- + =head2 B<$bz = bzopen(filename or filehandle, mode)> + + This function returns an object which is used to access the other +@@ -915,8 +913,6 @@ + I errors. The I example below shows how the variable can + be used safely. + +-=back +- + =head1 Compress::Bzip2 1.03 COMPATIBILITY + + While the 2.x thread forked off of 1.00, another line of development +@@ -924,8 +920,6 @@ + improvements to the error handling, single buffer inflate/deflate, a + streaming interface to inflate/deflate, and a cpan style test suite. + +-=over 5 +- + =head2 B<$dest = compress( $string, [$level] )> + + Alias to memBzip, this compresses string, using the optional +@@ -980,8 +974,6 @@ + + Alias to total_out. Total bytes received from the stream. + +-=back +- + =head1 GZIP COMPATIBILITY INTERFACE + + Except for the exact state and error numbers, this package presents an +@@ -1006,8 +998,6 @@ + Some of the Compress::Zlib aliases don't return anything useful, like + crc32 or adler32, cause bzip2 doesn't do that sort of thing. + +-=over 5 +- + =head2 B< $gz = gzopen( $filename, $mode ) > + + Alias for bzopen. +@@ -1102,16 +1092,12 @@ + + Alias for memBunzip. + +-=back +- + =head1 IN-MEMORY COMPRESS/UNCOMPRESS + + Two high-level functions are provided by I to perform in-memory + compression. They are B and B. Two Perl subs are + provided which provide similar functionality. + +-=over 5 +- + =head2 B<$compressed = memBzip($buffer);> + + Compresses B<$source>. If successful it returns the compressed +@@ -1133,8 +1119,6 @@ + contents of the buffer parameter are destroyed after calling this + function. + +-=back +- + =head1 STREAM DEFLATE + + The Perl interface will I consume the complete input buffer +@@ -1379,8 +1363,6 @@ + + Here are some example scripts of using the interface. + +-=over 5 +- + =head2 B + + use strict ; +@@ -1455,8 +1437,6 @@ + + $bz->bzclose ; + +-=back +- + =head1 EXPORT + + Use the tags :all, :utilities, :constants, :bzip1 and :gzip. --- libcompress-bzip2-perl-2.09.orig/debian/patches/series +++ libcompress-bzip2-perl-2.09/debian/patches/series @@ -0,0 +1,2 @@ +fix-compressing-empty-files +fix-pod-errors