[libnet-server-perl] 04/06: Refresh spelling-error.patch patch (offset)

Salvatore Bonaccorso carnil at debian.org
Sun May 18 21:00:10 UTC 2014


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

carnil pushed a commit to branch master
in repository libnet-server-perl.

commit 6e388ada40454c3fafa0834ca77c69dd40aad162
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun May 18 22:44:00 2014 +0200

    Refresh spelling-error.patch patch (offset)
---
 debian/patches/spelling-error.patch | 162 +++++++++++++++++++++---------------
 1 file changed, 96 insertions(+), 66 deletions(-)

diff --git a/debian/patches/spelling-error.patch b/debian/patches/spelling-error.patch
index bb69ea3..319400f 100644
--- a/debian/patches/spelling-error.patch
+++ b/debian/patches/spelling-error.patch
@@ -5,9 +5,11 @@ Author: intrigeri <intrigeri at debian.org>
 Reviewed-By: Xavier Guimard <x.guimard at free.fr>
 Last-Update: 2013-05-15
 
---- a/lib/Net/Server.pod
-+++ b/lib/Net/Server.pod
-@@ -194,7 +194,7 @@
+Index: libnet-server-perl/lib/Net/Server.pod
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server.pod
++++ libnet-server-perl/lib/Net/Server.pod
+@@ -194,7 +194,7 @@ Once started, the Net::Server will take
  waiting for connections.  Once a connection is received, the
  Net::Server will accept on the socket and will store the result (the
  client connection) in $self-E<gt>{server}-E<gt>{client}.  This
@@ -16,7 +18,7 @@ Last-Update: 2013-05-15
  servers are slightly different in that they will perform a B<recv>
  instead of an B<accept>.
  
-@@ -374,7 +374,7 @@
+@@ -374,7 +374,7 @@ been parsed.  The post_configure_hook is
  validation.
  
  Some emails have asked why we use this "template" method.  The idea is
@@ -25,7 +27,7 @@ Last-Update: 2013-05-15
  and you are also creating a way to get the values into the data
  structure.  The template is the way to get the values to the servers
  data structure.  One of the possibilities (that probably isn't used
-@@ -633,7 +633,7 @@
+@@ -633,7 +633,7 @@ if the C<port> argument omits a host spe
  L<Net::Server::Proto>. See L<IO::Socket>.  Configuration passed to new
  or run may be either a scalar containing a single host or an arrayref
  of hosts - if the hosts array is shorter than the ports array, the
@@ -34,7 +36,7 @@ Last-Update: 2013-05-15
  of the ports array.
  
  If an IPv4 address is passed, an IPv4 socket will be created.  If an
-@@ -664,7 +664,7 @@
+@@ -664,7 +664,7 @@ specification can be passed as part of t
      host => '*/IPv*',     # same (any IPv6 or IPv4)
  
      ipv  => 4,
@@ -43,7 +45,7 @@ Last-Update: 2013-05-15
  
  
  =item proto
-@@ -677,7 +677,7 @@
+@@ -677,7 +677,7 @@ extending the Net::Server::Proto class m
  passed to new or run may be either a scalar containing a single proto
  or an arrayref of protos - if the protos array is shorter than the
  ports array, the last proto entry will be used to augment the protos
@@ -52,7 +54,7 @@ Last-Update: 2013-05-15
  
  Additionally the proto may also contain the ipv specification.
  
-@@ -845,13 +845,13 @@
+@@ -845,13 +845,13 @@ server is still running as root.  Defaul
  
  =item user
  
@@ -68,7 +70,7 @@ Last-Update: 2013-05-15
  Defaults to "nobody."  If you would like the server to run as root,
  you will have to specify C<group> equal to "root".
  
-@@ -894,7 +894,7 @@
+@@ -894,7 +894,7 @@ property that is tied to the already ope
  
  Boolean.  Default undef (not set).  If set, the parent will not
  attempt to close child processes if the parent receives a SIG HUP.
@@ -77,7 +79,7 @@ Last-Update: 2013-05-15
  set of children.
  
  Children of a Fork server will exit after their current request.
-@@ -1158,12 +1158,12 @@
+@@ -1158,12 +1158,12 @@ the server.
  
  =item C<$self-E<gt>bind>
  
@@ -92,7 +94,7 @@ Last-Update: 2013-05-15
  signals are set to run server_close.  Sig PIPE is set to IGNORE.  Sig
  CHLD is set to sig_chld.  And sig HUP is set to call sig_hup.
  
-@@ -1323,11 +1323,11 @@
+@@ -1323,11 +1323,11 @@ the process will still be running as the
  =item C<$self-E<gt>pre_loop_hook()>
  
  This hook occurs after chroot, change of user, and change of group has
@@ -106,7 +108,7 @@ Last-Update: 2013-05-15
  accept_multi_port request (accept_multi_port is used if there are
  multiple bound ports to accept on, or if the "multi_port"
  configuration parameter is set to true).  This hook is intended to
-@@ -1337,7 +1337,7 @@
+@@ -1337,7 +1337,7 @@ post_bind_hook.  No internal support is
  handles or adding them to the IO::Socket.  Care must be used in how
  much occurs during the can_read_hook as a long response time will
  result in the server being susceptible to DOS attacks.  A return value
@@ -115,7 +117,7 @@ Last-Update: 2013-05-15
  on to the post_accept and process_request phases.
  
  It is generally suggested that other avenues be pursued for sending
-@@ -1470,7 +1470,7 @@
+@@ -1470,7 +1470,7 @@ Should return a hashref.
  Called when log_file is set to 'Sys::Syslog' and an error occurs while
  writing to the syslog.  It is passed two arguments, the value of $@,
  and an arrayref containing the arguments that were passed to the log
@@ -124,7 +126,7 @@ Last-Update: 2013-05-15
  
  =item C<$self-E<gt>log>
  
-@@ -1654,7 +1654,7 @@
+@@ -1654,7 +1654,7 @@ parent/child communication on PreFork.pm
  
  Thanks to Carl Lewis for suggesting "-" in user names.
  
@@ -133,7 +135,7 @@ Last-Update: 2013-05-15
  
  Thanks to Tim Watt for adding udp_broadcast to Proto::UDP.
  
-@@ -1694,7 +1694,7 @@
+@@ -1694,7 +1694,7 @@ lock_file once during parent call.  This
  systems supporting flock.  Rob also suggested not closing STDIN/STDOUT
  but instead reopening them to /dev/null to prevent spurious warnings.
  Also suggested short circuit in post_accept if in UDP.  Also for
@@ -142,7 +144,7 @@ Last-Update: 2013-05-15
  
  Thanks to Mark Martinec for suggesting additional log messages for
  failure during accept.
-@@ -1714,7 +1714,7 @@
+@@ -1714,7 +1714,7 @@ And for additional fixes later.
  Thanks to Steven Lembark for pointing out that no_client_stdout wasn't
  working with the Multiplex server.
  
@@ -151,7 +153,7 @@ Last-Update: 2013-05-15
  be passed through the ->log method and for suggesting we allow more
  types of characters through in syslog_ident.  Also to Peter Beckman
  for pointing out that a poorly setup localhost will cause tests to
-@@ -1779,7 +1779,7 @@
+@@ -1779,7 +1779,7 @@ Thanks to Mark Martinec for much of the
  IPv6 going.
  
  Thanks to the munin developers and Nicolai Langfeldt for hosting the
@@ -160,9 +162,11 @@ Last-Update: 2013-05-15
  allow_deny checking for IPv6 addresses.
  
  Thanks to Tatsuhiko Miyagawa for feedback, and for suggesting adding
---- a/lib/Net/Server/PSGI.pm
-+++ b/lib/Net/Server/PSGI.pm
-@@ -201,7 +201,7 @@
+Index: libnet-server-perl/lib/Net/Server/PSGI.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/PSGI.pm
++++ libnet-server-perl/lib/Net/Server/PSGI.pm
+@@ -206,7 +206,7 @@ rudimentary, then Net::Server::PSGI may
  Net::Server::PSGI takes Net::Server::HTTP one level farther.  It
  begins with base type MultiType defaulting to Net::Server::Fork.  It
  is easy to change it to any of the other Net::Server flavors by
@@ -171,9 +175,11 @@ Last-Update: 2013-05-15
  The port has also been defaulted to port 80 - but could easily be
  changed to another through the server configuration.  You can also
  very easily add ssl by including, proto=>"ssl" and provide a
---- a/lib/Net/Server/PreFork.pm
-+++ b/lib/Net/Server/PreFork.pm
-@@ -623,7 +623,7 @@
+Index: libnet-server-perl/lib/Net/Server/PreFork.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/PreFork.pm
++++ libnet-server-perl/lib/Net/Server/PreFork.pm
+@@ -623,7 +623,7 @@ value pairs.  Comments and white space a
  
  Process flow follows Net::Server until the loop phase.  At this point
  C<min_servers> are forked and wait for connections.  When a child
@@ -182,7 +188,7 @@ Last-Update: 2013-05-15
  that information to the parent, which keeps track and makes sure there
  are enough children to fulfill C<min_servers>, C<min_spare_servers>,
  C<max_spare_servers>, and C<max_servers>.
-@@ -639,7 +639,7 @@
+@@ -639,7 +639,7 @@ provided by PreForkSimple.  See L<Net::S
  
  This hook occurs at the top of run_n_children which is called each
  time the server goes to start more child processes.  This gives the
@@ -191,9 +197,11 @@ Last-Update: 2013-05-15
  this hook came from James FitzGibbon.
  
  =item C<$self-E<gt>parent_read_hook()>
---- a/lib/Net/Server/Daemonize.pm
-+++ b/lib/Net/Server/Daemonize.pm
-@@ -313,7 +313,7 @@
+Index: libnet-server-perl/lib/Net/Server/Daemonize.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Daemonize.pm
++++ libnet-server-perl/lib/Net/Server/Daemonize.pm
+@@ -313,7 +313,7 @@ Determine if the process is running as r
  
  =item check_pid_file
  
@@ -202,9 +210,11 @@ Last-Update: 2013-05-15
  of pid_file.  If file exists, open it and determine if the process
  that created it is still running.  This is done first by checking for
  a /proc file system and second using a "ps" command (BSD syntax).  (If
---- a/lib/Net/Server/Proto.pm
-+++ b/lib/Net/Server/Proto.pm
-@@ -415,7 +415,7 @@
+Index: libnet-server-perl/lib/Net/Server/Proto.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto.pm
++++ libnet-server-perl/lib/Net/Server/Proto.pm
+@@ -415,7 +415,7 @@ a bare hostname, or a hostname with IPv*
  
  In addition to being able to specify IPV as a separate parameter, ipv may
  also be passed as a part of the host, as part of the port, as part of the protocol
@@ -213,9 +223,11 @@ Last-Update: 2013-05-15
  
       1) Explicit IPv4 or IPv6 address - wins
       2) ipv specified in port
---- a/lib/Net/Server/HTTP.pm
-+++ b/lib/Net/Server/HTTP.pm
-@@ -653,7 +653,7 @@
+Index: libnet-server-perl/lib/Net/Server/HTTP.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/HTTP.pm
++++ libnet-server-perl/lib/Net/Server/HTTP.pm
+@@ -664,7 +664,7 @@ requested feature and is a standard and
  Net::Server::HTTP begins with base type MultiType defaulting to
  Net::Server::Fork.  It is easy to change it to any of the other
  Net::Server flavors by passing server_type => $other_flavor in the
@@ -224,7 +236,7 @@ Last-Update: 2013-05-15
  but could easily be changed to another through the server
  configuration.  You can also very easily add ssl by including,
  proto=>"ssl" and provide a SSL_cert_file and SSL_key_file.
-@@ -738,7 +738,7 @@
+@@ -749,7 +749,7 @@ Calls send_status with 500 and the argum
  =item c<log_http_request>
  
  Called at the end of post_process_request.  The default method looks
@@ -233,9 +245,11 @@ Last-Update: 2013-05-15
  during _init_access_log.  If both of these exist, the http_request_info
  is formatted using http_log_format and the result is logged.
  
---- a/lib/Net/Server/PreForkSimple.pm
-+++ b/lib/Net/Server/PreForkSimple.pm
-@@ -435,16 +435,16 @@
+Index: libnet-server-perl/lib/Net/Server/PreForkSimple.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/PreForkSimple.pm
++++ libnet-server-perl/lib/Net/Server/PreForkSimple.pm
+@@ -435,16 +435,16 @@ specified in I<lock_file> (see below).
  IPC::Semaphore (thanks to Bennett Todd) for giving some sample code.
  The pipe option reads on a pipe to choose the next.  the flock option
  should be the most bulletproof while the pipe option should be the
@@ -255,7 +269,7 @@ Last-Update: 2013-05-15
  temporary filename.  If default value is used the lock_file will be
  removed when the server closes.
  
-@@ -513,7 +513,7 @@
+@@ -513,7 +513,7 @@ value pairs.  Comments and white space a
  
  Process flow follows Net::Server until the loop phase.  At this point
  C<max_servers> are forked and wait for connections.  When a child
@@ -264,7 +278,7 @@ Last-Update: 2013-05-15
  that information to the parent, which keeps track and makes sure there
  are always C<max_servers> running.
  
-@@ -528,14 +528,14 @@
+@@ -528,14 +528,14 @@ hooks provided by the Net::Server base c
  
  This hook occurs at the top of run_n_children which is called each
  time the server goes to start more child processes.  This gives the
@@ -282,9 +296,11 @@ Last-Update: 2013-05-15
  is suggested that all perl modules be used by this point, so that the
  most shared memory possible is used.
  
---- a/lib/Net/Server/SIG.pm
-+++ b/lib/Net/Server/SIG.pm
-@@ -137,7 +137,7 @@
+Index: libnet-server-perl/lib/Net/Server/SIG.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/SIG.pm
++++ libnet-server-perl/lib/Net/Server/SIG.pm
+@@ -137,7 +137,7 @@ to fix the unsafe problem.  If a process
  signal will short circuit the select.  Using this concept,
  Net::Server::SIG does the least work possible (changing one bit from 0
  to 1).  And depends upon the actual processing of the signals to take
@@ -293,7 +309,7 @@ Last-Update: 2013-05-15
  function.  See the example shown above and also see the sigtest.pl
  script located in the examples directory of this distribution.
  
-@@ -161,9 +161,9 @@
+@@ -161,9 +161,9 @@ register_sig(SIG,'DEFAULT')
  
  =item C<check_sigs()>
  
@@ -305,9 +321,11 @@ Last-Update: 2013-05-15
  
  =item C<sig_is_registered($SIG)>
  
---- a/lib/Net/Server/Log/Log/Log4perl.pm
-+++ b/lib/Net/Server/Log/Log/Log4perl.pm
-@@ -100,7 +100,7 @@
+Index: libnet-server-perl/lib/Net/Server/Log/Log/Log4perl.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Log/Log/Log4perl.pm
++++ libnet-server-perl/lib/Net/Server/Log/Log/Log4perl.pm
+@@ -100,7 +100,7 @@ is not readable, will die.
  
  =item log4perl_poll
  
@@ -316,9 +334,11 @@ Last-Update: 2013-05-15
  with this polling value. This can also be the string "HUP" to re-read
  the log4perl_conf when a HUP signal is received. If set to 0, no
  polling is done. See L<Log::Log4perl> for more details.
---- a/lib/Net/Server/Proto/TCP.pm
-+++ b/lib/Net/Server/Proto/TCP.pm
-@@ -188,7 +188,7 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/TCP.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/TCP.pm
++++ libnet-server-perl/lib/Net/Server/Proto/TCP.pm
+@@ -188,7 +188,7 @@ See L<Net::Server> for more information
  =item C<object>
  
  Returns an object with parameters suitable for eventual creation of
@@ -327,9 +347,11 @@ Last-Update: 2013-05-15
  
  =item C<log_connect>
  
---- a/lib/Net/Server/Proto/UNIX.pm
-+++ b/lib/Net/Server/Proto/UNIX.pm
-@@ -116,11 +116,11 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/UNIX.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/UNIX.pm
++++ libnet-server-perl/lib/Net/Server/Proto/UNIX.pm
+@@ -116,11 +116,11 @@ Protocol module for Net::Server.  This m
  SOCK_STREAM socket type.  See L<Net::Server::Proto>.
  
  Any sockets created during startup will be chown'ed to the user and
@@ -343,9 +365,11 @@ Last-Update: 2013-05-15
  command line parameters for a Net::Server.  See L<Net::Server> for
  more information on reading arguments.
  
---- a/lib/Net/Server/Proto/SSL.pm
-+++ b/lib/Net/Server/Proto/SSL.pm
-@@ -239,7 +239,7 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/SSL.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/SSL.pm
++++ libnet-server-perl/lib/Net/Server/Proto/SSL.pm
+@@ -239,7 +239,7 @@ Net::Server::Proto::SSL - Net::Server SS
  
  =head1 SYNOPSIS
  
@@ -354,7 +378,7 @@ Last-Update: 2013-05-15
  module.  Recent versions include code that overcomes original limitations.
  
  See L<Net::Server::Proto>.
-@@ -303,7 +303,7 @@
+@@ -303,7 +303,7 @@ Net::SSLeay.  See L<Net::Server::Proto>.
  If you know that your server will only need IPv4 (which is the default
  for Net::Server), you can load IO::Socket::SSL in inet4 mode which
  will prevent it from using Socket6 and IO::Socket::INET6 since they
@@ -363,9 +387,11 @@ Last-Update: 2013-05-15
  
      use IO::Socket::SSL qw(inet4);
      use base qw(Net::Server::Fork);
---- a/lib/Net/Server/Proto/SSLEAY.pm
-+++ b/lib/Net/Server/Proto/SSLEAY.pm
-@@ -523,7 +523,7 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/SSLEAY.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/SSLEAY.pm
++++ libnet-server-perl/lib/Net/Server/Proto/SSLEAY.pm
+@@ -523,7 +523,7 @@ See L<Net::Server::Proto>.
  
  This module has reliably been used in situations receiving millions of
  hits on a single box per day.  If anybody has any successes or ideas
@@ -374,9 +400,11 @@ Last-Update: 2013-05-15
  
  Protocol module for Net::Server.  This module implements a secure
  socket layer over tcp (also known as SSL).  See L<Net::Server::Proto>.
---- a/lib/Net/Server/Proto/UNIXDGRAM.pm
-+++ b/lib/Net/Server/Proto/UNIXDGRAM.pm
-@@ -92,11 +92,11 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/UNIXDGRAM.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/UNIXDGRAM.pm
++++ libnet-server-perl/lib/Net/Server/Proto/UNIXDGRAM.pm
+@@ -92,11 +92,11 @@ Protocol module for Net::Server.  This m
  SOCK_DGRAM socket type.  See L<Net::Server::Proto>.
  
  Any sockets created during startup will be chown'ed to the user and
@@ -390,9 +418,11 @@ Last-Update: 2013-05-15
  command line parameters for a Net::Server.  See L<Net::Server> for
  more information on reading arguments.
  
---- a/lib/Net/Server/Proto/UDP.pm
-+++ b/lib/Net/Server/Proto/UDP.pm
-@@ -121,7 +121,7 @@
+Index: libnet-server-perl/lib/Net/Server/Proto/UDP.pm
+===================================================================
+--- libnet-server-perl.orig/lib/Net/Server/Proto/UDP.pm
++++ libnet-server-perl/lib/Net/Server/Proto/UDP.pm
+@@ -121,7 +121,7 @@ See L<Net::Server::Proto>.
  
  =head1 PARAMETERS
  
@@ -401,7 +431,7 @@ Last-Update: 2013-05-15
  normal command line parameters for a Net::Server.  See
  L<Net::Server> for more information on reading arguments.
  
-@@ -159,7 +159,7 @@
+@@ -159,7 +159,7 @@ Default is undef.
  =item C<object>
  
  Returns an object with parameters suitable for eventual creation of

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



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