r25803 - in /trunk/libnet-dns-async-perl: META.yml debian/changelog debian/compat debian/control debian/copyright debian/rules lib/Net/DNS/Async.pm

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Mon Oct 6 16:34:05 UTC 2008


Author: ansgar-guest
Date: Mon Oct  6 16:34:02 2008
New Revision: 25803

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25803
Log:
* New upstream release.
* Refresh debian/rules for debhelper 7.
* Convert debian/copyright to proposed machine-readable format.
* Add myself to Uploaders.

Modified:
    trunk/libnet-dns-async-perl/META.yml
    trunk/libnet-dns-async-perl/debian/changelog
    trunk/libnet-dns-async-perl/debian/compat
    trunk/libnet-dns-async-perl/debian/control
    trunk/libnet-dns-async-perl/debian/copyright
    trunk/libnet-dns-async-perl/debian/rules
    trunk/libnet-dns-async-perl/lib/Net/DNS/Async.pm

Modified: trunk/libnet-dns-async-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/META.yml?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/META.yml (original)
+++ trunk/libnet-dns-async-perl/META.yml Mon Oct  6 16:34:02 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Net-DNS-Async
-version:      1.06
+version:      1.07
 version_from: lib/Net/DNS/Async.pm
 installdirs:  site
 requires:

Modified: trunk/libnet-dns-async-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/debian/changelog?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/debian/changelog (original)
+++ trunk/libnet-dns-async-perl/debian/changelog Mon Oct  6 16:34:02 2008
@@ -1,8 +1,15 @@
-libnet-dns-async-perl (1.06-2) UNRELEASED; urgency=low
+libnet-dns-async-perl (1.07-1) unstable; urgency=low
 
+  [ Jan Wagner ]
   * Updating standards version to 3.8.0, no changes needed
 
- -- Jan Wagner <waja at cyconet.org>  Sat, 07 Jun 2008 11:40:58 +0200
+  [ Ansgar Burchardt ]
+  * New upstream release.
+  * Refresh debian/rules for debhelper 7.
+  * Convert debian/copyright to proposed machine-readable format.
+  * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Mon, 06 Oct 2008 18:33:39 +0200
 
 libnet-dns-async-perl (1.06-1) unstable; urgency=low
 

Modified: trunk/libnet-dns-async-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/debian/compat?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/debian/compat (original)
+++ trunk/libnet-dns-async-perl/debian/compat Mon Oct  6 16:34:02 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libnet-dns-async-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/debian/control?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/debian/control (original)
+++ trunk/libnet-dns-async-perl/debian/control Mon Oct  6 16:34:02 2008
@@ -1,10 +1,11 @@
 Source: libnet-dns-async-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: debhelper (>= 7.0.0)
 Build-Depends-Indep: perl (>= 5.8.8-12), libnet-dns-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Jan Wagner <waja at cyconet.org>
+Uploaders: Jan Wagner <waja at cyconet.org>,
+ Ansgar Burchardt <ansgar at 43-1.org>
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/Net-DNS-Async/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-dns-async-perl/

Modified: trunk/libnet-dns-async-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/debian/copyright?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/debian/copyright (original)
+++ trunk/libnet-dns-async-perl/debian/copyright Mon Oct  6 16:34:02 2008
@@ -1,18 +1,24 @@
-This is the debian package for the Net-DNS-Async module.
-It was created by Jan Wagner <waja at cyconet.org>.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=228
+Upstream-Name: Net-DNS-Async
+Upstream-Maintainer: Shevek
+Upstream-Source: http://search.cpan.org/dist/Net-DNS-Async/
 
-It was downloaded from http://search.cpan.org/dist/Net-DNS-Async/
+Files: *
+Copyright: © 2005-2006, Shevek <cpan at anarres.org>
+License: GPL-1+ | Artistic
+ 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'.
 
-Copyright (c) 2005-2006 Shevek <cpan at anarres.org>. All rights reserved.
+Files: debian/*
+Copyright:
+ © 2008, Jan Wagner <waja at cyconet.org>
+ © 2008, Ansgar Burchardt <ansgar at 43-1.org>
+License: GPL-1+ | Artistic
+ The Debian packaging is licensed under the same terms as the software itself
+ (see above).
 
-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, Jan Wagner <waja at cyconet.org>,
-Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org> and
-is licensed under the same terms as the software itself (see above).

Modified: trunk/libnet-dns-async-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/debian/rules?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/debian/rules (original)
+++ trunk/libnet-dns-async-perl/debian/rules Mon Oct  6 16:34:02 2008
@@ -1,76 +1,26 @@
 #!/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)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	# leave  2nd test out, cause it needs network connection
+	dh build --before dh_auto_test
+	# leave 2nd test out, cause it needs network connection
 	$(MAKE) test TEST_FILES="t/01_use.t"
-
+	dh build --after dh_auto_test
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
+	dh install
 	touch $@
 
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libnet-dns-async-perl/lib/Net/DNS/Async.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dns-async-perl/lib/Net/DNS/Async.pm?rev=25803&op=diff
==============================================================================
--- trunk/libnet-dns-async-perl/lib/Net/DNS/Async.pm (original)
+++ trunk/libnet-dns-async-perl/lib/Net/DNS/Async.pm Mon Oct  6 16:34:02 2008
@@ -16,7 +16,7 @@
 use Time::HiRes;
 use Storable qw(freeze thaw);
 
-$VERSION = '1.06';
+$VERSION = '1.07';
 $_LEVEL = 0;
 
 sub new {
@@ -138,7 +138,7 @@
 		$time = 0 if $time < 0;
 	}
 
-	my @sockets = $self->{Selector}->can_read($time - time());
+	my @sockets = $self->{Selector}->can_read($time);
 	for my $socket (@sockets) {
 		# If we recursed from the user callback into add(), then
 		# we might have read from and closed this socket.




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