r14169 - in /trunk/libmail-sendeasy-perl/debian: ./ changelog compat control copyright patches/ patches/001_plus-in-emailaddress.dpatch patches/002_pure-html-message.dpatch patches/00list rules watch

menole-guest at users.alioth.debian.org menole-guest at users.alioth.debian.org
Tue Feb 5 13:21:06 UTC 2008


Author: menole-guest
Date: Tue Feb  5 13:21:06 2008
New Revision: 14169

URL: http://svn.debian.org/wsvn/?sc=1&rev=14169
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libmail-sendeasy-perl/debian/
    trunk/libmail-sendeasy-perl/debian/changelog
    trunk/libmail-sendeasy-perl/debian/compat
    trunk/libmail-sendeasy-perl/debian/control
    trunk/libmail-sendeasy-perl/debian/copyright
    trunk/libmail-sendeasy-perl/debian/patches/
    trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch   (with props)
    trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch   (with props)
    trunk/libmail-sendeasy-perl/debian/patches/00list
    trunk/libmail-sendeasy-perl/debian/rules   (with props)
    trunk/libmail-sendeasy-perl/debian/watch

Added: trunk/libmail-sendeasy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/changelog?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/changelog (added)
+++ trunk/libmail-sendeasy-perl/debian/changelog Tue Feb  5 13:21:06 2008
@@ -1,0 +1,7 @@
+libmail-sendeasy-perl (1.2-1) UNRELEASED; urgency=low
+
+  [Michael Mende]
+  * Initial Release (Closes: #464046).
+  * Patch Sendeasy.pm to accept '+' in localpart.
+
+ -- Michael Mende <debian at menole.net>  Tue, 05 Feb 2008 09:43:49 +0000

Added: trunk/libmail-sendeasy-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/compat?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/compat (added)
+++ trunk/libmail-sendeasy-perl/debian/compat Tue Feb  5 13:21:06 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libmail-sendeasy-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/control?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/control (added)
+++ trunk/libmail-sendeasy-perl/debian/control Tue Feb  5 13:21:06 2008
@@ -1,0 +1,20 @@
+Source: libmail-sendeasy-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), dpatch
+Build-Depends-Indep: perl (>= 5.8.8-12)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org> 
+Uploaders: Michael Mende <debian at menole.net>
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/Mail::SendEasy/
+XS-Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmail-sendeasy-perl/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmail-sendeasy-perl/
+
+Package: libmail-sendeasy-perl
+Architecture: all
+Depends: ${perl:Depends}
+Description: Send plain/html e-mails through SMTP servers
+ This modules will send in a easy way e-mails, and doesn't have 
+ dependencies. Soo, you don't need to install libnet.
+ .
+ It supports SMTP authentication and attachments.

Added: trunk/libmail-sendeasy-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/copyright?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/copyright (added)
+++ trunk/libmail-sendeasy-perl/debian/copyright Tue Feb  5 13:21:06 2008
@@ -1,0 +1,20 @@
+This is the debian package for the Mail::SendEasy module.
+It was created by Michael Mende <debian at menole.net> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/Mail::SendEasy/
+
+The upstream author is: Graciliano M. P. <gm at virtuasites.com.br>
+
+Copyright (C) 2004 Graciliano M. P. <gm at virtuasites.com.br>
+
+This program is free software; you can redistribute it and/or
+modify it under the same terms as Perl itself.
+
+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'.
+
+
+The Debian packaging is (C) 2008, Michael Mende <debian at menole.net> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch (added)
+++ trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch Tue Feb  5 13:21:06 2008
@@ -1,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 001_plus-in-emailaddress.dpatch by Michael Mende <debian at menole.net>
+## after suggestion by unknown found in http://rt.cpan.org/Public/Bug/Display.html?id=9724
+## 
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The e-mail syntax checker does not handle plus signs in usernames
+## DP: like "my+imap at example.com".
+
+diff -urNad /tmp/SendEasy.pm libmail-sendeasy-perl-1.2/lib/Mail/SendEasy.pm
+--- /tmp/SendEasy.pm	2004-04-09 07:48:46.000000000 +0000
++++ libmail-sendeasy-perl-1.2/lib/Mail/SendEasy.pm	2008-02-05 10:12:12.000000000 +0000
+@@ -446,10 +446,10 @@
+   
+   my $stat = 1 ;
+   
+-  if ($mail !~ /^[\w\.-]+\@localhost$/gsi) {
+-    if ($mail !~ /^[\w\.-]+\@(?:[\w-]+\.)*?(?:\w+(?:-\w+)*)(?:\.\w+)+$/ ) { $stat = undef ;}
++  if ($mail !~ /^[\w\.+-]+\@localhost$/gsi) {
++    if ($mail !~ /^[\w\.+-]+\@(?:[\w-]+\.)*?(?:\w+(?:-\w+)*)(?:\.\w+)+$/ ) { $stat = undef ;}
+   }
+-  elsif ($mail !~ /^[\w\.-]+\@[\w-]+$/ ) { $stat = undef ;}
++  elsif ($mail !~ /^[\w\.+-]+\@[\w-]+$/ ) { $stat = undef ;}
+   
+   return 1 if $stat ;
+   return undef ;

Propchange: trunk/libmail-sendeasy-perl/debian/patches/001_plus-in-emailaddress.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch (added)
+++ trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch Tue Feb  5 13:21:06 2008
@@ -1,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 001_pure-html-message.dpatch by Michael Mende <debian at menole.net>
+## 
+
+diff -urNad /tmp/SendEasy.pm libmail-sendeasy-perl-1.2/lib/Mail/SendEasy.pm
+--- /tmp/SendEasy.pm	2004-04-09 07:48:46.000000000 +0000
++++ libmail-sendeasy-perl-1.2/lib/Mail/SendEasy.pm	2008-02-05 11:59:23.000000000 +0000
+@@ -224,7 +224,8 @@
+   }
+   
+   if ( defined $mail{html} ) {
+-    $mail{msg} =~ s/\r\n?/\n/gs ;
++    $mail{html} =~ s/\r\n?/\n/gs ;
++    if ( $mail{html} !~ /\n\n$/s) { $mail{html} =~ s/\n?$/\n\n/s ;}
+     
+     my %part = (
+     'Content-Type' => 'text/html; charset=ISO-8859-1' ,

Propchange: trunk/libmail-sendeasy-perl/debian/patches/002_pure-html-message.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libmail-sendeasy-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/patches/00list?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/patches/00list (added)
+++ trunk/libmail-sendeasy-perl/debian/patches/00list Tue Feb  5 13:21:06 2008
@@ -1,0 +1,2 @@
+001_plus-in-emailaddress.dpatch
+002_pure-html-message.dpatch

Added: trunk/libmail-sendeasy-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/rules?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/rules (added)
+++ trunk/libmail-sendeasy-perl/debian/rules Tue Feb  5 13:21:06 2008
@@ -1,0 +1,78 @@
+#!/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)
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-stamp
+build-stamp: patch
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/share/perl5/ \
+		VENDORARCHEXP=/usr/share/perl5/
+	$(MAKE)
+	# `make test` needs interaction
+	#$(MAKE) test
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: build install-stamp
+install-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_installexamples
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	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-sendeasy-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libmail-sendeasy-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libmail-sendeasy-perl/debian/watch?rev=14169&op=file
==============================================================================
--- trunk/libmail-sendeasy-perl/debian/watch (added)
+++ trunk/libmail-sendeasy-perl/debian/watch Tue Feb  5 13:21:06 2008
@@ -1,0 +1,3 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://search.cpan.org/dist/Mail::SendEasy/ .*/Mail::SendEasy-([\.\d]+)\.(?:tar\.gz|tar|tgz)$




More information about the Pkg-perl-cvs-commits mailing list