Hello community, here is the log from the commit of package perl-Net-Server for openSUSE:Factory checked in at 2011-12-06 16:24:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Net-Server (Old) and /work/SRC/openSUSE:Factory/.perl-Net-Server.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-Server", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Net-Server/perl-Net-Server.changes 2011-11-21 12:44:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Net-Server.new/perl-Net-Server.changes 2011-12-06 16:24:21.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Dec 6 11:04:22 UTC 2011 - [email protected] + +- regenerate with cpanspec to fix license + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Net-Server.spec ++++++ --- /var/tmp/diff_new_pack.qyTC8W/_old 2011-12-06 16:24:22.000000000 +0100 +++ /var/tmp/diff_new_pack.qyTC8W/_new 2011-12-06 16:24:22.000000000 +0100 @@ -15,45 +15,63 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Net-Server +Version: 0.99 +Release: 0 %define cpan_name Net-Server Summary: Extensible, general Perl server engine -Version: 0.99 -Release: 4 -License: CHECK(Distributable) +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Net-Server/ -#Source: http://www.cpan.org/modules/by-module/Net/Net-Server-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/R/RH/RHANDOM/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl -BuildRequires: perl-macros BuildRequires: perl(IO::Socket) BuildRequires: perl(POSIX) BuildRequires: perl(Socket) +BuildRequires: perl-macros Requires: perl(IO::Socket) Requires: perl(POSIX) Requires: perl(Socket) +%{perl_requires} %description -Net::Server is an extensible, generic Perl server engine. Net::Server -combines the good properties from Net::Daemon (0.34), NetServer::Generic -(1.03), and Net::FTPServer (1.0), and also from various concepts in the -Apache Webserver. - -Authors: --------- - Paul T. Seamons <[email protected]> +'Net::Server' is an extensible, generic Perl server engine. 'Net::Server' +combines the good properties from 'Net::Daemon' (0.34), +'NetServer::Generic' (1.03), and 'Net::FTPServer' (1.0), and also from +various concepts in the Apache Webserver. + +'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. + +'Net::Server' uses ideologies of 'Net::FTPServer' in order to provide +extensibility. 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). %prep %setup -q -n %{cpan_name}-%{version} -# disable "dubious" failing test -%{__mv} t/Server_http.t t/Server_http.tt +find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -64,18 +82,11 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README examples +%defattr(-,root,root,755) +%doc Changes examples README %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
