debian/0000755000000000000000000000000012161040167007164 5ustar debian/rules0000755000000000000000000000003612161040167010243 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000410512161040167010567 0ustar Source: libnet-server-perl Maintainer: Debian Perl Group Uploaders: Carsten Wolff , Alexander Wirt , gregor herrmann , Daniel Kahn Gillmor , intrigeri , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-server-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-server-perl.git Homepage: https://metacpan.org/release/Net-Server/ Package: libnet-server-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libio-multiplex-perl, libio-socket-inet6-perl, libnet-cidr-perl, libsocket6-perl Suggests: libio-socket-ssl-perl, liblog-log4perl-perl, libnet-ssleay-perl Description: extensible, general perl server engine Net::Server is an extensible, general perl server engine that combines the good properties from Net::Daemon, NetServer::Generic, and Net::FTPServer; and borrows various concepts from the Apache webserver. . Features include: . * Single Server Mode * Inetd Server Mode * Preforking Simple Mode (PreForkSimple) * Preforking Managed Mode (PreFork) * Forking Mode * Multiplexing Mode using a single process * Multi port accepts on Single, Preforking, and Forking modes * Simultaneous accept/recv on tcp, udp, and unix sockets * Safe signal handling in Fork/PreFork avoids perl signal trouble * User customizable hooks * Chroot ability after bind * Change of user and group after bind * Basic allow/deny access control * Customized logging (choose Syslog, log_file, or STDERR) * HUP able server (clean restarts via sig HUP) * Dequeue ability in all Fork and PreFork modes. * Taint clean * Written in Perl * Protection against buffer overflow * Clean process flow * Extensibility debian/source/0000755000000000000000000000000012161040167010464 5ustar debian/source/format0000644000000000000000000000001412161040167011672 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002103512161040167011037 0ustar libnet-server-perl (2.007-3) unstable; urgency=low * Fix regression introduced by "SIGCHLD vs. SIGCLD" patch: extend CLD change to all functions of SIG.pm (Closes: #712714) -- Xavier Guimard Fri, 21 Jun 2013 06:13:49 +0200 libnet-server-perl (2.007-2) unstable; urgency=low * Update spelling errors patch * Fix "applications die() because of SIGCHLD vs. SIGCLD confusion" using a patch (Closes: #708180) -- Xavier Guimard Sun, 16 Jun 2013 08:20:33 +0200 libnet-server-perl (2.007-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Xavier Guimard ] * Imported Upstream version 2.007 (Closes: #693320) * Bump Standards-Version to 3.9.4 (no changes) * Remove pod patch now included in upstream * Add spelling error patch * Update debian/copyright years -- Xavier Guimard Sun, 05 May 2013 06:17:50 +0200 libnet-server-perl (2.006-1) unstable; urgency=low * Imported Upstream version 2.006 * Refresh 0001-Fix-errors-in-POD.patch. -- intrigeri Mon, 25 Jun 2012 15:46:02 +0200 libnet-server-perl (2.005-1) unstable; urgency=low * Imported Upstream version 2.005 (Closes: #667737) * Suggest liblog-log4perl-perl. * Drop 03_rt-cpan-65891-reap-children.patch: obsoleted by upstream changes. * Drop 04_fix-pod-error-in-http-manapage.patch: obsolete. * Drop 05_ipv6-support.patch: upstream added IPv6 support, let's use it. * Drop 06_cidr-workaround.patch: upstream applied some flavour of it. * Drop 08_propagate-dynamic-port-data-across-a-hup.patch: upstream supposedly fixed their handling of HUP vs. rebinding to ports. * Replace spelling patch with updated 0001-Fix-errors-in-POD.patch. * Re-enable test suite. * Fix debian/copyright with cme. * Add myself to uploaders. -- intrigeri Thu, 14 Jun 2012 12:19:56 +0200 libnet-server-perl (0.99-4) unstable; urgency=low * added patch to propagate port information across a HUP (Closes: #624500) * added myself to Uploaders. * bumped Standards-Version to 3.9.3 (no changes needed) -- Daniel Kahn Gillmor Thu, 15 Mar 2012 20:25:44 -0400 libnet-server-perl (0.99-3) unstable; urgency=low [ Carsten Wolff ] * took IPv6 patch from bug report, improved and included it as 05_ipv6-support.dpatch. (closes: Bug#523846) * added depends introduced by above patch * created patch 06_cidr-workaround.dpatch as a workaround until Net::CIDR is fixed [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * Drop ancient patch 02_spec.dpatch which causes a FTBFS. Thanks to Allison Randal for the bug report and the thorough analysis. (Closes: #642175) * Switch to source format 3.0 (quilt). * Convert remaining patches to quilt. * Use tiny debian/rules file, and debhelper 8. * Remove version from perl build dependency and move it to Build- Depends-Indep. * Set Standards-Version to 3.9.2 (no further changes). * debian/copyright: update formatting. * Add /me to Uploaders. * Remove leading article from short description. * Add a new patch to fix a spelling mistake in the POD. -- gregor herrmann Tue, 20 Sep 2011 22:04:38 +0200 libnet-server-perl (0.99-2) unstable; urgency=low * made lintian happy - fix deprecated makemaker prefix in rules - add patch to fix Net::Server::HTTP pod2man - updated copyright file in DEP5 - add debian/source/format -- Carsten Wolff Mon, 21 Mar 2011 13:46:44 +0100 libnet-server-perl (0.99-1) unstable; urgency=low [ Carsten Wolff ] * New upstream release * changed maintainer to pkg-perl * updated standards version to 3.9.1 one change: homepage field * added 03_rt-cpan-65891-reap-children.dpatch [ Scott Kitterman ] * Update debian/copyright * Add ${misc:Depends} to libnet-server-perl Depends * Added debian/README.source * Replace deprecated dh_clean -k with dh_prep and bump required debhelper version to >= 7 * Add pkg-perl Vcs-* to debian/control -- Carsten Wolff Tue, 15 Mar 2011 20:03:36 -0400 libnet-server-perl (0.97-1) unstable; urgency=low * New upstream release (closes: Bug#457028) * Fixed FTBFS if build twice in a row (closes: Bug#424529) * updated standards version to 3.7.3.0 (no changes) * made lintian happy -- Carsten Wolff Tue, 04 Mar 2008 12:35:17 +0100 libnet-server-perl (0.94-1) unstable; urgency=low * New upstream release (closes: Bug#358031) because amavisd-new is now 2.4.x in testing * new watch file (closes: Bug#354364) * fixed missing dependency on libnet-cidr-perl (closes: Bug#391579) * removed 01_syslog.dpatch, because it's now part of upstream * updated standards version to 3.7.2.2 (no changes) * changed Build-Depends-Indep into Build-Depends -- Carsten Wolff Tue, 17 Oct 2006 19:22:42 +0200 libnet-server-perl (0.90-1) unstable; urgency=low * New upstream release (closes: Bug#344083) -- Carsten Wolff Sun, 15 Jan 2006 22:57:02 +0100 libnet-server-perl (0.89-1) unstable; urgency=high * New upstream release (closes: Bug#296137) (closes: Bug#329640) * Don't ship README, it's exactly the same as the manpage and therefor redundant. (closes: Bug#308324) * New standards version 3.6.2: No changes * Fixes syslog format string vulnerability (CVE-2005-1127) -- Carsten Wolff Wed, 30 Nov 2005 21:51:43 +0100 libnet-server-perl (0.87-3) unstable; urgency=low * fixed user-/groupvalidation, it's now possible to run it as a user with hyphens in it's name. The patch was also submitted to CPAN. (closes: Bug#296043) -- Carsten Wolff Sun, 20 Feb 2005 05:21:11 +0100 libnet-server-perl (0.87-2) unstable; urgency=low * fixed system() calls in PreFork children. Thanks to David Parrish for providing the patch. (closes: Bug#283886) -- Carsten Wolff Sat, 18 Dec 2004 03:23:34 +0200 libnet-server-perl (0.87-1) unstable; urgency=low * New Maintainer (package was orphaned) * New upstream version (and new upstream maintainer, too) Thanks, Adrian von Bidder for providing updated packages (closes: Bug#257242) (closes: Bug#223383) * Policy 3.6.1: No changes * debian/rules - build in binary-indep, not binary-arch - avoid shipping .svn directories * use dpatch to handle changes in the source-tree * fixed the the syslog-problem as proposed in 202439 (closes: Bug#202439) -- Carsten Wolff Fri, 28 Sep 2004 18:36:07 +0200 libnet-server-perl (0.85-3) unstable; urgency=low * debian/control: depends on libio-multiplex-perl (closes: #192921) -- Luca Filipozzi Sat, 17 May 2003 16:00:32 -0700 libnet-server-perl (0.85-2) unstable; urgency=low * Net::Server does not background properly when logging to syslog; applied user-supplied patch (closes: #185457) * debian/control: change section to perl -- Luca Filipozzi Sun, 6 Apr 2003 21:06:43 -0700 libnet-server-perl (0.85-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Sat, 5 Apr 2003 20:13:18 -0800 libnet-server-perl (0.84-3) unstable; urgency=low * lib/Net/Server.pm: added patch from Christian Mock to check for existance of child before attempting to close() a socket to it (patch sent upstream) (closes: Bug#168784) -- Luca Filipozzi Tue, 19 Nov 2002 10:07:52 -0800 libnet-server-perl (0.84-2) unstable; urgency=low * debian/copyright: references appropriate licenses in /usr/share/common-licenses (closes: Bug#157624) -- Luca Filipozzi Sat, 21 Sep 2002 13:38:12 -0700 libnet-server-perl (0.84-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Fri, 12 Jul 2002 22:27:27 -0700 libnet-server-perl (0.83-1) unstable; urgency=low * New upstream release -- Luca Filipozzi Sun, 2 Jun 2002 20:59:51 -0700 libnet-server-perl (0.82-1) unstable; urgency=low * Initial release. (closes: #143048) -- Luca Filipozzi Mon, 15 Apr 2002 11:36:11 -0700 debian/libnet-server-perl.examples0000644000000000000000000000001312161040167014437 0ustar examples/* debian/compat0000644000000000000000000000000212161040167010362 0ustar 8 debian/patches/0000755000000000000000000000000012161040167010613 5ustar debian/patches/series0000644000000000000000000000006112161040167012025 0ustar spelling-error.patch correct-SIG-confusion.patch debian/patches/spelling-error.patch0000644000000000000000000004156412161040167014612 0ustar Description: fix errors in POD Bug: https://rt.cpan.org/Ticket/Display.html?id=85052 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=85052 Author: intrigeri Reviewed-By: Xavier Guimard Last-Update: 2013-05-15 --- a/lib/Net/Server.pod +++ b/lib/Net/Server.pod @@ -194,7 +194,7 @@ 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{server}-E{client}. This -property is a Socket blessed into the the IO::Socket classes. UDP +property is a Socket blessed into the IO::Socket classes. UDP servers are slightly different in that they will perform a B instead of an B. @@ -374,7 +374,7 @@ validation. Some emails have asked why we use this "template" method. The idea is -that you are creating the the data structure to store the values in, +that you are creating the data structure to store the values in, 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 @@ L. See L. 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 -last host entry will be used to augment the hosts arrary to the size +last host entry will be used to augment the hosts array to the size of the ports array. If an IPv4 address is passed, an IPv4 socket will be created. If an @@ -664,7 +664,7 @@ host => '*/IPv*', # same (any IPv6 or IPv4) ipv => 4, - host => '*', # any local IPv4 interfaces interfaces + host => '*', # any local IPv4 interfaces =item proto @@ -677,7 +677,7 @@ 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 -arrary to the size of the ports array. +array to the size of the ports array. Additionally the proto may also contain the ipv specification. @@ -845,13 +845,13 @@ =item user -Userid or username to become after the bind process has occured. +Userid or username to become after the bind process has occurred. Defaults to "nobody." If you would like the server to run as root, you will have to specify C equal to "root". =item group -Groupid or groupname to become after the bind process has occured. +Groupid or groupname to become after the bind process has occurred. Defaults to "nobody." If you would like the server to run as root, you will have to specify C equal to "root". @@ -894,7 +894,7 @@ Boolean. Default undef (not set). If set, the parent will not attempt to close child processes if the parent receives a SIG HUP. -The parent will rebind the the open port and begin tracking a fresh +The parent will rebind the open port and begin tracking a fresh set of children. Children of a Fork server will exit after their current request. @@ -1158,12 +1158,12 @@ =item C<$self-Ebind> -This method actually binds to the inialized sockets (or rebinds if the +This method actually binds to the initialized sockets (or rebinds if the server has been HUPed). =item C<$self-Epost_bind> -During this method priveleges are dropped. The INT, TERM, and QUIT +During this method privileges are dropped. The INT, TERM, and QUIT 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 @@ =item C<$self-Epre_loop_hook()> This hook occurs after chroot, change of user, and change of group has -occured. It allows for preparation before looping begins. +occurred. It allows for preparation before looping begins. =item C<$self-Ecan_read_hook()> -This hook occurs after a socket becomes readible on an +This hook occurs after a socket becomes readable on an 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 @@ 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 -of true indicates that the Server should not pass the readible handle +of true indicates that the Server should not pass the readable handle on to the post_accept and process_request phases. It is generally suggested that other avenues be pursued for sending @@ -1470,7 +1470,7 @@ 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 -method when the error occured. +method when the error occurred. =item C<$self-Elog> @@ -1654,7 +1654,7 @@ Thanks to Carl Lewis for suggesting "-" in user names. -Thanks to Slaven Rezic for suggesing Reuse => 1 in Proto::UDP. +Thanks to Slaven Rezic for suggesting Reuse => 1 in Proto::UDP. Thanks to Tim Watt for adding udp_broadcast to Proto::UDP. @@ -1694,7 +1694,7 @@ 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 -cleaning up some of the child managment code of PreFork. +cleaning up some of the child management code of PreFork. Thanks to Mark Martinec for suggesting additional log messages for failure during accept. @@ -1714,7 +1714,7 @@ Thanks to Steven Lembark for pointing out that no_client_stdout wasn't working with the Multiplex server. -Thanks to Peter Beckman for suggesting allowing Sys::SysLog keyworks +Thanks to Peter Beckman for suggesting allowing Sys::SysLog keywords 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 @@ IPv6 going. Thanks to the munin developers and Nicolai Langfeldt for hosting the -development verion of Net::Server for so long and for fixes to the +development version of Net::Server for so long and for fixes to the 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 @@ 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 -passing server_type => $other_flavor in the server configurtation. +passing server_type => $other_flavor in the server configuration. 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 @@ Process flow follows Net::Server until the loop phase. At this point C are forked and wait for connections. When a child -accepts a connection, finishs processing a client, or exits, it relays +accepts a connection, finishes processing a client, or exits, it relays that information to the parent, which keeps track and makes sure there are enough children to fulfill C, C, C, and C. @@ -639,7 +639,7 @@ 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 -parent to do a little of its own accountting (as desired). Idea for +parent to do a little of its own accounting (as desired). Idea for this hook came from James FitzGibbon. =item C<$self-Eparent_read_hook()> --- a/lib/Net/Server/Daemonize.pm +++ b/lib/Net/Server/Daemonize.pm @@ -313,7 +313,7 @@ =item check_pid_file -Arguments are pid_file (full path to pid_file). Checks for existance +Arguments are pid_file (full path to pid_file). Checks for existence 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 @@ 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 -or may be specified via $ENV{'IPV'}. The order of precidence is as follows: +or may be specified via $ENV{'IPV'}. The order of precedence is as follows: 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 @@ 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 -server configurtation. The port has also been defaulted to port 80 - +server configuration. 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 SSL_cert_file and SSL_key_file. @@ -738,7 +738,7 @@ =item c Called at the end of post_process_request. The default method looks -for the default access_log_format and checks if logging was initilized +for the default access_log_format and checks if logging was initialized 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 @@ 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 -most portable. (Flock is able to reliquish the block if the process +most portable. (Flock is able to relinquish the block if the process dies between accept on the socket and reading of the client connection - semaphore and pipe do not). An option of none will not perform any serialization. If "none" is passed and there are multiple ports -then a the default serialization will be used insted of "none." +then a the default serialization will be used instead of "none." =item lock_file Filename to use in flock serialized accept in order to serialize the -accept sequece between the children. This will default to a generated +accept sequence between the children. This will default to a generated temporary filename. If default value is used the lock_file will be removed when the server closes. @@ -513,7 +513,7 @@ Process flow follows Net::Server until the loop phase. At this point C are forked and wait for connections. When a child -accepts a connection, finishs processing a client, or exits, it relays +accepts a connection, finishes processing a client, or exits, it relays that information to the parent, which keeps track and makes sure there are always C running. @@ -528,14 +528,14 @@ 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 -parent to do a little of its own accountting (as desired). Idea for +parent to do a little of its own accounting (as desired). Idea for this hook came from James FitzGibbon. =item C<$self-Echild_init_hook()> -This hook takes place immeditately after the child process forks from +This hook takes place immediately after the child process forks from the parent and before the child begins accepting connections. It is -intended for any addiotional chrooting or other security measures. It +intended for any additional chrooting or other security measures. It 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 @@ 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 -place immediately after the the select call via the "check_sigs" +place immediately after the select call via the "check_sigs" 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 @@ =item C -Checks to see if any registered signals have occured. If so, it will +Checks to see if any registered signals have occurred. If so, it will play the registered code ref for that signal. Return value is array -containing any SIGNAL names that had occured. +containing any SIGNAL names that had occurred. =item C --- a/lib/Net/Server/Log/Log/Log4perl.pm +++ b/lib/Net/Server/Log/Log/Log4perl.pm @@ -100,7 +100,7 @@ =item log4perl_poll -If set to a value, will initialise with Log::Log4perl::init_and_watch +If set to a value, will initialize with Log::Log4perl::init_and_watch 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 for more details. --- a/lib/Net/Server/Proto/TCP.pm +++ b/lib/Net/Server/Proto/TCP.pm @@ -188,7 +188,7 @@ =item C Returns an object with parameters suitable for eventual creation of -a IO::Socket::INET object listining on UDP. +a IO::Socket::INET object listening on UDP. =item C --- a/lib/Net/Server/Proto/UNIX.pm +++ b/lib/Net/Server/Proto/UNIX.pm @@ -116,11 +116,11 @@ SOCK_STREAM socket type. See L. Any sockets created during startup will be chown'ed to the user and -group specified in the starup arguments. +group specified in the startup arguments. =head1 PARAMETERS -The following paramaters may be specified in addition to normal +The following parameters may be specified in addition to normal command line parameters for a Net::Server. See L for more information on reading arguments. --- a/lib/Net/Server/Proto/SSL.pm +++ b/lib/Net/Server/Proto/SSL.pm @@ -239,7 +239,7 @@ =head1 SYNOPSIS -Until this release, it was preferrable to use the Net::Server::Proto::SSLEAY +Until this release, it was preferable to use the Net::Server::Proto::SSLEAY module. Recent versions include code that overcomes original limitations. See L. @@ -303,7 +303,7 @@ 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 -would represent additional and unsued overhead. +would represent additional and unused overhead. 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 @@ 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 -for improvment under SSLEAY, please email . +for improvement under SSLEAY, please email . Protocol module for Net::Server. This module implements a secure socket layer over tcp (also known as SSL). See L. --- a/lib/Net/Server/Proto/UNIXDGRAM.pm +++ b/lib/Net/Server/Proto/UNIXDGRAM.pm @@ -92,11 +92,11 @@ SOCK_DGRAM socket type. See L. Any sockets created during startup will be chown'ed to the user and -group specified in the starup arguments. +group specified in the startup arguments. =head1 PARAMETERS -The following paramaters may be specified in addition to normal +The following parameters may be specified in addition to normal command line parameters for a Net::Server. See L for more information on reading arguments. --- a/lib/Net/Server/Proto/UDP.pm +++ b/lib/Net/Server/Proto/UDP.pm @@ -121,7 +121,7 @@ =head1 PARAMETERS -The following paramaters may be specified in addition to +The following parameters may be specified in addition to normal command line parameters for a Net::Server. See L for more information on reading arguments. @@ -159,7 +159,7 @@ =item C Returns an object with parameters suitable for eventual creation of -a IO::Socket::INET object listining on UDP. +a IO::Socket::INET object listening on UDP. =item C debian/patches/correct-SIG-confusion.patch0000644000000000000000000000200212161040167015710 0ustar Description: corrects SIGCHLD vs. SIGCLD confusion Origin: vendor Bug-Debian: http://bugs.debian.org/708180 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=85308 Reviewed-By: Xavier Guimard Last-Update: 2013-06-20 --- a/lib/Net/Server/SIG.pm +++ b/lib/Net/Server/SIG.pm @@ -40,6 +40,9 @@ my $code_ref = shift; my $ref = ref($code_ref); + # Added by Debian maintainer to close #708180 + $sig = 'CHLD' if ($sig eq 'CLD'); + if (! $ref) { if ($code_ref eq 'DEFAULT') { delete $_SIG{$sig}; @@ -66,6 +69,10 @@ sub check_sigs { my @found; foreach my $sig (keys %_SIG){ + + # Added by Debian maintainer to close #712714 + $sig = 'CHLD' if ($sig eq 'CLD'); + next if ! $_SIG{$sig}; $_SIG{$sig} = 0; push @found, $sig; @@ -76,6 +83,10 @@ sub sig_is_registered { my $sig = shift; + + # Added by Debian maintainer to close #712714 + $sig = 'CHLD' if ($sig eq 'CLD'); + return $_SIG_SUB{$sig}; } debian/copyright0000644000000000000000000000276712161040167011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net-Server Upstream-Contact: Paul Seamons (paul@seamons.com) and Rob Brown (bbb@cpan.org) Source: https://metacpan.org/release/Net-Server/ Files: * Copyright: 2001-2013, Paul T Seamons 2001-2012, Rob Brown License: Artistic or GPL-1+ Files: lib/Net/Server/Daemonize.pm Copyright: 2001-2012, Paul T Seamons 2001-2012, Jeremy Howard License: Artistic or GPL-1+ Files: debian/* Copyright: 2002-2003, Luca Filipozzi 2004-2011, Carsten Wolff 2011, gregor herrmann 2012, Daniel Kahn Gillmor 2012, intrigeri 2013, Xavier Guimard License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000014012161040167010210 0ustar version=3 https://metacpan.org/release/Net-Server/ .*Net-Server-([\d\.]+)\.(?:tar\.gz|tar|tgz)$