--- libdata-validate-email-perl-0.04.orig/debian/control +++ libdata-validate-email-perl-0.04/debian/control @@ -0,0 +1,24 @@ +Source: libdata-validate-email-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), quilt +Build-Depends-Indep: perl (>= 5.6.0-12), libdata-validate-domain-perl (>= 0.04), libemail-address-perl +Maintainer: Debian Perl Group +Uploaders: Antonio Radici +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/Data-Validate-Email/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdata-validate-email-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdata-validate-email-perl/ + +Package: libdata-validate-email-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libdata-validate-domain-perl (>= 0.04), libemail-address-perl +Description: validator for email addresses written in Perl + Data::Validate::Email collects common email validation routines to make input + validation, and untainting easier and more readable. + . + The main purpose of this module is to check if a mail address is a valid + mail address and if it is compliant with RFC822 + . + The module will also check if the domain is a proper one using + Data::Validate::Domain. --- libdata-validate-email-perl-0.04.orig/debian/copyright +++ libdata-validate-email-perl-0.04/debian/copyright @@ -0,0 +1,28 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Richard Sonnen . +Upstream-Source: http://search.cpan.org/dist/Data-Validate-Email/ +Upstream-Name: Data-Validate-Email + +Files: * +Copyright: 2008, Richard Sonnen . +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Antonio Radici +License: Artistic | 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 GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +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 GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libdata-validate-email-perl-0.04.orig/debian/watch +++ libdata-validate-email-perl-0.04/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 3; this line is compulsory! +version=3 +# URL to the package page followed by a regex to search +http://search.cpan.org/dist/Data-Validate-Email/ .*/Data-Validate-Email-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libdata-validate-email-perl-0.04.orig/debian/compat +++ libdata-validate-email-perl-0.04/debian/compat @@ -0,0 +1 @@ +7 --- libdata-validate-email-perl-0.04.orig/debian/changelog +++ libdata-validate-email-perl-0.04/debian/changelog @@ -0,0 +1,5 @@ +libdata-validate-email-perl (0.04-1) unstable; urgency=low + + * Initial Release (Closes: #508503). + + -- Antonio Radici Sun, 1 Feb 2009 13:58:42 +0000 --- libdata-validate-email-perl-0.04.orig/debian/rules +++ libdata-validate-email-perl-0.04/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh build + touch $@ + +clean: unpatch + dh $@ + +install: install-stamp +install-stamp: build-stamp + rm -rf testout/ + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libdata-validate-email-perl-0.04.orig/debian/patches/fix-pod-errors +++ libdata-validate-email-perl-0.04/debian/patches/fix-pod-errors @@ -0,0 +1,39 @@ +remove some errors from pod to make lintian happy + +--- a/Email.pm ++++ b/Email.pm +@@ -40,7 +40,7 @@ + =head1 SYNOPSIS + + use Data::Validate::Email qw(is_email is_email_rfc822); +- ++ + if(is_email($suspect)){ + print "Looks like an email address\n"; + } elsif(is_email_rfc822($suspect)){ +@@ -51,7 +51,7 @@ + + # or as an object + my $v = Data::Validate::Email->new(); +- ++ + die "not an email" unless ($v->is_email('foo')); + + =head1 DESCRIPTION +@@ -67,14 +67,14 @@ + + =head1 FUNCTIONS + +-=over 4 +- + =cut + + # ------------------------------------------------------------------------------- + + =pod + ++=over 4 ++ + =item B - constructor for OO usage + + new([\%opts]); --- libdata-validate-email-perl-0.04.orig/debian/patches/series +++ libdata-validate-email-perl-0.04/debian/patches/series @@ -0,0 +1 @@ +fix-pod-errors