r24370 - in /trunk/libmail-mboxparser-perl/debian: README.source changelog patches/00list patches/01_fix_messageparser_interaction.dpatch patches/fix_messageparser_interaction patches/series rules
diocles-guest at users.alioth.debian.org
diocles-guest at users.alioth.debian.org
Sat Aug 16 06:14:19 UTC 2008
Author: diocles-guest
Date: Sat Aug 16 06:14:10 2008
New Revision: 24370
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24370
Log:
* debian/patches/00list: Remove.
* debian/patches/01_fix_messageparser_interaction.dpatch:
+ Rename to just fix_messageparser_interaction.
+ Quilt refresh, and add a description.
* debian/patches/series: New file.
* debian/README.source: New file.
Added:
trunk/libmail-mboxparser-perl/debian/README.source
trunk/libmail-mboxparser-perl/debian/patches/fix_messageparser_interaction
trunk/libmail-mboxparser-perl/debian/patches/series
Removed:
trunk/libmail-mboxparser-perl/debian/patches/00list
trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch
Modified:
trunk/libmail-mboxparser-perl/debian/changelog
trunk/libmail-mboxparser-perl/debian/rules
Added: trunk/libmail-mboxparser-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/README.source?rev=24370&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/README.source (added)
+++ trunk/libmail-mboxparser-perl/debian/README.source Sat Aug 16 06:14:10 2008
@@ -1,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.
Modified: trunk/libmail-mboxparser-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/changelog?rev=24370&op=diff
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/changelog (original)
+++ trunk/libmail-mboxparser-perl/debian/changelog Sat Aug 16 06:14:10 2008
@@ -2,8 +2,6 @@
TODO (at least)
- Change copyright file to new format
- - add quilt rules
- - README.source
* Take over for the Debian Perl Group. (Closes: #460181)
* debian/compat: Bump from 4 to 7.
@@ -21,10 +19,14 @@
+ Revise Description.
* debian/libmail-mboxparser-perl.examples:
+ New file; ship upstream example scripts.
- * debian/rules:
- + Replace with dh7 rules file from dh-make-perl.
- * debian/watch:
- + New watch file courtesy of dh-make-perl.
+ * debian/patches/00list: Remove.
+ * debian/patches/01_fix_messageparser_interaction.dpatch:
+ + Rename to just fix_messageparser_interaction.
+ + Quilt refresh, and add a description.
+ * debian/patches/series: New file.
+ * debian/README.source: New file.
+ * debian/rules: Rewrite.
+ * debian/watch: New watch file courtesy of dh-make-perl.
-- Tim Retout <tim at retout.co.uk> Fri, 15 Aug 2008 22:14:50 -0300
Added: trunk/libmail-mboxparser-perl/debian/patches/fix_messageparser_interaction
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/patches/fix_messageparser_interaction?rev=24370&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/patches/fix_messageparser_interaction (added)
+++ trunk/libmail-mboxparser-perl/debian/patches/fix_messageparser_interaction Sat Aug 16 06:14:10 2008
@@ -1,0 +1,34 @@
+fix_messageparser_interaction
+
+Fix hang during t/3_while test with recent Mail::Mbox::MessageParser.
+See Debian bug #395268.
+Patch by David Coppit <david at coppit.org>
+
+--- a/MboxParser.pm
++++ b/MboxParser.pm
+@@ -519,7 +519,6 @@
+
+ return undef if ref(\$p) eq 'SCALAR' or $p->end_of_file;
+
+- seek $self->{READER}, $self->{CURR_POS}, SEEK_SET;
+ my $nl = $self->{NL};
+ my $mailref = $p->read_next_email;
+ my ($header, $body) = split /$nl$nl/, $$mailref, 2;
+@@ -793,7 +792,8 @@
+ my $self = shift;
+ my $h = $self->{READER};
+ my $newline;
+-
++
++ my $old_position = tell $h;
+ seek $h, 0, SEEK_SET;
+ while (sysread $h, (my $c), 1) {
+ if (ord($c) == 13) {
+@@ -807,6 +807,7 @@
+ last;
+ }
+ }
++ seek($h, $old_position, 0);
+ return $newline;
+ }
+
Added: trunk/libmail-mboxparser-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/patches/series?rev=24370&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/patches/series (added)
+++ trunk/libmail-mboxparser-perl/debian/patches/series Sat Aug 16 06:14:10 2008
@@ -1,0 +1,1 @@
+fix_messageparser_interaction
Modified: trunk/libmail-mboxparser-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/rules?rev=24370&op=diff
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/rules (original)
+++ trunk/libmail-mboxparser-perl/debian/rules Sat Aug 16 06:14:10 2008
@@ -1,11 +1,13 @@
#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
build: build-stamp
-build-stamp:
+build-stamp: patch
dh build
touch $@
-clean:
+clean: unpatch
dh $@
install: install-stamp
More information about the Pkg-perl-cvs-commits
mailing list