Accepting request 719394 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/719394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-Daemon?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2019-07-30 12:02:01 +00:00 committed by Git OBS Bridge
commit edf65ed2d8
4 changed files with 24 additions and 8 deletions

View File

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

3
HTTP-Daemon-6.05.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Jul 27 05:10:35 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 6.05
see /usr/share/doc/packages/perl-HTTP-Daemon/Changes
6.05 2019-07-26 20:41:05Z
- Added the .perltidyrc from the libwww-perl distribution
- Tidied the test suite with perltidy
- Tidied Daemon.pm
- Turned on EOL and tab tests
- Removed obvious indirect object syntax in test suite
- Added IPv6 support. (GH#24) Thanks, @ppisar and @intrigeri
- Added IO::Socket::IP as a prerequisite rather than IO::Socket::INET
-------------------------------------------------------------------
Wed Apr 3 07:01:51 UTC 2019 - Stephan Kulow <coolo@suse.com>

View File

@ -17,14 +17,14 @@
Name: perl-HTTP-Daemon
Version: 6.04
Version: 6.05
Release: 0
%define cpan_name HTTP-Daemon
Summary: Simple http server class
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -34,6 +34,7 @@ BuildRequires: perl(HTTP::Date) >= 6
BuildRequires: perl(HTTP::Request) >= 6
BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6
BuildRequires: perl(IO::Socket::IP)
BuildRequires: perl(LWP::MediaTypes) >= 6
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::Metadata)
@ -43,18 +44,18 @@ Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Request) >= 6
Requires: perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket::IP)
Requires: perl(LWP::MediaTypes) >= 6
%{perl_requires}
%description
Instances of the 'HTTP::Daemon' class are HTTP/1.1 servers that listen on a
socket for incoming requests. The 'HTTP::Daemon' is a subclass of
'IO::Socket::INET', so you can perform socket operations directly on it
too.
'IO::Socket::IP', so you can perform socket operations directly on it too.
The accept() method will return when a connection from a client is
available. The returned value will be an 'HTTP::Daemon::ClientConn' object
which is another 'IO::Socket::INET' subclass. Calling the get_request()
which is another 'IO::Socket::IP' subclass. Calling the get_request()
method on this object will read data from the client and return an
'HTTP::Request' object. The ClientConn object also provide methods to send
back various responses.