--- libmail-imapclient-perl-3.08.orig/debian/control +++ libmail-imapclient-perl-3.08/debian/control @@ -0,0 +1,25 @@ +Source: libmail-imapclient-perl +Priority: optional +Section: perl +Maintainer: Debian Perl Group +Uploaders: Gunnar Wolf , + Niko Tyni , Russ Allbery , + gregor herrmann +Build-Depends: debhelper (>= 6), quilt (>= 0.40) +Build-Depends-Indep: perl (>= 5.6.0-17), libparse-recdescent-perl, libtest-pod-perl +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Mail-IMAPClient/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmail-imapclient-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-imapclient-perl/ + +Package: libmail-imapclient-perl +Architecture: all +Priority: optional +Section: perl +Depends: ${perl:Depends}, libparse-recdescent-perl +Recommends: libio-socket-ssl-perl +Description: Perl library for manipulating IMAP mail stores + This module provides perl routines that simplify a sockets connection + to and an IMAP conversation with an IMAP server. It supports virtually + all IMAP client commands as of RFC 2060 and has a fallback for unknown + commands that usually works. --- libmail-imapclient-perl-3.08.orig/debian/lintian-overrides +++ libmail-imapclient-perl-3.08/debian/lintian-overrides @@ -0,0 +1 @@ +libmail-imapclient-perl: manpage-has-errors-from-man usr/share/man/man3/Mail::IMAPClient.3pm.gz 2601: warning [p 35, 6.5i]: can't break line --- libmail-imapclient-perl-3.08.orig/debian/copyright +++ libmail-imapclient-perl-3.08/debian/copyright @@ -0,0 +1,53 @@ +This is Debian GNU/Linux's prepackaged version of Mail::IMAPClient. +This is a perl library for manipulating IMAP mail stores + +Originally packaged by Michael Alan Dorman . The +original sources should always be available from the Comprehensive +Perl Archive Network (CPAN). Visit to +find a CPAN site near you. + +The generic upstream URL is +Homepage: http://search.cpan.org/dist/Mail-IMAPClient/ + +Files: * +Copyright: Copyright 1999-2003 The Kernen Group, Inc. + Copyright 2007 Mark Overmeer + All rights reserved. +License: GPL-1+|Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of either: + . + a) the "Artistic License" which comes with this Kit, or + . + b) the GNU General Public License as published by the Free Software + Foundation; either version 1, or (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either + the GNU General Public License or the Artistic License for more details. + +Files: examples/* +Copyright: This example and Mail::IMAPClient are Copyright (c) 2003 + by The Kernen Group, Inc. All rights reserved. +License: GPL-1+|Artistic + This example is distributed with Mail::IMAPClient and + subject to the same licensing requirements as Mail::IMAPClient. + +Files: examples/imap_to_mbox.pl +Copyright: (c) 1999 Thomas Stromberg, Research Triangle Commerce, Inc. +License: other + This software is protected by the BSD License. No rights reserved anyhow. + + +Files: debian/* +Copyright: © 2000-2004 Michael Alan Dorman + © 2004-2008 Debian Perl Group +License: other + It is assumed that package maintainers have licensed their work under terms + compatible with upstream licensing terms. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libmail-imapclient-perl-3.08.orig/debian/watch +++ libmail-imapclient-perl-3.08/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Mail-IMAPClient/ .*/Mail-IMAPClient-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libmail-imapclient-perl-3.08.orig/debian/compat +++ libmail-imapclient-perl-3.08/debian/compat @@ -0,0 +1 @@ +6 --- libmail-imapclient-perl-3.08.orig/debian/changelog +++ libmail-imapclient-perl-3.08/debian/changelog @@ -0,0 +1,249 @@ +libmail-imapclient-perl (3.08-1) unstable; urgency=low + + * New upstream release. + * Refresh debian/rules, no functional changes (except for adding the + examples to the binary package). + * Add lintian override for a long line in a manpage which is caused by a + long URL. + * debian/control: change my email address. + + -- gregor herrmann Tue, 03 Jun 2008 21:40:29 +0200 + +libmail-imapclient-perl (3.07-1) unstable; urgency=low + + * New upstream release + + -- Gunnar Wolf Mon, 28 Apr 2008 09:50:25 -0500 + +libmail-imapclient-perl (3.06-1) unstable; urgency=low + + * New upstream release. + * Make build dependency on quilt versioned. + * debian/rules: one .PHONY line should be enough for everyone. + + -- gregor herrmann Tue, 15 Apr 2008 18:16:51 +0200 + +libmail-imapclient-perl (3.05-1) unstable; urgency=low + + [ Gunnar Wolf ] + * New upstream release + + [ Joachim Breitner ] + * Removed myself from uploaders. + + -- Gunnar Wolf Wed, 20 Feb 2008 10:43:30 -0600 + +libmail-imapclient-perl (3.04-1) unstable; urgency=low + + [ gregor herrmann ] + * New upstream release. + * debian/watch: use improved regexp to match upstream releases. + + [ Damyan Ivanov ] + * Added gregor herrmann to Uploaders + + -- gregor herrmann Sun, 27 Jan 2008 23:13:51 +0100 + +libmail-imapclient-perl (3.03-2) unstable; urgency=low + + * Install the separate POD documentation in *.pod files. (Closes: #462234) + * Remove the execute bit from all the POD files. + * Clean obsolete file removals in the 'clean' target. + * Update the long description: the Debian version no longer has a separate + SSL patch. + * Update debian/copyright. + + -- Niko Tyni Thu, 24 Jan 2008 22:01:02 +0200 + +libmail-imapclient-perl (3.03-1) unstable; urgency=low + + [ gregor herrmann ] + * New upstream release. + * debian/rules: delete /usr/lib/perl5 only if it exists. + * Refresh patch catch_ssl_attribute.patch. + * Bump debhelper compatibility level. + + -- Roberto C. Sanchez Sat, 12 Jan 2008 23:10:46 -0500 + +libmail-imapclient-perl (3.02-1) unstable; urgency=low + + * New upstream release. + * Set Standards-Version to 3.7.3 (no further changes needed). + * debian/rules: + - remove useless build-{arch,indep} targets + - use DESTDIR and PREFIX for make install + - let binary-indep target depend on build and install + + -- gregor herrmann Mon, 17 Dec 2007 18:19:49 +0100 + +libmail-imapclient-perl (3.00-1) unstable; urgency=low + + [ Joey Hess ] + * Fix watch file to deal with mangled version number. + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + + * New upstream release: + - repackaging the upstream source not needed any more, because the + non-free docs were removed; removing the note from README.Debian and + the version mangling from debian/watch. + * Use a dist-based based URL in debian/watch. + * debian/copyright: + - add generic upstream URL. + - copy current maintainer/copyright/license statement verbatim from + README. + * Remove patch 10_get_socket_on_external, included in rewritten upstream + code. + * Remove patch 20_ssl_support, SSL connections are now handled via the + (Raw)Socket method; add NEWS.Debian containing this information; remove + libio-socket-ssl-perl from build dependencies; move + libio-socket-ssl-perl from Depends to Recommends; remove README.Debian; + add new patch catch_ssl_attribute to catch the use of the old Ssl + attribute provided by the now deleted patch. + * Remove patch 30_uninitialized_warning, not relevant for new upstream + code any more. + * Remove patch 40_pod_whatis_parse_error, not relevant for new upstream + code any more. + * debian/rules: + - move dh_clean before $(MAKE) distclean. + - set mode for *.grammar files to 644. + - don't install *.pod files. + * debian/control: + - add libtest-pod-perl to Build-Depends-Indep. + - add quilt to Build-Depends. + - remove dpatch from Build-Depends. + + [ Damyan Ivanov ] + * Remove unused dh_link call + + -- gregor herrmann Wed, 28 Nov 2007 23:01:34 +0100 + +libmail-imapclient-perl (2.2.9+deb-5) unstable; urgency=low + + * Add dpatch framework + * Now creates the inner state for externally created sockets. Thanks + to Alexander Zangerl for the patch. (dpatch: + 10_get_socket_on_external) (Closes: #401144) + * Bumped up standards-version to 3.7.2.2 - no changes needed + + -- Gunnar Wolf Wed, 28 Feb 2007 18:48:40 -0600 + +libmail-imapclient-perl (2.2.9+deb-4) unstable; urgency=low + + [ Niko Tyni ] + * Fixed maintainer email address. (Closes: #343474) + + [ Russ Allbery ] + * Expand description slightly and mention SSL support. + * General debian/rules cleanup. + - Remove many unnecessary rules. + - Remove empty /usr/lib/perl5 directory. + - Don't ignore the exit status of make distclean. + - Add build-arch and build-indep in case Policy ever requires them. + * Move debhelper to Build-Depends since it's required for clean. + * Update to standards version 3.6.2 (no changes required). + * Update to debhelper compatibility level V5. + * Remove incorrect copyright note saying there were no package changes + outside the debian directory. + + -- Russ Allbery Sat, 21 Jan 2006 18:48:35 -0800 + +libmail-imapclient-perl (2.2.9+deb-3) unstable; urgency=low + + * Added SSL support by including Joost Cassee's patch - Thanks a lot! + (Closes: #111960) + * SSL patch requires to add build-dependency and dependency on + libio-socket-ssl-perl - did so as well. Also wrote basic documentation + for it in the module's POD and Makefile + * Clean process after build did not leave the package as in original state - + Fixed. + + -- Gunnar Wolf Sat, 14 May 2005 16:27:15 -0500 + +libmail-imapclient-perl (2.2.9+deb-2) unstable; urgency=low + + * Specified not to overwrite some manpages generated from .pod files + with the empty contents of the corresponding .pm files which caused + a whatis parse error (Closes: #283660) + + -- Gunnar Wolf Wed, 2 Mar 2005 14:17:50 -0600 + +libmail-imapclient-perl (2.2.9+deb-1) unstable; urgency=low + + * Repackaging upstream source, as it includes non-free RFCs (Closes: + #275496) + + -- Gunnar Wolf Fri, 8 Oct 2004 09:58:12 -0500 + +libmail-imapclient-perl (2.2.9-3) unstable; urgency=low + + * Adopted by Debian Perl Group (Closes: #274133) + * Prevented undefined-warning (Closes: #158617) + + -- Joachim Breitner Fri, 8 Oct 2004 13:28:43 +0200 + +libmail-imapclient-perl (2.2.9-2) unstable; urgency=low + + * Fix the build-depends-indep. + * Change section to perl + * Add watch file for uscan + + -- Michael Alan Dorman Sun, 20 Jun 2004 17:48:38 -0400 + +libmail-imapclient-perl (2.2.9-1) unstable; urgency=low + + * New upstream release. (closes: bug#208676, bug#208677) + + -- Michael Alan Dorman Thu, 18 Dec 2003 09:36:02 -0500 + +libmail-imapclient-perl (2.1.4-1) unstable; urgency=low + + * New upstream release (closes: bug#84100, bug#111959) + + -- Michael Alan Dorman Tue, 25 Sep 2001 12:41:21 -0400 + +libmail-imapclient-perl (2.0.9-1) unstable; urgency=low + + * New upstream release (closes: bug#84100) + + -- Michael Alan Dorman Sun, 4 Feb 2001 09:42:20 -0500 + +libmail-imapclient-perl (1.18-1) unstable; urgency=low + + * New upstream release + + -- Michael Alan Dorman Tue, 29 Aug 2000 13:10:42 -0400 + +libmail-imapclient-perl (1.15-1) unstable; urgency=low + + * New upstream release + + -- Michael Alan Dorman Tue, 27 Jun 2000 09:08:52 -0400 + +libmail-imapclient-perl (1.13-1) unstable; urgency=low + + * New upstream release + + -- Michael Alan Dorman Wed, 31 May 2000 22:00:33 -0400 + +libmail-imapclient-perl (1.11-1) unstable; urgency=low + + * New upstream version. + + -- Michael Alan Dorman Fri, 5 May 2000 14:04:41 -0400 + +libmail-imapclient-perl (1.09-1) unstable; urgency=low + + * The problem with disappearing blank lines in output is taken care of, + ergo this is now releasable. + + -- Michael Alan Dorman Fri, 10 Mar 2000 15:58:37 -0500 + +libmail-imapclient-perl (1.08-1) unstable; urgency=low + + * Initial packaging + + -- Michael Alan Dorman Sun, 27 Feb 2000 14:59:05 -0500 --- libmail-imapclient-perl-3.08.orig/debian/NEWS +++ libmail-imapclient-perl-3.08/debian/NEWS @@ -0,0 +1,12 @@ +libmail-imapclient-perl (3.00-1) unstable; urgency=low + + As of version 3.00 the patch which implemented an Ssl attribute has been + removed; it's not necessary anymore because the possibility is included in + the rewritten upstream source: Use the Socket or RawSocket parameters for + getting SSL connections. + + For details refer to `man IMAPClient'. + + Cf. also http://rt.cpan.org/Public/Bug/Display.html?id=9256 + + -- gregor herrmann Wed, 28 Nov 2007 21:26:53 +0100 --- libmail-imapclient-perl-3.08.orig/debian/rules +++ libmail-imapclient-perl-3.08/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt 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 + +include /usr/share/quilt/quilt.make + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + touch test.txt + $(PERL) Makefile.PL INSTALLDIRS=vendor + rm test.txt + $(MAKE) + $(MAKE) test + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + find $(TMP) -name '*.grammar' | xargs --no-run-if-empty chmod 644 + find $(TMP) -name '*.pod' | xargs --no-run-if-empty chmod 644 + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + # lintian override for a long line with a URL. + dh_installdirs /usr/share/lintian/overrides/ + install -m 644 $(CURDIR)/debian/lintian-overrides $(TMP)/usr/share/lintian/overrides/$(PACKAGE) + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples examples/* + dh_installdocs TODO README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libmail-imapclient-perl-3.08.orig/debian/patches/series +++ libmail-imapclient-perl-3.08/debian/patches/series @@ -0,0 +1 @@ +catch_ssl_attribute.patch --- libmail-imapclient-perl-3.08.orig/debian/patches/catch_ssl_attribute.patch +++ libmail-imapclient-perl-3.08/debian/patches/catch_ssl_attribute.patch @@ -0,0 +1,13 @@ +--- libmail-imapclient-perl.orig/lib/Mail/IMAPClient.pm ++++ libmail-imapclient-perl/lib/Mail/IMAPClient.pm +@@ -204,6 +204,10 @@ + my $v = shift; + $self->{$k} = $v if defined $v; + } ++ ++ # catch Ssl attribute from old Debian patch ++ Carp::croak 'Ssl is unsupported as attribute. See NEWS.Debian for more info' if exists $self->{Ssl}; ++ + bless $self, ref($class)||$class; + + if(my $sup = $self->{Supportedflags}) # unpack into case-less HASH