r5407 - in /packages/libarchive-tar-perl/trunk/debian: changelog control patches/ patches/00list patches/10_dont_warn_when_only_checking.dpatch rules

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Mon May 14 15:49:35 UTC 2007


Author: gwolf
Date: Mon May 14 15:49:34 2007
New Revision: 5407

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=5407
Log:
No longer sends out an error when checking for the existence of a file

Added:
    packages/libarchive-tar-perl/trunk/debian/patches/
    packages/libarchive-tar-perl/trunk/debian/patches/00list
    packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch   (with props)
Modified:
    packages/libarchive-tar-perl/trunk/debian/changelog
    packages/libarchive-tar-perl/trunk/debian/control
    packages/libarchive-tar-perl/trunk/debian/rules

Modified: packages/libarchive-tar-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libarchive-tar-perl/trunk/debian/changelog?rev=5407&op=diff
==============================================================================
--- packages/libarchive-tar-perl/trunk/debian/changelog (original)
+++ packages/libarchive-tar-perl/trunk/debian/changelog Mon May 14 15:49:34 2007
@@ -1,3 +1,11 @@
+libarchive-tar-perl (1.30-3) unstable; urgency=low
+
+  * No longer sends out warnings when checking whether a file exists
+    inside an archive (Closes: #318497)
+  * Added dpatch framework (and, of course, build-dependency)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Mon, 14 May 2007 10:48:59 -0500
+
 libarchive-tar-perl (1.30-2) unstable; urgency=low
 
   [ gregor herrmann ]

Modified: packages/libarchive-tar-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libarchive-tar-perl/trunk/debian/control?rev=5407&op=diff
==============================================================================
--- packages/libarchive-tar-perl/trunk/debian/control (original)
+++ packages/libarchive-tar-perl/trunk/debian/control Mon May 14 15:49:34 2007
@@ -2,10 +2,10 @@
 Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Alexis Sukrieh <sukria at debian.org>
+Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>, Alexis Sukrieh <sukria at debian.org>, Gunnar Wolf <gwolf at debian.org>
 XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/packages/libarchive-tar-perl/trunk/
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), dpatch
 Build-Depends-Indep: perl (>> 5.8.1)
 
 Package: libarchive-tar-perl

Added: packages/libarchive-tar-perl/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libarchive-tar-perl/trunk/debian/patches/00list?rev=5407&op=file
==============================================================================
--- packages/libarchive-tar-perl/trunk/debian/patches/00list (added)
+++ packages/libarchive-tar-perl/trunk/debian/patches/00list Mon May 14 15:49:34 2007
@@ -1,0 +1,1 @@
+10_dont_warn_when_only_checking.dpatch

Added: packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch?rev=5407&op=file
==============================================================================
--- packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch (added)
+++ packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch Mon May 14 15:49:34 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_dont_warn_when_only_checking.dpatch by  <gwolf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Turns off the warnings reporting when the user requests to check whether a file
+## DP: is or not part of the archive. (see bug #318497)
+
+ at DPATCH@
+diff -urNad trunk~/lib/Archive/Tar.pm trunk/lib/Archive/Tar.pm
+--- trunk~/lib/Archive/Tar.pm	2007-05-14 10:32:03.000000000 -0500
++++ trunk/lib/Archive/Tar.pm	2007-05-14 10:42:23.000000000 -0500
+@@ -408,7 +408,10 @@
+     my $self = shift;
+     my $full = shift or return;
+ 
++    my $tmp_warn = $WARN;
++    $WARN = 0;
+     return 1 if $self->_find_entry($full);
++    $WARN = $tmp_warn;
+     return;
+ }
+ 

Propchange: packages/libarchive-tar-perl/trunk/debian/patches/10_dont_warn_when_only_checking.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/libarchive-tar-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libarchive-tar-perl/trunk/debian/rules?rev=5407&op=diff
==============================================================================
--- packages/libarchive-tar-perl/trunk/debian/rules (original)
+++ packages/libarchive-tar-perl/trunk/debian/rules Mon May 14 15:49:34 2007
@@ -9,6 +9,8 @@
 
 version	:= $(shell dpkg-parsechangelog | \
                         sed -ne 's/Version: *\([0-9]\+:\)*//p')
+
+include /usr/share/dpatch/dpatch.make
 
 tag:
 	cvs tag -c -F $(subst .,_,debian_version_$(version))




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