tags 360792 + patch thanks Find attached a patch for the package that fixes this bug.
Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : infos zur usenet-hierarchie at.*: http://www.usenet.at/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Kurt Ostbahn & Kombo: In dera Bar
diff -u libemail-valid-perl-0.15/debian/control libemail-valid-perl-0.15/debian/control --- libemail-valid-perl-0.15/debian/control +++ libemail-valid-perl-0.15/debian/control @@ -1,15 +1,15 @@ Source: libemail-valid-perl Section: perl Priority: optional -Build-Depends: debhelper (>=3.0.18) -Build-Depends-Indep: perl (>=5.6.0-16), libmailtools-perl, libnet-dns-perl, libnet-domain-tld-perl, netbase +Build-Depends: debhelper (>=5.0.0) +Build-Depends-Indep: perl (>=5.6.0-16), libmailtools-perl, libnet-dns-perl, libnet-domain-tld-perl (>= 1.65-2), netbase Maintainer: Ron Lee <[EMAIL PROTECTED]> Standards-Version: 3.6.2.1 -Uploaders: Gunnar Wolf <[EMAIL PROTECTED]> +Uploaders: Gunnar Wolf <[EMAIL PROTECTED]>, gregor herrmann <[EMAIL PROTECTED]> Package: libemail-valid-perl Architecture: all -Depends: ${perl:Depends}, libmailtools-perl, libnet-dns-perl, libnet-domain-tld-perl, netbase +Depends: ${perl:Depends}, libmailtools-perl, libnet-dns-perl, libnet-domain-tld-perl (>= 1.65-2), netbase Description: Check validity of Internet email addresses This module determines whether an email address is well-formed, and optionally, whether a mail host exists for the domain. diff -u libemail-valid-perl-0.15/debian/rules libemail-valid-perl-0.15/debian/rules --- libemail-valid-perl-0.15/debian/rules +++ libemail-valid-perl-0.15/debian/rules @@ -8,8 +8,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export DH_COMPAT=2 - package=libemail-valid-perl ifndef PERL @@ -41,6 +39,11 @@ dh_clean -k -$(MAKE) test $(MAKE) install PREFIX=$(TMP)/usr + + #As this is a architecture independent package, we are not supposed to install + #stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 + touch install-stamp @@ -50,7 +53,7 @@ dh_testroot dh_installdocs README dh_installexamples t/valid.t - dh_installmanpages + dh_installman dh_installchangelogs Changes dh_compress dh_fixperms diff -u libemail-valid-perl-0.15/debian/changelog libemail-valid-perl-0.15/debian/changelog --- libemail-valid-perl-0.15/debian/changelog +++ libemail-valid-perl-0.15/debian/changelog @@ -1,3 +1,15 @@ +libemail-valid-perl (0.15-4) unstable; urgency=high + + * Patch in module and debian/control (versioned dependency with regard to + the newer version of libnet-domain-tld-perl (closes: #360792). + * High urgency because package is partly unusable with newer versions of + libnet-domain-tld-perl. + * Bumped debhelper compatibility level to 5. + * Changed dh_installmanpages to dh_installman in debian/rules. + * Remove /usr/lib/perl5 from package. + + -- gregor herrmann <[EMAIL PROTECTED]> Tue, 4 Apr 2006 19:58:22 +0200 + libemail-valid-perl (0.15-3) unstable; urgency=high * Don't fail to build the package if the tests are not successful. only in patch2: unchanged: --- libemail-valid-perl-0.15.orig/Valid.pm +++ libemail-valid-perl-0.15/Valid.pm @@ -17,7 +17,6 @@ # initialize if already loaded, better in prefork mod_perl environment $DNS_Method = defined $Net::DNS::VERSION ? 'Net::DNS' : ''; -$TLD = Net::Domain::TLD->new if defined $Net::Domain::TLD::VERSION; sub new { my $class = shift; @@ -164,14 +163,11 @@ my $self = shift; my %args = $self->_rearrange([qw( address )], [EMAIL PROTECTED]); - if (!defined $TLD) { - require Net::Domain::TLD; - $TLD = Net::Domain::TLD->new; - } + require Net::Domain::TLD; my $host = $self->_host( $args{address} or return $self->details('tld') ); $host =~ m#\.(\w+)$#; - $TLD->exists( $1 ); + Net::Domain::TLD::tld_exists( $1 ); } # Purpose: Check whether a DNS record (A or MX) exists for a domain. only in patch2: unchanged: --- libemail-valid-perl-0.15.orig/debian/compat +++ libemail-valid-perl-0.15/debian/compat @@ -0,0 +1 @@ +5
signature.asc
Description: Digital signature