debian/0000755000000000000000000000000011726660505007176 5ustar debian/watch0000644000000000000000000000017111726657271010234 0ustar version=3 http://search.cpan.org/dist/Mail-CheckUser/ .*/Mail-CheckUser-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000046211726660505010260 0ustar #!/usr/bin/make -f TEST_FILES = $(filter-out t/dns.t t/smtp.t t/smtp-taint.t t/timeout.t t/wildcard.t,$(wildcard t/*.t)) %: dh $@ override_dh_auto_test: # DISABLED TESTS REQUIRING NETWORK ACCESS: # t/dns.t t/smtp.t t/smtp-taint.t t/timeout.t t/wildcard.t dh_auto_test -- TEST_FILES="$(TEST_FILES)" debian/changelog0000644000000000000000000000241111726660505011046 0ustar libmail-checkuser-perl (1.21-2) unstable; urgency=low [ Fabrizio Regalli ] * Take over (see http://lists.debian.org/debian-perl/2011/07/msg00003.html). * Added Homepage and Vcs-* fields in d/control. * Add myself to Uploaders and Copyright. * Switch d/compat to 8. * Build-Depends: switch to debhelper (>= 8). * Bump to 3.0 quilt format. * Added d/watch file. * Removed README (it does not contain important information). [ Florian Schlichting ] * Picked update_wildcard_mx_records.patch from upstream RT to update embedded list of MX and A records; added 3 more patches to fix failing tests. * Disabled tests requiring network access. * Bumped Standards-Version to 3.9.3 (use copyright-format 1.0). * Added fix_pod_errors.patch. * Expanded the long description. * Added myself to Uploaders and copyright. -- Florian Schlichting Thu, 08 Mar 2012 21:07:06 +0100 libmail-checkuser-perl (1.21-1.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with Perl 5.10. Closes: #467798 -- Mark Hymers Sat, 05 Apr 2008 21:09:00 +0100 libmail-checkuser-perl (1.21-1) unstable; urgency=low * Initial Release. -- Martin Zobel-Helas Thu, 16 Aug 2007 14:45:26 +0200 debian/control0000644000000000000000000000212111726657271010603 0ustar Source: libmail-checkuser-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl Build-Depends-Indep: libnet-dns-perl Maintainer: Debian Perl Group Uploaders: Martin Zobel-Helas , Fabrizio Regalli , Florian Schlichting Standards-Version: 3.9.3 Homepage: http://search.cpan.org/dist/Mail-CheckUser Vcs-Git: git://git.debian.org/pkg-perl/packages/libmail-checkuser-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmail-checkuser-perl.git Package: libmail-checkuser-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libnet-dns-perl Description: Perl module for checking email addresses for validity Mail::CheckUser provides routines for quickly checking the validity of email addresses. It carries out the following checks: . * syntax of the email address * existence of MX or A records for the domain part (optional) * direct connection via SMTP simulating email delivery with MAIL and RCPT (optional) debian/compat0000644000000000000000000000000211726657271010402 0ustar 8 debian/source/0000755000000000000000000000000011726657271010504 5ustar debian/source/format0000644000000000000000000000001411726657271011712 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011726657271010633 5ustar debian/patches/update_wildcard_mx_records.patch0000644000000000000000000000271311726657271017237 0ustar Description: some gTLDs have changed their wildcard mx/a records, resulting in test failures. Origin: https://rt.cpan.org/Public/Bug/Display.html?id=25809 --- a/CheckUser.pm 18 Sep 2003 23:52:06 -0000 1.1.1.1 +++ b/CheckUser.pm 26 Mar 2007 14:55:11 -0000 @@ -85,35 +85,35 @@ "mail.nonregistered.nic.cx" => 1, # MX # mp - "202.128.12.163" => 1, # A + "mail.mp" => 1, # MX + "72.249.38.50" => 1, # MX # museum "195.7.77.20" => 1, # A # nu - "64.55.105.9" => 1, # A + '62.4.64.119' => 1, + '69.25.75.72' => 1, "212.181.91.6" => 1, # A # ph - "203.119.4.6" => 1, # A + "72.51.36.133" => 1, # A # pw - "216.98.141.250" => 1, # A - "65.125.231.178" => 1, # A - "wfb.dnsvr.com" => 1, # CNAME + "69.20.61.189" => 1, # A # sh - "194.205.62.62" => 1, # A + "216.117.170.115" => 1, # A # td "146.101.245.154" => 1, # A "www.nic.td" => 1, # CNAME # tk - "195.20.32.83" => 1, # A - "195.20.32.86" => 1, # A - "nukumatau.taloha.com" => 1, # MX - "195.20.32.99" => 1, # MX + "62.129.131.38" => 1, # A + "195.20.32.104" => 1, # A + "217.119.57.19" => 1, # A + "mx-host.dot.tk" => 1, # MX # tm "194.205.62.42" => 1, # A @@ -122,9 +122,7 @@ "203.73.24.11" => 1, # A # ws - "216.35.187.246" => 1, # A - "mail.worldsite.ws" => 1, # MX - "216.35.187.251" => 1, # MX + "64.70.19.33" => 1, # A }; debian/patches/fix_smtp-taint.patch0000644000000000000000000000041111726657271014616 0ustar Description: add '.' back into @INC Origin: https://rt.cpan.org/Public/Bug/Display.html?id=25808 --- a/t/smtp-taint.t 28 Aug 2003 19:17:31 -0000 1.1.1.1 +++ b/t/smtp-taint.t 26 Mar 2007 14:54:57 -0000 @@ -1,3 +1,5 @@ #!perl -T +use lib qw(.); + do 't/smtp.t'; debian/patches/delete_failing_wildcard_tests.patch0000644000000000000000000000131111726657271017676 0ustar Description: some TLDs changed their wildcard behaviour, delete them from test (this list keeps changing, you may want to re-check) Origin: https://rt.cpan.org/Public/Bug/Display.html?id=59399 --- a/t/wildcard.t +++ b/t/wildcard.t @@ -13,13 +13,9 @@ bogus@pqpqpqp-wildcard-qpqpqpqpqpq.com bogus@pqpqpqp-wildcard-qpqpqpqpqpq.net bogus@pqpqpqp-wildcard-qpqpqpqpqpq.nu - bogus@pqpqpqp-wildcard-qpqpqpqpqpq.tk bogus@pqpqpqp-wildcard-qpqpqpqpqpq.cc - bogus@pqpqpqp-wildcard-qpqpqpqpqpq.mp - bogus@pqpqpqp-wildcard-qpqpqpqpqpq.ws bogus@pqpqpqp-wildcard-qpqpqpqpqpq.sh bogus@pqpqpqp-wildcard-qpqpqpqpqpq.pw - bogus@pqpqpqp-wildcard-qpqpqpqpqpq.ph bogus@pqpqpqp-wildcard-qpqpqpqpqpq.ba |; debian/patches/series0000644000000000000000000000021611726657271012047 0ustar update_wildcard_mx_records.patch fix_smtp-taint.patch delete_failing_wildcard_tests.patch change_failing_smtp_test.patch fix_pod_errors.patch debian/patches/fix_pod_errors.patch0000644000000000000000000000052511726657271014702 0ustar Description: fix pod parser problem due to lacking empty line Author: Florian Schlichting Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=75625 --- a/procmail/cufilter +++ b/procmail/cufilter @@ -1,6 +1,7 @@ #!/usr/bin/perl =pod + =head1 NAME cufilter - Filter emails through Mail::CheckUser debian/patches/change_failing_smtp_test.patch0000644000000000000000000000077211726657271016702 0ustar Description: fix test failure by switching from hotmail.com to an email server that fails transparently for Mail::CheckUser. Author: Florian Schlichting --- a/t/smtp.t +++ b/t/smtp.t @@ -8,7 +8,7 @@ $Mail::CheckUser::Timeout = 120; @ok_emails = qw(m_ilya@agava.com brokenmx@yhoo.com); -@bad_emails = qw(unknown@for.bar freghreucew@hotmail.com); +@bad_emails = qw(unknown@for.bar freghreucew12@zedat.fu-berlin.de); start(scalar(@ok_emails) + scalar(@bad_emails)); debian/libmail-checkuser-perl.docs0000644000000000000000000000000511726657271014374 0ustar TODO debian/copyright0000644000000000000000000000233511726657271011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Ilya Martynov Source: http://search.cpan.org/dist/Mail-CheckUser/ Upstream-Name: Mail-CheckUser Files: * Copyright: 1999-2003, Ilya Martynov 2003, Rob Brown License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, Martin Zobel-Helas 2008, Mark Hymers 2011, Fabrizio Regalli 2012, Florian Schlichting License: Artistic or 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'. 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'.