r2647 - in /packages/libemail-valid-perl/trunk: Valid.pm debian/changelog debian/compat debian/control debian/rules

ron at users.alioth.debian.org ron at users.alioth.debian.org
Fri Apr 28 13:58:45 UTC 2006


Author: ron
Date: Fri Apr 28 13:58:43 2006
New Revision: 2647

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2647
Log:

Import the 0.15-4 release source.


Added:
    packages/libemail-valid-perl/trunk/debian/compat
Modified:
    packages/libemail-valid-perl/trunk/Valid.pm
    packages/libemail-valid-perl/trunk/debian/changelog
    packages/libemail-valid-perl/trunk/debian/control
    packages/libemail-valid-perl/trunk/debian/rules

Modified: packages/libemail-valid-perl/trunk/Valid.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-valid-perl/trunk/Valid.pm?rev=2647&op=diff
==============================================================================
--- packages/libemail-valid-perl/trunk/Valid.pm (original)
+++ packages/libemail-valid-perl/trunk/Valid.pm Fri Apr 28 13:58:43 2006
@@ -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 )], \@_);
 
-  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.

Modified: packages/libemail-valid-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-valid-perl/trunk/debian/changelog?rev=2647&op=diff
==============================================================================
--- packages/libemail-valid-perl/trunk/debian/changelog (original)
+++ packages/libemail-valid-perl/trunk/debian/changelog Fri Apr 28 13:58:43 2006
@@ -1,3 +1,45 @@
+libemail-valid-perl (0.15-4) unstable; urgency=high
+
+  * Ack patch from gregor herrmann, now also in Uploaders.
+    Thanks!
+  * Also ack (subsequent) 0.15-3.1 NMU from Don Armstrong.
+  * That makes 3 of us who each independently prepared an
+    upload for this one.  Time to look at joining the
+    debian-perl group to avoid this in future I guess...
+
+ -- Ron Lee <ron at debian.org>  Thu, 13 Apr 2006 21:36:48 +0930
+
+libemail-valid-perl (0.15-4.0) 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 <gregor+debian at comodo.priv.at>  Tue,  4 Apr 2006 19:58:22 +0200
+
+libemail-valid-perl (0.15-3.1) unstable; urgency=low
+
+  * Make Email::Valid use the non-OO interface to Net::Domain::TLD
+    (closes: #360792) Thanks to gregor herrmann for the original patch
+    which was modified.
+  
+ -- Don Armstrong <don at debian.org>  Thu, 20 Apr 2006 13:11:50 -0700
+
+libemail-valid-perl (0.15-3) unstable; urgency=high
+
+  * Don't fail to build the package if the tests are not successful.
+    Some of them require network access for MX checking, which is
+    good to check, but should not prohibit people offline from
+    building it (and ignoring tests that cannot succeed in that
+    environment).  Closes: #336188 thanks!
+  * High urgency as this fixes FTBFS with no substantive changes.
+
+ -- Ron Lee <ron at debian.org>  Mon, 31 Oct 2005 08:27:59 +1030
+
 libemail-valid-perl (0.15-2) unstable; urgency=low
 
   * Fixed debian/watch not to get confused with other modules (i.e.

Added: packages/libemail-valid-perl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-valid-perl/trunk/debian/compat?rev=2647&op=file
==============================================================================
--- packages/libemail-valid-perl/trunk/debian/compat (added)
+++ packages/libemail-valid-perl/trunk/debian/compat Fri Apr 28 13:58:43 2006
@@ -1,0 +1,1 @@
+5

Modified: packages/libemail-valid-perl/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-valid-perl/trunk/debian/control?rev=2647&op=diff
==============================================================================
--- packages/libemail-valid-perl/trunk/debian/control (original)
+++ packages/libemail-valid-perl/trunk/debian/control Fri Apr 28 13:58:43 2006
@@ -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 <ron at debian.org>
-Standards-Version: 3.6.1
-Uploaders: Gunnar Wolf <gwolf at debian.org>
+Standards-Version: 3.6.2.1
+Uploaders: Gunnar Wolf <gwolf at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
 
 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.

Modified: packages/libemail-valid-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libemail-valid-perl/trunk/debian/rules?rev=2647&op=diff
==============================================================================
--- packages/libemail-valid-perl/trunk/debian/rules (original)
+++ packages/libemail-valid-perl/trunk/debian/rules Fri Apr 28 13:58:43 2006
@@ -7,8 +7,6 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
-
-export DH_COMPAT=2
 
 package=libemail-valid-perl
 
@@ -39,8 +37,13 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) test
+	-$(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




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