diff -Nru libnet-daemon-perl-0.47/ChangeLog libnet-daemon-perl-0.48/ChangeLog --- libnet-daemon-perl-0.47/ChangeLog 2011-03-01 17:03:33.000000000 +0000 +++ libnet-daemon-perl-0.48/ChangeLog 2011-03-09 17:40:54.000000000 +0000 @@ -1,3 +1,6 @@ +2011-03-09 Malcolm Nooning (0.48) + * t/forkm.t Patched perl Leon Timmermans + http://rt.perl.org/rt3/Public/Bug/Display.html?id=83646 2011-03-01 Malcolm Nooning (0.47) * lib/Net/Daemon.pm Patched per bug 32887 "ithreads not detected due to a typo" diff -Nru libnet-daemon-perl-0.47/debian/changelog libnet-daemon-perl-0.48/debian/changelog --- libnet-daemon-perl-0.47/debian/changelog 2011-03-09 11:01:50.000000000 +0000 +++ libnet-daemon-perl-0.48/debian/changelog 2011-06-25 05:35:18.000000000 +0000 @@ -1,3 +1,11 @@ +libnet-daemon-perl (0.48-1) unstable; urgency=low + + * New upstream + * Fix debian-rules-missing-recommended-target + * Fix out-of-date-standards-version + + -- Anibal Monsalve Salazar Sat, 25 Jun 2011 15:35:18 +1000 + libnet-daemon-perl (0.47-1) unstable; urgency=low * New upstream release diff -Nru libnet-daemon-perl-0.47/debian/control libnet-daemon-perl-0.48/debian/control --- libnet-daemon-perl-0.47/debian/control 2011-03-09 10:56:07.000000000 +0000 +++ libnet-daemon-perl-0.48/debian/control 2011-06-25 05:35:55.000000000 +0000 @@ -4,7 +4,7 @@ Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl (>= 5.6.0-16) Maintainer: Anibal Monsalve Salazar -Standards-Version: 3.9.1 +Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Net-Daemon/ Package: libnet-daemon-perl diff -Nru libnet-daemon-perl-0.47/debian/rules libnet-daemon-perl-0.48/debian/rules --- libnet-daemon-perl-0.47/debian/rules 2011-03-09 11:07:23.000000000 +0000 +++ libnet-daemon-perl-0.48/debian/rules 2011-06-25 05:35:40.000000000 +0000 @@ -8,6 +8,8 @@ endif archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'` +build-arch: build +build-indep: build build: build-stamp build-stamp: dh_testdir diff -Nru libnet-daemon-perl-0.47/lib/Net/Daemon.pm libnet-daemon-perl-0.48/lib/Net/Daemon.pm --- libnet-daemon-perl-0.47/lib/Net/Daemon.pm 2011-03-01 17:03:24.000000000 +0000 +++ libnet-daemon-perl-0.48/lib/Net/Daemon.pm 2011-03-09 17:41:11.000000000 +0000 @@ -33,7 +33,7 @@ package Net::Daemon; -$Net::Daemon::VERSION = '0.47'; +$Net::Daemon::VERSION = '0.48'; # Dummy share() in case we're >= 5.10. If we are, require/import of # threads::shared will replace it appropriately. diff -Nru libnet-daemon-perl-0.47/META.yml libnet-daemon-perl-0.48/META.yml --- libnet-daemon-perl-0.47/META.yml 2011-03-01 17:06:41.000000000 +0000 +++ libnet-daemon-perl-0.48/META.yml 2011-03-09 17:44:20.000000000 +0000 @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Net-Daemon -version: 0.47 +version: 0.48 abstract: Perl extension for portable daemons author: - Jochen Wiedmann (joe@ispsoft.de) diff -Nru libnet-daemon-perl-0.47/t/forkm.t libnet-daemon-perl-0.48/t/forkm.t --- libnet-daemon-perl-0.47/t/forkm.t 2011-03-01 17:03:15.000000000 +0000 +++ libnet-daemon-perl-0.48/t/forkm.t 2011-03-09 17:38:47.000000000 +0000 @@ -8,7 +8,7 @@ use Net::Daemon::Test (); use Fcntl (); use Config (); - +use POSIX qw/WNOHANG/; my $debug = 0; my $dh; @@ -130,7 +130,8 @@ sub CatchChild { &log("CatchChild: ->"); for(;;) { - my $pid = wait; + my $pid = waitpid -1, WNOHANG; + last if $pid <= 0; if ($pid > 0) { &log("CatchChild: $pid"); if (exists $childs{$pid}) {