r24350 - in /trunk/libmail-mboxparser-perl/debian: ./ changelog compat control copyright patches/ patches/00list patches/01_fix_messageparser_interaction.dpatch rules
diocles-guest at users.alioth.debian.org
diocles-guest at users.alioth.debian.org
Sat Aug 16 01:13:31 UTC 2008
Author: diocles-guest
Date: Sat Aug 16 01:13:20 2008
New Revision: 24350
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24350
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libmail-mboxparser-perl/debian/
trunk/libmail-mboxparser-perl/debian/changelog
trunk/libmail-mboxparser-perl/debian/compat
trunk/libmail-mboxparser-perl/debian/control
trunk/libmail-mboxparser-perl/debian/copyright
trunk/libmail-mboxparser-perl/debian/patches/
trunk/libmail-mboxparser-perl/debian/patches/00list
trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch (with props)
trunk/libmail-mboxparser-perl/debian/rules (with props)
Added: trunk/libmail-mboxparser-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/changelog?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/changelog (added)
+++ trunk/libmail-mboxparser-perl/debian/changelog Sat Aug 16 01:13:20 2008
@@ -1,0 +1,30 @@
+libmail-mboxparser-perl (0.55-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Remove /usr/lib/perl5 only if it exists (needed to avoid FTBFS after
+ Perl 5.10 transition) (Closes: #479933)
+
+ -- Gunnar Wolf <gwolf at debian.org> Wed, 28 May 2008 10:13:49 -0500
+
+libmail-mboxparser-perl (0.55-1) unstable; urgency=low
+
+ * New upstream release.
+ * Apply David Coppit's patch to fix hangs during 'make test'.
+ closes: #395268
+ * Bump to Standards-Version 3.7.2, no changes required.
+
+ -- Joshua Kwan <joshk at triplehelix.org> Sat, 09 Jun 2007 02:14:26 -0700
+
+libmail-mboxparser-perl (0.54-1) unstable; urgency=low
+
+ * New upstream release.
+ * Bump to Standards-Version 3.6.2 - no changes required.
+
+ -- Joshua Kwan <joshk at triplehelix.org> Wed, 27 Jul 2005 21:25:01 -0700
+
+libmail-mboxparser-perl (0.51-1) unstable; urgency=low
+
+ * Initial release. closes: #290991
+
+ -- Joshua Kwan <joshk at triplehelix.org> Mon, 17 Jan 2005 20:04:37 -0800
+
Added: trunk/libmail-mboxparser-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/compat?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/compat (added)
+++ trunk/libmail-mboxparser-perl/debian/compat Sat Aug 16 01:13:20 2008
@@ -1,0 +1,1 @@
+4
Added: trunk/libmail-mboxparser-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/control?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/control (added)
+++ trunk/libmail-mboxparser-perl/debian/control Sat Aug 16 01:13:20 2008
@@ -1,0 +1,22 @@
+Source: libmail-mboxparser-perl
+Section: perl
+Priority: optional
+Maintainer: Joshua Kwan <joshk at triplehelix.org>
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.0.2), dpatch
+Build-Depends-Indep: perl (>= 5.8.0-7), libmime-perl, libfile-temp-perl, libmail-mbox-messageparser-perl
+
+Package: libmail-mboxparser-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libmime-perl (>= 5.0), libfile-temp-perl
+Suggests: liburi-find-perl
+Recommends: libmail-mbox-messageparser-perl
+Description: Perl5 module for fast, object-oriented UNIX mailbox reading
+ This Perl module attempts to provide a simplified access to standard
+ UNIX-mailboxes (mboxes.) It offers only a subset of methods to get 'straight
+ to the point'. More sophisticated things can still be done by invoking any
+ method from MIME::Tools on the appropriate return values.
+ .
+ Mail::MboxParser has not been derived from Mail::Box and thus isn't acquainted
+ with it in any way. It, however, incorporates some invaluable hints by the
+ author of Mail::Box, Mark Overmeer.
Added: trunk/libmail-mboxparser-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/copyright?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/copyright (added)
+++ trunk/libmail-mboxparser-perl/debian/copyright Sat Aug 16 01:13:20 2008
@@ -1,0 +1,15 @@
+This is the Debian package for the Mail::MboxParser module.
+It was created on Jan 17, 2005 by Joshua Kwan <joshk at triplehelix.org>.
+
+The source can be found on CPAN, at
+ http://search.cpan.org/author/VPARSEVAL/
+
+(C) 2001-2005 Tassilo von Parseval. All rights reserved.
+
+This module falls under the Standard-Perl license, that is, the user has the
+choice of treating it under the Artistic license or the GPL.
+
+On Debian systems, theses licenses can be found in:
+
+ * Artistic: /usr/share/common-licenses/Artistic
+ * GPL: /usr/share/common-licenses/GPL
Added: trunk/libmail-mboxparser-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/patches/00list?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/patches/00list (added)
+++ trunk/libmail-mboxparser-perl/debian/patches/00list Sat Aug 16 01:13:20 2008
@@ -1,0 +1,1 @@
+01_fix_messageparser_interaction
Added: trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch (added)
+++ trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch Sat Aug 16 01:13:20 2008
@@ -1,0 +1,35 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_fix_messageparser_interaction.dpatch by Joshua Kwan <joshk at triplehelix.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+--- libmail-mboxparser-perl-0.55/MboxParser.pm~ 2007-06-09 02:10:19.000000000 -0700
++++ libmail-mboxparser-perl-0.55/MboxParser.pm 2007-06-09 02:11:09.000000000 -0700
+@@ -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;
+ }
+
Propchange: trunk/libmail-mboxparser-perl/debian/patches/01_fix_messageparser_interaction.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libmail-mboxparser-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-mboxparser-perl/debian/rules?rev=24350&op=file
==============================================================================
--- trunk/libmail-mboxparser-perl/debian/rules (added)
+++ trunk/libmail-mboxparser-perl/debian/rules Sat Aug 16 01:13:20 2008
@@ -1,0 +1,102 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# 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
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+ touch $@
+
+build: patch build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add commands to compile the package here
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="$(CFLAGS)"
+
+ touch build-stamp
+
+unpatch:
+ dpatch deapply-all
+ rm -f patch-stamp
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+
+ # Add commands to clean up after the build process here
+ -$(MAKE) distclean
+
+ dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ $(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ # As this is a architecture independent package, we are not supposed to
+ # install stuff to /usr/lib. MakeMaker (up to Perl 5.8) creates the
+ # dirs, we delete them from the deb:
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+
+ touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installcron
+# dh_installmenu
+# dh_installexamples
+ dh_installdocs README
+ dh_installchangelogs Changelog
+ dh_perl
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ 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/libmail-mboxparser-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-perl-cvs-commits
mailing list