[libhttp-server-simple-perl] 03/05: Update patches

Daniel Lintott daniel at serverb.co.uk
Tue Feb 3 16:34:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

dlintott-guest pushed a commit to branch master
in repository libhttp-server-simple-perl.

commit 60ee115db42528f18ad4a832cea96b71e4b06df4
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Tue Feb 3 13:02:24 2015 +0000

    Update patches
---
 ...002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch | 10 +++++-----
 debian/patches/fix_port_in_use_in_test.patch                   |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch b/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch
index 564caab..00fe0bb 100644
--- a/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch
+++ b/debian/patches/0002-Pipe-version-parent-waits-for-the-child-to-say-OK.patch
@@ -15,8 +15,8 @@ Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
 +use IO::Select;
  
  use vars qw($VERSION $bad_request_doc);
- $VERSION = '0.45_02';
-@@ -238,9 +239,30 @@
+ $VERSION = '0.50';
+@@ -240,9 +241,30 @@
  
  sub background {
      my $self  = shift;
@@ -48,7 +48,7 @@ Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
  
      srand(); # after a fork, we need to reset the random seed
               # or we'll get the same numbers in both branches
-@@ -249,6 +271,8 @@
+@@ -251,6 +273,8 @@
          POSIX::setsid()
              or croak "Can't start a new session: $!";
      }
@@ -57,7 +57,7 @@ Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
      $self->run(@_); # should never return
      exit;           # just to be sure
  }
-@@ -298,6 +322,7 @@
+@@ -300,6 +324,7 @@
  	$self->after_setup_listener();
          *{"$pkg\::run"} = $self->_default_run;
      }
@@ -65,7 +65,7 @@ Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
  
      local $SIG{HUP} = sub { $SERVER_SHOULD_RUN = 0; };
  
-@@ -443,6 +468,16 @@
+@@ -451,6 +476,16 @@
      }
  }
  
diff --git a/debian/patches/fix_port_in_use_in_test.patch b/debian/patches/fix_port_in_use_in_test.patch
index c610207..24c5eac 100644
--- a/debian/patches/fix_port_in_use_in_test.patch
+++ b/debian/patches/fix_port_in_use_in_test.patch
@@ -7,11 +7,11 @@ Forwarded: https://rt.cpan.org/Ticket/Display.html?id=96086
 Last-Update: 2014-05-30
 --- a/t/01live.t
 +++ b/t/01live.t
-@@ -32,6 +32,7 @@
+@@ -48,6 +48,7 @@
  my @classes = (qw(HTTP::Server::Simple SlowServer));
  for my $class (@classes) {
      run_server_tests($class, AF_INET);
-+    $PORT++;
-     run_server_tests($class, AF_INET6);
++	$PORT++;
+     run_server_tests($class, AF_INET6) if $RUN_IPV6;
      $PORT++; # don't reuse the port incase your bogus os doesn't release in time
  }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-server-simple-perl.git



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