diff --git a/Net-Server-2.008.tar.gz b/Net-Server-2.008.tar.gz deleted file mode 100644 index fbe61f5..0000000 --- a/Net-Server-2.008.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0921056aedc871a59c4b76f58764f0e0a16c1816b58c366a9d80e46367744fa0 -size 119565 diff --git a/Net-Server-2.009.tar.gz b/Net-Server-2.009.tar.gz new file mode 100644 index 0000000..4c863f5 --- /dev/null +++ b/Net-Server-2.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8267c6560355e2e0f483d3cc16195f342f32fe13cae9dde75a0a1ece5e9a813f +size 146781 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Net-Server.changes b/perl-Net-Server.changes index 2b5123b..b1206c6 100644 --- a/perl-Net-Server.changes +++ b/perl-Net-Server.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Aug 11 06:02:10 UTC 2017 - coolo@suse.com + +- updated to 2.009 + see /usr/share/doc/packages/perl-Net-Server/Changes + + 2.009 Aug 09 2017 + - Several long awaited fixes + - Log when a child exits abnormally. RT #86815 + - Added delete-child hook + - Add cleanup_dead_child_hook to PreFork server + - Removed stray warn + - Use File::Temp instead of POSIX::tmpnam + - UNIX read_until to allow for SSL under unix sockets + ------------------------------------------------------------------- Tue May 13 09:47:26 UTC 2014 - aj@ajaissle.de diff --git a/perl-Net-Server.spec b/perl-Net-Server.spec index 3f258d7..87be35e 100644 --- a/perl-Net-Server.spec +++ b/perl-Net-Server.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Net-Server # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,31 +17,23 @@ Name: perl-Net-Server -Version: 2.008 +Version: 2.009 Release: 0 %define cpan_name Net-Server Summary: Extensible, general Perl server engine 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/authors/id/R/RH/RHANDOM/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -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. +'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 @@ -53,12 +45,11 @@ 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). +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, @@ -71,7 +62,7 @@ serialization). %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -87,6 +78,7 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples/ README +%doc Changes examples README +%license LICENSE %changelog