wok rev 24245
updated perl-net-server (2.009 -> 2.010)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:43:29 2022 +0100 (2022-01-02) |
parents | be4f6d921ef0 |
children | bd71c410ddda |
files | perl-net-server/description.txt perl-net-server/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-net-server/description.txt Sun Jan 02 07:43:29 2022 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +Net::Server is an extensible, generic Perl server engine. 1.5 + 1.6 +Net::Server attempts to be a generic server as in Net::Daemon and 1.7 +NetServer::Generic. 1.8 +It includes with it the ability to run as an inetd process 1.9 +(Net::Server::INET), a single connection server (Net::Server or 1.10 +Net::Server::Single), a forking server (Net::Server::Fork), 1.11 +a preforking server which maintains a constant number of preforked 1.12 +children (Net::Server::PreForkSimple), or as a managed preforking 1.13 +server which maintains the number of children based on server load 1.14 +(Net::Server::PreFork). 1.15 +In all but the inetd type, the server provides the ability to connect 1.16 +to one or to multiple server ports. 1.17 + 1.18 +The additional server types are made possible via "personalities" or 1.19 +sub classes of the Net::Server. 1.20 +By moving the multiple types of servers out of the main Net::Server 1.21 +class, the Net::Server concept is easily extended to other types 1.22 +(in the near future, we would like to add a "Thread" personality). 1.23 + 1.24 +Net::Server borrows several concepts from the Apache Webserver. 1.25 +Net::Server uses "hooks" to allow custom servers such as SMTP, HTTP, 1.26 +POP3, etc. to be layered over the base Net::Server class. 1.27 +In addition the Net::Server::PreFork class borrows concepts of 1.28 +min_start_servers, max_servers, and min_waiting servers. 1.29 +Net::Server::PreFork also uses the concept of an flock serialized 1.30 +accept when accepting on multiple ports (PreFork can choose between 1.31 +flock, IPC::Semaphore, and pipe to control serialization).
2.1 --- a/perl-net-server/receipt Sun Jan 02 07:38:44 2022 +0100 2.2 +++ b/perl-net-server/receipt Sun Jan 02 07:43:29 2022 +0100 2.3 @@ -1,12 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-net-server" 2.7 -VERSION="2.009" 2.8 +VERSION="2.010" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl extension Net::Server." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 -WEB_SITE="https://metacpan.org/release/Net-Server" 2.14 +WEB_SITE="https://metacpan.org/pod/Net::Server" 2.15 +REPOLOGY="perl:net-server" 2.16 2.17 SOURCE="Net-Server" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 @@ -26,12 +27,11 @@ 2.20 { 2.21 perl Makefile.PL && 2.22 make && 2.23 - make DESTDIR=$DESTDIR install 2.24 + make install DESTDIR=$DESTDIR 2.25 } 2.26 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr 2.31 - cp -a $install/usr/lib $fs/usr 2.32 + cook_copy_folders lib 2.33 }