forked from pool/perl-Net-Server
Compare commits
11 Commits
c825680d42
...
3dc7542927
Author | SHA256 | Date | |
---|---|---|---|
3dc7542927 | |||
29bb4b2846 | |||
0e59faa167 | |||
8e9c262c39 | |||
157928c560 | |||
|
9299f5fadc | ||
95a005a50c | |||
240cd7be1f | |||
7fa6a21767 | |||
|
33cd1ee095 | ||
4bf60f3ff7 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c6fd3145b1bb796e28ebf74c181e4a7bbf5c412b37b51f72ad2707686a80328
|
||||
size 133765
|
3
Net-Server-2.014.tar.gz
Normal file
3
Net-Server-2.014.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3406b9ca5a662a0075eed47fb78de1316b601c94f62a0ee34a5544db9baa3720
|
||||
size 154783
|
34
cpanspec.yml
Normal file
34
cpanspec.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# bar.patch:
|
||||
# baz.patch: PATCH-FIX-OPENSUSE
|
||||
#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
|
||||
#skip_doc: regexp_to_skip_for_doc.*
|
||||
#add_doc: files to add to docs
|
||||
#misc: |-
|
||||
#anything else to be added to spec file
|
||||
#follows directly after %files section, so it can contain new blocks or also
|
||||
#changes to %files section
|
@@ -1,3 +1,97 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 09:51:13 UTC 2023 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Remove patch fix-UDB-receiving-in-Fork-server.patch, has been fixed
|
||||
upstream.
|
||||
https://rt.cpan.org/Ticket/Display.html?id=146575
|
||||
https://bugzilla.suse.com/show_bug.cgi?id=1206763
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 03:09:15 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.014
|
||||
see /usr/share/doc/packages/perl-Net-Server/Changes
|
||||
|
||||
2.014 Mar 14 2023
|
||||
- Apply patch to Fork for UDP
|
||||
- Fix tests on perls without threads
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 10:10:36 UTC 2023 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Add fix-UDB-receiving-in-Fork-server.patch https://bugzilla.suse.com/show_bug.cgi?id=1206763
|
||||
https://rt.cpan.org/Ticket/Display.html?id=146575
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 4 03:08:35 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.013
|
||||
see /usr/share/doc/packages/perl-Net-Server/Changes
|
||||
|
||||
2.013 Dec 03 2022
|
||||
- Update MANIFEST for missing file
|
||||
|
||||
2.012 Dec 02 2022
|
||||
- More code/documentation typo fixes
|
||||
- Add /simple routes to HTTP and PSGI echo handlers for doing static request samples.
|
||||
- Fix PSGI header handling that was broken in 2.011
|
||||
|
||||
2.011 Dec 01 2022
|
||||
- Default to IO::Socket::IP with continued fallback to IO::Socket::INET6
|
||||
- Add double_reverse_lookups configuration and code
|
||||
- Cleanup hostname lookup under both IO::Socket::IP and IO::Socket::INET6
|
||||
- Change SSL to use IO::Socket::SSL SSL_startHandshake
|
||||
- Fix semaphore release
|
||||
- Update various POD issues
|
||||
- Finally add register_child method called if a child process is started.
|
||||
- Bugfix Net::Server::PSGI
|
||||
- Allow groups to be separated by ,
|
||||
- Allow . in usernames and groups
|
||||
- Allow space in config file values
|
||||
- Retro-actively acknowlege that 2.008 changed default Net::Server::HTTP type to PreFork (and update docs)
|
||||
- Fix Location bounce with other status set
|
||||
- Return status 400 under request_denied_hook in Net::Server::HTTP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 23 03:07:55 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.010
|
||||
see /usr/share/doc/packages/perl-Net-Server/Changes
|
||||
|
||||
2.010 Mar 22 2021
|
||||
- Add SSL_verify_callback
|
||||
- Fix SSLEAY connect spinloop
|
||||
- Various pod typos
|
||||
- Allow for logging to STDOUT for HTTP
|
||||
- Add PATCH verb to HTTP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Updated to new upstream version 2.008
|
||||
|
||||
- Changelog 2.008 May 12 2014
|
||||
* Long awaited patch for the IO::Socket::SSL default verify mode bug
|
||||
* Add Time::HiRes as a dep
|
||||
* Update to new github hosted repository with all legacy code imported
|
||||
* Beginnings of change to dzil based releases
|
||||
* There are several dozen outstanding bugs that will be addressed in the next release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 23:15:27 UTC 2013 - aj@ajaissle.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Net-Server
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,36 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Net-Server
|
||||
Version: 2.007
|
||||
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
|
||||
Name: perl-Net-Server
|
||||
Version: 2.014
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Extensible Perl internet server
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
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 +43,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,
|
||||
@@ -70,15 +59,16 @@ concept of an flock serialized accept when accepting on multiple ports
|
||||
serialization).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -86,7 +76,7 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user