r27556 - in /trunk/libcompress-bzip2-perl: Bzip2.xs debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules debian/watch

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Mon Dec 1 10:33:31 UTC 2008


Author: ryan52-guest
Date: Mon Dec  1 10:33:10 2008
New Revision: 27556

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27556
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libcompress-bzip2-perl/debian/
    trunk/libcompress-bzip2-perl/debian/changelog
    trunk/libcompress-bzip2-perl/debian/compat
    trunk/libcompress-bzip2-perl/debian/control
    trunk/libcompress-bzip2-perl/debian/copyright
    trunk/libcompress-bzip2-perl/debian/rules   (with props)
    trunk/libcompress-bzip2-perl/debian/watch
Modified:
    trunk/libcompress-bzip2-perl/Bzip2.xs

Modified: trunk/libcompress-bzip2-perl/Bzip2.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/Bzip2.xs?rev=27556&op=diff
==============================================================================
--- trunk/libcompress-bzip2-perl/Bzip2.xs (original)
+++ trunk/libcompress-bzip2-perl/Bzip2.xs Mon Dec  1 10:33:10 2008
@@ -1484,8 +1484,6 @@
   else {
     return -2;
   }
-
-  if (nUncompressed == 0) return 0;
 
   while (True) {
     if ( obj->run_progress == 0 ) {
@@ -2253,12 +2251,10 @@
     else
       bufp = SvPV(buf, len);
 
-    if (len) {
-      RETVAL = bzfile_write( obj, bufp, len);
-
-      if ( RETVAL > 0 )
+    RETVAL = bzfile_write( obj, bufp, len);
+
+    if ( RETVAL > 0 )
 	SvCUR_set( buf, RETVAL );
-    }
   }
 
   OUTPUT:

Added: trunk/libcompress-bzip2-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/changelog?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/changelog (added)
+++ trunk/libcompress-bzip2-perl/debian/changelog Mon Dec  1 10:33:10 2008
@@ -1,0 +1,26 @@
+libcompress-bzip2-perl (2.09-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix bug compressing empty files (closes: #464205)
+
+ -- Jeffrey Ratcliffe <Jeffrey.Ratcliffe at gmail.com>  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 <sgran at debian.org>  Sat, 05 Apr 2008 12:01:02 +0100
+
+libcompress-bzip2-perl (2.09-1) unstable; urgency=low
+
+  * New upstream release (Closes: #324698)
+
+ -- Timo Schneider <timo.schneider at s2004.tu-chemnitz.de>  Mon, 29 Aug 2005 13:07:35 +0200
+
+libcompress-bzip2-perl (2.08-1) unstable; urgency=low
+
+  * Initial Release (Closes: #317064).
+
+ -- Timo Schneider <timo.schneider at s2004.tu-chemnitz.de>  Sun,  3 Jul 2005 00:21:03 +0200
+

Added: trunk/libcompress-bzip2-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/compat?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/compat (added)
+++ trunk/libcompress-bzip2-perl/debian/compat Mon Dec  1 10:33:10 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libcompress-bzip2-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/control?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/control (added)
+++ trunk/libcompress-bzip2-perl/debian/control Mon Dec  1 10:33:10 2008
@@ -1,0 +1,18 @@
+Source: libcompress-bzip2-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7), libbz2-dev, bzip2
+Maintainer: Timo Schneider <timo.schneider at s2004.tu-chemnitz.de>
+Standards-Version: 3.6.2
+
+Package: libcompress-bzip2-perl
+Architecture: any
+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.

Added: trunk/libcompress-bzip2-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/copyright?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/copyright (added)
+++ trunk/libcompress-bzip2-perl/debian/copyright Mon Dec  1 10:33:10 2008
@@ -1,0 +1,21 @@
+This is the debian package for the Compress::Bzip2 module, which can 
+be found on CPAN (www.cpan.org).
+
+It was created by Timo Schneider <timo.schneider at s2004.tu-chemnitz.de>
+The upstream author is: Rob Janes, <rwjanes at primus.ca>
+
+The Compress::Bzip2 module was originally written by Gawdi Azem
+azemgi at rupert.informatik.uni-stuttgart.de.
+
+Compress::Bzip2 was subsequently passed on to Marco Carnut
+kiko at tempest.com.br who shepharded it through to version 1.03, 
+The streaming interface and error information were added by David Robins
+dbrobins at davidrobins.net..
+
+
+Copyright (C) 2005 by Rob Janes
+
+This library may be redistributed under the terms of either the GNU 
+General Public License or the Artistic License.  On a Debian GNU/Linux
+systems, the complete text of these licenses may be found in the files
+/usr/share/common-licenses/GPL or /usr/share/common-licenses/Artistic}.

Added: trunk/libcompress-bzip2-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/rules?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/rules (added)
+++ trunk/libcompress-bzip2-perl/debian/rules Mon Dec  1 10:33:10 2008
@@ -1,0 +1,91 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	rm -f build-stamp install-stamp show_bzversion
+
+	# Add commands to clean up after the build process here
+	-$(MAKE) realclean
+
+	dh_clean
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add commands to install the package into debian/$PACKAGE_NAME here
+	-$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	# As this is a architecture dependent package, we are not
+	# supposed to install stuff to /usr/share. MakeMaker creates
+	# the dirs, we delete them from the deb:
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs ANNOUNCE README NEWS
+	dh_installchangelogs Changes
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_perl 
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libcompress-bzip2-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libcompress-bzip2-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcompress-bzip2-perl/debian/watch?rev=27556&op=file
==============================================================================
--- trunk/libcompress-bzip2-perl/debian/watch (added)
+++ trunk/libcompress-bzip2-perl/debian/watch Mon Dec  1 10:33:10 2008
@@ -1,0 +1,3 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+http://www.cpan.org/modules/by-module/Compress/Compress-Bzip2-(.*)(.tar.gz|.tar|.tgz)




More information about the Pkg-perl-cvs-commits mailing list