debian/0000755000000000000000000000000012244422514007166 5ustar debian/rules0000755000000000000000000000003612244422514010245 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000376712244422514010606 0ustar Source: libemail-mime-createhtml-perl Maintainer: Debian Perl Group Uploaders: AGOSTINI Yves , gregor herrmann , Salvatore Bonaccorso Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libtest-pod-perl, libtest-pod-coverage-perl, libhtml-tokeparser-simple-perl, liblog-trace-perl, libmime-types-perl, libtest-assertions-perl, libdata-serializer-perl, libhtml-tagset-perl, libemail-mime-perl, libfile-slurp-perl, libfile-policy-perl, libwww-perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libemail-mime-createhtml-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libemail-mime-createhtml-perl.git Homepage: https://metacpan.org/release/Email-MIME-CreateHTML/ Package: libemail-mime-createhtml-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhtml-tokeparser-simple-perl, liblog-trace-perl, libmime-types-perl, libdata-serializer-perl, libhtml-tagset-perl, libemail-mime-perl, libfile-policy-perl, libwww-perl Description: multipart HTML email builder Email::MIME::CreateHTML allows you to build HTML emails, optionally with a text-only alternative and embedded media objects. . For example, an HTML email with an alternative version in plain text and with all the required images contained in the mail. . Note that this module does not send any mail, it merely does the work of building the appropriate MIME message. The message can be sent with Email::Send or any other mailer that can be fed a string representation of an email message. debian/source/0000755000000000000000000000000012244422514010466 5ustar debian/source/format0000644000000000000000000000001412244422514011674 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000657112244422514011051 0ustar libemail-mime-createhtml-perl (1.030-2) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ gregor herrmann ] * Add patch from CPAN RT to fix build failure under 5.18. (Closes: #711439) * Update years of packaging copyright. * Bump debhelper compatibility level to 8. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Sun, 24 Nov 2013 17:11:31 +0100 libemail-mime-createhtml-perl (1.030-1) unstable; urgency=low * Team Upload. [ Salvatore Bonaccorso ] * New upstream release. * Update my email address. [ Ansgar Burchardt ] * Add libfile-policy-perl as a runtime dependency as well. (Closes: #612003) * debian/copyright: Formatting changes, refer to "Debian systems" instead of "Debian GNU/Linux systems". * Use source format 3.0 (quilt). * Bump Standards-Version to 3.9.1. -- Ansgar Burchardt Fri, 04 Feb 2011 21:15:18 +0100 libemail-mime-createhtml-perl (1.029-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.4. * Drop patches applied upstream: - pod.patch - add_missing_use_Carp_in_CreateHTML.patch * Drop use of quilt as package does not need any patch anymore. Remove README.source. * debian/control: - Lower Build-Depends on debhelper (>= 7). - Drop dublicated Build-Depends-Indep on libtest-assertions-perl. - Drop Depends on libtest-assertions-perl. * Referesh debian/copyright and update Copyright years for debian/* packaging. -- Salvatore Bonaccorso Thu, 11 Feb 2010 15:57:40 +0100 libemail-mime-createhtml-perl (1.026-3) unstable; urgency=low [ gregor herrmann ] * debian/control: change (build) dependency on "libemail-mime- {creator,modifier}-perl" to "libemail-mime-perl (>= 1.901) | libemail-mime-{creator,modifier}-perl". [ Salvatore Bonaccorso ] * Add myself to Uploaders. * Add missing use Carp in lib/Email/MIME/CreateHTML.pm causing FTBFS (Closes: #555888). * Bump compat level to debhelper 7. * Drop override target for dh_installchangelogs (not needed anymore). Lower requirements on debhelper to (>= 7.0.8). * Refresh debian/copyright to the proposal of the machine readable format specification in DEP5. -- Salvatore Bonaccorso Thu, 12 Nov 2009 21:36:27 +0100 libemail-mime-createhtml-perl (1.026-2) unstable; urgency=low [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Add patch to POD to work with newer Pod::Simple; add quilt framework. Closes: #546224. * Set Standards-Version to 3.8.3; remove version from perl build dependency. * Add /me to Uploaders. -- gregor herrmann Sat, 19 Sep 2009 21:44:02 +0200 libemail-mime-createhtml-perl (1.026-1) unstable; urgency=low * Initial Release (Closes: #476968) -- AGOSTINI Yves Sun, 20 Apr 2008 11:42:25 +0200 debian/compat0000644000000000000000000000000212244422514010364 0ustar 8 debian/patches/0000755000000000000000000000000012244422514010615 5ustar debian/patches/0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch0000644000000000000000000000417412244422514023066 0ustar Origin: https://rt.cpan.org/Public/Bug/Display.html?id=90063 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=90063, https://rt.cpan.org/Public/Bug/Display.html?id=85953 Bug-Debian: http://bugs.debian.org/711439 Forwarded: not needed Reviewed-by: gregor herrmann Last-Update: 2013-11-24 From 52a0848ce4c2fd3133fd2cdc662c3c2e72b13dc7 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Tue, 5 Nov 2013 09:53:21 -0500 Subject: [PATCH] use blessed, not UNIVERSAL::isa, to test objecthood Without this, we fail on more recent perls, where things are considered to be isa(UNIVERSAL) much more often (and reliably). --- lib/Email/MIME/CreateHTML/Resolver.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Email/MIME/CreateHTML/Resolver.pm b/lib/Email/MIME/CreateHTML/Resolver.pm index e5dd2b1..94cb271 100644 --- a/lib/Email/MIME/CreateHTML/Resolver.pm +++ b/lib/Email/MIME/CreateHTML/Resolver.pm @@ -9,6 +9,7 @@ package Email::MIME::CreateHTML::Resolver; use strict; use Carp; +use Scalar::Util (); use vars qw($VERSION $HaveCache $HaveLWP $HaveFilesystem); $VERSION = sprintf "%d.%03d", q$Revision: 1.5 $ =~ /: (\d+)\.(\d+)/; @@ -43,13 +44,13 @@ sub new { #Do some sanity checking of inputs my $resolver = $args->{resolver}; if(defined $resolver) { - confess "resolver must be an object" unless ( UNIVERSAL::isa($resolver,'UNIVERSAL') ); + confess "resolver must be an object" unless Scalar::Util::blessed($resolver); confess "resolver does not seem to use the expected interface (get_resource)" unless ($resolver->can('get_resource')); } my $object_cache = $args->{'object_cache'}; if(defined $object_cache ) { - confess "object_cache must be an object" unless ( UNIVERSAL::isa($object_cache,'UNIVERSAL') ); + confess "object_cache must be an object" unless Scalar::Util::blessed($object_cache); confess "object_cache does not seem to use the expected cache interface (get and set methods)" unless ($object_cache->can('get') && $object_cache->can('set')); warn("Caching support is not available - object_cache will not be used") unless($HaveCache); -- 1.8.4.1 debian/patches/series0000644000000000000000000000007412244422514012033 0ustar 0001-use-blessed-not-UNIVERSAL-isa-to-test-objecthood.patch debian/copyright0000644000000000000000000000237012244422514011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Email-MIME-CreateHTML Upstream-Contact: Tony Hennessy, Simon Flack with cookbook and John Alden Source: https://metacpan.org/release/Email-MIME-CreateHTML/ Files: * Copyright: 2005-2006, BBC License: GPL-2 Files: debian/* Copyright: 2008, AGOSTINI Yves 2009-2010, Salvatore Bonaccorso 2009-2013, gregor herrmann License: GPL-2+ License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000021012244422514010210 0ustar version=3 https://metacpan.org/release/Email-MIME-CreateHTML/ .*/Email-MIME-CreateHTML-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$