8
0

Compare commits

...

11 Commits

Author SHA256 Message Date
3dc7542927 Accepting request 1072072 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1072072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Server?expand=0&rev=31
2023-03-15 17:54:10 +00:00
29bb4b2846 Accepting request 1072067 from devel:languages:perl:autoupdate
- 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
- 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

OBS-URL: https://build.opensuse.org/request/show/1072067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=35
2023-03-15 10:02:14 +00:00
0e59faa167 Accepting request 1071454 from home:tinita:branches:devel:languages:perl
- 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

OBS-URL: https://build.opensuse.org/request/show/1071454
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=34
2023-03-14 10:43:52 +00:00
8e9c262c39 Accepting request 1041715 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1041715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Server?expand=0&rev=30
2022-12-10 20:17:23 +00:00
157928c560 Accepting request 1041135 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/1041135
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=32
2022-12-08 19:26:11 +00:00
Richard Brown
9299f5fadc Accepting request 880746 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/880746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Server?expand=0&rev=29
2021-04-06 15:28:40 +00:00
95a005a50c Accepting request 880683 from devel:languages:perl:autoupdate
- 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

OBS-URL: https://build.opensuse.org/request/show/880683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=30
2021-03-23 15:19:36 +00:00
240cd7be1f Accepting request 516834 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/516834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Server?expand=0&rev=28
2017-08-19 08:55:40 +00:00
7fa6a21767 Accepting request 516050 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/516050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=28
2017-08-14 13:15:18 +00:00
Stephan Kulow
33cd1ee095 Accepting request 233716 from devel:languages:perl
New upstream release 2.008 (forwarded request 233691 from aeneas_jaissle)

OBS-URL: https://build.opensuse.org/request/show/233716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Server?expand=0&rev=26
2014-05-14 08:50:30 +00:00
4bf60f3ff7 Accepting request 233691 from home:aeneas_jaissle:branches:devel:languages:perl
New upstream release 2.008

OBS-URL: https://build.opensuse.org/request/show/233691
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-Server?expand=0&rev=26
2014-05-13 12:44:43 +00:00
5 changed files with 154 additions and 36 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3406b9ca5a662a0075eed47fb78de1316b601c94f62a0ee34a5544db9baa3720
size 154783

34
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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