debian/0000755000000000000000000000000011627377161007201 5ustar debian/watch0000644000000000000000000000015711627375505010235 0ustar version=3 http://search.cpan.org/dist/Email-Send/ .*/Email-Send-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/rules0000755000000000000000000000044011627375505010257 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples find $(TMP)/usr/share/doc/$(PACKAGE)/examples -type f -print0 | \ xargs -r0 sed -i -e '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' debian/changelog0000644000000000000000000002051611627377161011057 0ustar libemail-send-perl (2.198-4) unstable; urgency=low [ Salvatore Bonaccorso ] * Update my email address. [ Ansgar Burchardt ] * Update my email address. * debian/control: Convert Vcs-* fields to Git. * debian/control: Document that this module has been deprecated upstream. (Closes: #632146) * debian/copyright: Refer to /usr/share/common-licenses/GPL-1; refer to "Debian systems" instead of "Debian GNU/Linux systems". * Bump Standards-Version to 3.9.2. [ gregor herrmann ] * Remove alternative (build) dependencies that are already satisfied in oldstable. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. -- Ansgar Burchardt Wed, 31 Aug 2011 11:27:05 +0200 libemail-send-perl (2.198-3) unstable; urgency=low * Re-upload with man pages generated correctly. See also #576666. * Use source format 3.0 (quilt); drop README.source and quilt framework. * Fix two spelling errors in the documentation. + new patch: spelling.patch * Bump Standards-Version to 3.8.4 (no changes). -- Ansgar Burchardt Sat, 22 May 2010 04:47:36 +0900 libemail-send-perl (2.198-2) unstable; urgency=low [ gregor herrmann ] * debian/control: Changed: (build-)depend on perl instead of perl- modules. [ Salvatore Bonaccorso ] * debian/rules: Fix shebang for perl interpreter in example script to /usr/bin/perl via override target for dh_installexamples. * Update debian/copyright to current revision of DEP5 Format-Specification for machine readable copyright file. * Bump Standards-Version to 3.8.3. -- Salvatore Bonaccorso Fri, 25 Dec 2009 15:26:05 +0100 libemail-send-perl (2.198-1) unstable; urgency=low * New upstream release + Refresh patch "add_usr_sbin_to_path" -- Ansgar Burchardt Sun, 12 Jul 2009 22:40:59 +0200 libemail-send-perl (2.197-1) unstable; urgency=low * New upstream release: Fixes regression introduced into SMTP transport's "to" detector (and reported upstream by John Maslanik). * Add myself to Uploaders. * debian/rules: minimize to tiny rules and adjust Build-Depends on debhelper and quilt accordingly. * Bump Standards-Version to 3.8.2 (no changes needed) -- Salvatore Bonaccorso Wed, 17 Jun 2009 22:12:08 +0200 libemail-send-perl (2.196-1) unstable; urgency=low [ Nathan Handler ] * New upstream release * debian/watch: - Update to ignore development releases. * debian/control: - Add myself to list of Uploaders - Bump Standards-Version to 3.8.1 * debian/patches/add_usr_sbin_to_path: - Modify to apply cleanly - There is no longer a need to patch lib/Email/Send/Sendmail.pm [ gregor herrmann ] * debian/control: make short description a noun phrase. -- Nathan Handler Wed, 10 Jun 2009 02:36:12 +0000 libemail-send-perl (2.194-1) unstable; urgency=low * New upstream release (Closes: #510688). * debian/control: Add myself to Uploaders. -- Ansgar Burchardt Sun, 04 Jan 2009 13:30:55 +0100 libemail-send-perl (2.193-1) unstable; urgency=low * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * New upstream release: Upstream notes that Email::Send is "out of favor" and recommends the new Email::Sender which is not yet packaged for Debian. * Set debhelper compatibility level to 7; adapt debian/{control,compat,rules}. * Set Standards-Version to 3.8.0 (no further changes). * debian/copyright: switch to new format. * debian/control: - add "perl-modules (>= 5.10)" as the first alternative to the (build) dependency on libmodule-pluggable-perl - replace libmime-tools by libmime-tools-perl -- gregor herrmann Thu, 01 Jan 2009 19:17:59 +0100 libemail-send-perl (2.192-3) unstable; urgency=low * debian/rules: - refresh with dh-make-perl's help - actually use the patches that were prepared in 2.192-2; this should make the package work with the new source package format "3.0 (quilt)", too (closes: #485038); thanks to Raphaƫl Hertzog for the bug report - don't install README any more (text version of the inline POD documentation) * Convert debian/changelog to UTF-8. * Fix patch add_usr_sbin_to_path (missing semi-colons); comment out three tests in t/sendmail.t that expect an empty path -- but we have patched in /usr/sbin ... * debian/watch: use dist-based URL. * Make build dependency on quilt versioned. * debian/control: change my email address. * debian/copyright: add information about third-party file. -- gregor herrmann Sat, 07 Jun 2008 23:41:20 +0200 libemail-send-perl (2.192-2) unstable; urgency=low [ David Paleino ] * debian/control: removed myself from Uploaders [ Gunnar Wolf ] * Bumped up standards-version to 3.7.3 * Added quilt as a build-dependency * Adds /usr/sbin to path if it is not present, as Debian's sendmail sits there (Closes: #471885) -- Gunnar Wolf Fri, 21 Mar 2008 20:05:33 -0600 libemail-send-perl (2.192-1) unstable; urgency=low * New upstream release. -- gregor herrmann Fri, 02 Nov 2007 17:45:44 +0100 libemail-send-perl (2.191-1) unstable; urgency=low * New upstream release. Improves testing suite. -- Damyan Ivanov Mon, 22 Oct 2007 09:51:59 +0300 libemail-send-perl (2.190-2) UNRELEASED; urgency=low * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza). Removed: XS-Vcs-Svn fields. -- gregor herrmann Tue, 09 Oct 2007 22:29:10 +0200 libemail-send-perl (2.190-1) unstable; urgency=low [ David Paleino ] * New upstream release * debian/rules: - using environment variables in $(PERL) Makefile.PL - moved $(MAKE) test under the build target - moved dh_clean before $(MAKE) realclean, to avoid - general cleanup * debian/control: - added myself to Uploaders field - added Homepage field - fixed a typo in the long description - added version numbers to Depends and Build-Depends-Indep [ Damyan Ivanov ] * Remove unneeded dh_link and dh_strip calls * Added libemail-send-io-perl to B-D-I and Recommends: * Removed unneeded OPTIMIZE="..." setting * Use version/author-independent upstream URL in debian/copyright -- Damyan Ivanov Mon, 24 Sep 2007 08:43:10 +0300 libemail-send-perl (2.185-1) unstable; urgency=low [ gregor herrmann ] * New upstream release. * Add "nullmailer | mail-transport-agent" to Build-Depends-Indep in order to provide /usr/sbin/sendmail to the tests in t/sendmail.t. [ Damyan Ivanov ] * Added sendmail.log to dh_clean call * Wrapped long fields in debian/control * Added myself to Uploaders -- Damyan Ivanov Fri, 08 Jun 2007 00:40:49 +0300 libemail-send-perl (2.183-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Fri, 15 Dec 2006 15:54:32 +0100 libemail-send-perl (2.182-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Tue, 12 Dec 2006 12:23:52 +0100 libemail-send-perl (2.181-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Tue, 28 Nov 2006 15:10:40 +0100 libemail-send-perl (2.171-1) unstable; urgency=low * New upstream release. * Add libtest-pod-perl, libtest-pod-coverage-perl, libmime-perl to Build-Depends-Indep. -- gregor herrmann Mon, 7 Aug 2006 01:27:51 +0200 libemail-send-perl (2.16-1) unstable; urgency=low * New upstream release * debian/control: + libemail-abstract-perl, libio-all-perl added to dependecies -- Krzysztof Krzyzaniak (eloy) Tue, 25 Jul 2006 16:02:22 +0200 libemail-send-perl (2.11-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyzaniak (eloy) Thu, 6 Jul 2006 14:23:39 +0200 libemail-send-perl (2.05-1) unstable; urgency=low * Initial Release (closes: #367200). -- Krzysztof Krzyzaniak (eloy) Sun, 14 May 2006 00:26:53 +0200 debian/control0000644000000000000000000000306011627377111010576 0ustar Source: libemail-send-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50) Build-Depends-Indep: perl, libreturn-value-perl (>= 1.28), libemail-simple-perl (>= 1.92), libclass-accessor-perl, libemail-address-perl (>= 1.80), libemail-abstract-perl, libtest-pod-perl, libtest-pod-coverage-perl, libmime-tools-perl, nullmailer | mail-transport-agent, libemail-send-io-perl Maintainer: Debian Perl Group Uploaders: Krzysztof Krzyzaniak (eloy) , gregor herrmann , Damyan Ivanov , Ansgar Burchardt , Nathan Handler , Salvatore Bonaccorso Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-perl/packages/libemail-send-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libemail-send-perl.git Homepage: http://search.cpan.org/dist/Email-Send/ Package: libemail-send-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libreturn-value-perl (>= 1.28), libemail-simple-perl (>= 1.92), libclass-accessor-perl, libemail-address-perl (>= 1.80), libemail-abstract-perl Recommends: libemail-send-io-perl Description: Perl module for simply sending email (deprecated) Email::Send provides a very simple, very clean, very specific interface to multiple mailers. The goal of this software is to be small and simple, easy to use, and easy to extend. . Note that this package has been deprecated upstream; please consider to use libemail-sender-perl instead. debian/compat0000644000000000000000000000000211627375505010377 0ustar 7 debian/libemail-send-perl.examples0000644000000000000000000000000511627375505014401 0ustar eg/* debian/source/0000755000000000000000000000000011627376225010501 5ustar debian/source/format0000644000000000000000000000001411627375505011707 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011627376264010633 5ustar debian/patches/series0000644000000000000000000000004411627375505012043 0ustar add_usr_sbin_to_path spelling.patch debian/patches/add_usr_sbin_to_path0000644000000000000000000000415311627375505014730 0ustar Author: Gunnar Wolf Description: Adds /usr/sbin to path if it is not present, as Debian's sendmail sits there Bug: #471885 Author: gregor herrmann Description: turn off tests that expect an empty PATH (won't happen anywhere after we push /usr/sbin in ...) Author: Nathan Handler Description: In 2.195-1, this patch was updated to apply cleanly after changes upstream. There is no longer a need to patch lib/Email/Send/Sendmail.pm. --- libemail-send-perl.orig/lib/Email/Send/Qmail.pm +++ libemail-send-perl/lib/Email/Send/Qmail.pm @@ -26,7 +26,9 @@ return $QMAIL; } - for my $dir (File::Spec->path) { + my @path = File::Spec->path; + push @path, '/usr/sbin' unless grep m!^/usr/sbin/?$!, @path; + for my $dir (@path) { if ( -x "$dir/$QMAIL" ) { $sendmail = "$dir/$QMAIL"; last; --- libemail-send-perl.orig/t/sendmail.t +++ libemail-send-perl/t/sendmail.t @@ -1,4 +1,4 @@ -use Test::More tests => 11; +use Test::More tests => 8; use strict; $^W = 1; @@ -14,17 +14,17 @@ blah blah blah EOF -{ - undef $Email::Send::Sendmail::SENDMAIL; - local $ENV{PERL_EMAIL_SEND_SENDMAIL_NO_EXTRA_PATHS} = 1; - local $ENV{PATH} = ''; - ok( Email::Send::Sendmail->is_available, 'Email::Send always is available' ); - my $msg = Email::Send::Sendmail->is_available; - is $msg, 'No Sendmail found', 'is available return value says sendmail was not found'; - - my $path = Email::Send::Sendmail->_find_sendmail; - ok( ! defined $path, 'no sendmail found because we have no path' ); -} +#{ +# undef $Email::Send::Sendmail::SENDMAIL; +# local $ENV{PERL_EMAIL_SEND_SENDMAIL_NO_EXTRA_PATHS} = 1; +# local $ENV{PATH} = ''; +# ok( Email::Send::Sendmail->is_available, 'Email::Send always is available' ); +# my $msg = Email::Send::Sendmail->is_available; +# is $msg, 'No Sendmail found', 'is available return value says sendmail was not found'; +# +# my $path = Email::Send::Sendmail->_find_sendmail; +# ok( ! defined $path, 'no sendmail found because we have no path' ); +#} { local $Email::Send::Sendmail::SENDMAIL = 'testing'; debian/patches/spelling.patch0000644000000000000000000000177311627375505013476 0ustar From: Ansgar Burchardt Date: Sat, 22 May 2010 04:50:11 +0900 Origin: vendor Subject: Fix spelling error in documentation Forwarded: https://rt.cpan.org/Ticket/Display.html?id=57733 --- libemail-send-perl.orig/lib/Email/Send.pm +++ libemail-send-perl/lib/Email/Send.pm @@ -97,7 +97,7 @@ on an object. The mailer object will be passed as the first argument. Second, the actual C object for a message will be passed. Finally, any additional arguments passed to C will be passed to this method in the -order they were recieved. +order they were received. This is useful if you are sending in bulk. --- libemail-send-perl.orig/lib/Email/Send/Test.pm +++ libemail-send-perl/lib/Email/Send/Test.pm @@ -111,7 +111,7 @@ =head2 emails -The C method is the prefered and recommended method of getting +The C method is the preferred and recommended method of getting access to the email trap. In list context, returns the content of the trap array as a list. debian/copyright0000644000000000000000000000227511627377111011135 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=59 Maintainer: Ricardo SIGNES, Source: http://search.cpan.org/dist/Email-Send/ Name: Email-Send Files: * Copyright: (c) 2005 Casey West. All rights reserved. License: Artistic or GPL-1+ Files: lib/Email/Send/Test.pm Copyright: (c) 2004 - 2005 Adam Kennedy. All rights reserved. License: Artistic or GPL-1+ Files: debian/* Copyright: 2009, various members of the Debian Perl Group, cf. debian/changelog License: Artistic or GPL-1+ License: GPL-1+ 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; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'.