--- libmail-sendmail-perl-0.79.16.orig/debian/compat +++ libmail-sendmail-perl-0.79.16/debian/compat @@ -0,0 +1 @@ +5 --- libmail-sendmail-perl-0.79.16.orig/debian/copyright +++ libmail-sendmail-perl-0.79.16/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by JaldharH. Vyas +Mon, 5 Jun 2000 11:26:00 -0500 +from the original package found at CPAN, the only modification was the +addition of the /debian subdir. + +The original package can be downloaded from: + http://www.perl.org/CPAN/modules/by-module/Mail/ + +COPYRIGHT + +© 2003 Milivoj Ivkovic mi@alma.ch or ivkovic@csi.com + +You can use it freely. (Someone complained this is too vague. So, more +precisely: do whatever you want with it, but be warned that terrible +things will happen to you if you use it badly, like for sending spam, +claiming you wrote it alone, or ...?) + --- libmail-sendmail-perl-0.79.16.orig/debian/README.source +++ libmail-sendmail-perl-0.79.16/debian/README.source @@ -0,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. --- libmail-sendmail-perl-0.79.16.orig/debian/changelog +++ libmail-sendmail-perl-0.79.16/debian/changelog @@ -0,0 +1,96 @@ +libmail-sendmail-perl (0.79.16-1) unstable; urgency=low + + [ gregor herrmann ] + * debian/watch: use dist-based URL. + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + + [ Gunnar Wolf ] + * New upstream release (Closes: #496658) + * Added uversionmangle to debian/watch, as we are packaging a snapshot + of this module + * Bumped up standards-version to 3.8.0 + * Added myself as an uploader + + -- Gunnar Wolf Tue, 26 Aug 2008 15:56:17 -0500 + +libmail-sendmail-perl (0.79-5) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * Set Standards-Version to 3.7.3 (no changes). + * Add /me to Uploaders. + * debian/copyright: add year of last release to copyright notice. + * Convert debian/copyright to UTF-8. + * Convert debian/changelog to UTF-8. + * Refresh debian/rules, no functional changes. + * Add patch helo-hostname-long.patch: try to get long hostname for use in + HELO. Add quilt framework and add libsys-hostname-long-perl to Depends:. + Slightly change long description. Thanks to Nicolas François for the + analysis. Closes: #482339 + * Add patch man-whatis.patch, fixes the NAME section in the manpage. + * Delete debian/docs, install ToDo from debian/rules, don't install README + and Sendmail.html any more (text and html version of the POD + documentation). + + -- gregor herrmann Thu, 22 May 2008 22:42:55 +0200 + +libmail-sendmail-perl (0.79-4) unstable; urgency=low + + * Added maintainer name. + * Made the package Architecture: all instead of any. + * Switched to debhelper compatibility level 5. + * Bumped Standards-Version to 3.6.2. No changes needed. + + -- Niko Tyni Tue, 13 Dec 2005 14:07:48 +0000 + +libmail-sendmail-perl (0.79-3) unstable; urgency=low + + * Aargh! My last upload accidently made the package Debian native. + + -- Jaldhar H. Vyas Wed, 15 Jun 2005 09:12:27 -0400 + +libmail-sendmail-perl (0.79-2) unstable; urgency=low + + * package now maintained by the Debian Perl group. + + -- Jaldhar H. Vyas Wed, 15 Jun 2005 07:34:00 -0400 + +libmail-sendmail-perl (0.79-1) unstable; urgency=low + + * New upstream version. + * Section changed to perl. Policy updated to 3.6.0 + + -- Jaldhar H. Vyas Mon, 4 Aug 2003 11:54:09 -0400 + +libmail-sendmail-perl (0.78.5-1) unstable; urgency=low + + * New upstream version. + + -- Jaldhar H. Vyas Mon, 27 Jan 2003 09:05:33 -0500 + +libmail-sendmail-perl (0.78-1) unstable; urgency=low + + * New upstream version + + -- Jaldhar H. Vyas Thu, 17 May 2001 06:58:22 -0400 + +libmail-sendmail-perl (0.77-2) unstable; urgency=low + + * Can now send mail to one-character domains. (Closes: #97145) + * Updated to latest perl policy + * Updated to policy 3.5.2 + + -- Jaldhar H. Vyas Thu, 17 May 2001 00:22:57 -0400 + +libmail-sendmail-perl (0.77-1) unstable; urgency=low + + * Initial release. + + -- Jaldhar H. Vyas Mon, 5 Jun 2000 11:31:40 -0400 + + +Local variables: +mode: debian-changelog +End: --- libmail-sendmail-perl-0.79.16.orig/debian/rules +++ libmail-sendmail-perl-0.79.16/debian/rules @@ -0,0 +1,63 @@ +#!/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 + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + # tests try to send a mail + #$(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 + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs Todo + 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-sendmail-perl-0.79.16.orig/debian/watch +++ libmail-sendmail-perl-0.79.16/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle="s/_/./" \ +http://search.cpan.org/dist/Mail-Sendmail/ .*/Mail-Sendmail-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libmail-sendmail-perl-0.79.16.orig/debian/control +++ libmail-sendmail-perl-0.79.16/debian/control @@ -0,0 +1,18 @@ +Source: libmail-sendmail-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jaldhar H. Vyas , Niko Tyni , + gregor herrmann , Gunnar Wolf +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Mail-Sendmail/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmail-sendmail-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-sendmail-perl/ +Build-Depends: debhelper (>= 5), quilt (>= 0.40) + +Package: libmail-sendmail-perl +Architecture: all +Depends: ${perl:Depends}, libsys-hostname-long-perl +Description: Send email from a perl script + Simple platform independent e-mail from your perl script. Only requires + Perl 5, Sys::Hostname::Long, and a network connection. --- libmail-sendmail-perl-0.79.16.orig/debian/patches/series +++ libmail-sendmail-perl-0.79.16/debian/patches/series @@ -0,0 +1,2 @@ +helo-hostname-long.patch +man-whatis.patch --- libmail-sendmail-perl-0.79.16.orig/debian/patches/man-whatis.patch +++ libmail-sendmail-perl-0.79.16/debian/patches/man-whatis.patch @@ -0,0 +1,15 @@ +Author: gregor herrmann +Description: make man happy about whatis part +Index: libmail-sendmail-perl/Sendmail.pm +=================================================================== +--- libmail-sendmail-perl.orig/Sendmail.pm 2008-08-26 16:13:17.000000000 -0500 ++++ libmail-sendmail-perl/Sendmail.pm 2008-08-26 16:14:24.000000000 -0500 +@@ -5,7 +5,7 @@ + + =head1 NAME + +-Mail::Sendmail v. 0.79_16 - Simple platform independent mailer ++Mail::Sendmail - Simple platform independent mailer + + =cut + --- libmail-sendmail-perl-0.79.16.orig/debian/patches/helo-hostname-long.patch +++ libmail-sendmail-perl-0.79.16/debian/patches/helo-hostname-long.patch @@ -0,0 +1,34 @@ +Author: gregor herrmann +Bug: #482339 +Description: use Sys::Hostname::Long in order to get FQDN for HELO +Index: libmail-sendmail-perl/Sendmail.pm +=================================================================== +--- libmail-sendmail-perl.orig/Sendmail.pm 2008-08-26 15:55:08.000000000 -0500 ++++ libmail-sendmail-perl/Sendmail.pm 2008-08-26 16:12:58.000000000 -0500 +@@ -54,6 +54,7 @@ + use Socket; + use Time::Local; # for automatic time zone detection + use Sys::Hostname; # for use of hostname in HELO ++use Sys::Hostname::Long; # for use of hostname in HELO + + #use Digest::HMAC_MD5 qw(hmac_md5 hmac_md5_hex); + +@@ -337,7 +338,7 @@ + } + + # get local hostname for polite HELO +- $localhost = hostname() || 'localhost'; ++ $localhost = hostname_long() || hostname() || 'localhost'; + + foreach $server ( @{$mailcfg{'smtp'}} ) { + # open socket needs to be inside this foreach loop on Linux, +@@ -999,6 +1000,9 @@ + because you installed through PPM, you can also find the latest + one on F. + ++On Debian systems Sys::Hostname::Long is tried before Sys::Hostname in order ++get a fully qualified domain name. ++ + =head1 AUTHOR + + Milivoj Ivkovic ("\x40" is "@" of course)