# HG changeset patch # User Hans-G?nter Theisgen # Date 1641105809 -3600 # Node ID f60a373aac121a7bb3eb34e2f3c1cc1a811efbab # Parent be4f6d921ef0aaa65cd64ffced034c9b5bd35656 updated perl-net-server (2.009 -> 2.010) diff -r be4f6d921ef0 -r f60a373aac12 perl-net-server/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-net-server/description.txt Sun Jan 02 07:43:29 2022 +0100 @@ -0,0 +1,28 @@ +Net::Server is an extensible, generic Perl server engine. + +Net::Server attempts to be a generic server as in Net::Daemon and +NetServer::Generic. +It includes with it the ability to run as an inetd process +(Net::Server::INET), a single connection server (Net::Server or +Net::Server::Single), a forking server (Net::Server::Fork), +a preforking server which maintains a constant number of preforked +children (Net::Server::PreForkSimple), or as a managed preforking +server which maintains the number of children based on server load +(Net::Server::PreFork). +In all but the inetd type, the server provides the ability to connect +to one or to multiple server ports. + +The additional server types are made possible via "personalities" or +sub classes of the Net::Server. +By moving the multiple types of servers out of the main Net::Server +class, the Net::Server concept is easily extended to other types +(in the near future, we would like to add a "Thread" personality). + +Net::Server borrows several concepts from the Apache Webserver. +Net::Server uses "hooks" to allow custom servers such as SMTP, HTTP, +POP3, etc. to be layered over the base Net::Server class. +In addition the Net::Server::PreFork class borrows concepts of +min_start_servers, max_servers, and min_waiting servers. +Net::Server::PreFork also uses the concept of an flock serialized +accept when accepting on multiple ports (PreFork can choose between +flock, IPC::Semaphore, and pipe to control serialization). diff -r be4f6d921ef0 -r f60a373aac12 perl-net-server/receipt --- a/perl-net-server/receipt Sun Jan 02 07:38:44 2022 +0100 +++ b/perl-net-server/receipt Sun Jan 02 07:43:29 2022 +0100 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="perl-net-server" -VERSION="2.009" +VERSION="2.010" CATEGORY="development" SHORT_DESC="Perl extension Net::Server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="https://metacpan.org/release/Net-Server" +WEB_SITE="https://metacpan.org/pod/Net::Server" +REPOLOGY="perl:net-server" SOURCE="Net-Server" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -26,12 +27,11 @@ { perl Makefile.PL && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }