Accepting request 809203 from devel:languages:perl:autoupdate

updated to 6.10
   see /usr/share/doc/packages/perl-HTTP-Daemon/Changes
  6.10      2020-05-26 16:20:36Z
    - No changes since TRIAL release 6.09
  
  6.09      2020-05-25 16:52:14Z (TRIAL RELEASE)
    - Require IO::Socket::IP 0.25 so that HTTP::Tiny uses it (GH#45) (Shoichi Kaji)
  
  6.08      2020-05-22 15:26:00Z (TRIAL RELEASE)
    - In t/chunked.t, leave choosing IP address family to IO::Socket::IP (GH#42) (Shoichi Kaji)
    - Add "IPv6 SUPPORT" section to pod (GH#43) (Shoichi Kaji)
    - Use HTTP::Tiny 0.042+ for IPv6 support (GH#41) (Shoichi Kaji)
  
  6.07      2020-05-19 19:19:53Z (TRIAL RELEASE)
    - Prefer IP address for host in $d->url (GH#40) (Shoichi Kaji)
    - Improve documentation readability (GH#36) (Ferenc Erki)

OBS-URL: https://build.opensuse.org/request/show/809203
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Daemon?expand=0&rev=12
This commit is contained in:
Pedro Monreal Gonzalez 2020-05-27 08:33:49 +00:00 committed by Git OBS Bridge
parent 27efa09121
commit 4ec9878de0
4 changed files with 37 additions and 14 deletions

View File

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

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

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed May 27 03:12:24 UTC 2020 - Tina Müller <timueller+perl@suse.de>
updated to 6.10
see /usr/share/doc/packages/perl-HTTP-Daemon/Changes
6.10 2020-05-26 16:20:36Z
- No changes since TRIAL release 6.09
6.09 2020-05-25 16:52:14Z (TRIAL RELEASE)
- Require IO::Socket::IP 0.25 so that HTTP::Tiny uses it (GH#45) (Shoichi Kaji)
6.08 2020-05-22 15:26:00Z (TRIAL RELEASE)
- In t/chunked.t, leave choosing IP address family to IO::Socket::IP (GH#42) (Shoichi Kaji)
- Add "IPv6 SUPPORT" section to pod (GH#43) (Shoichi Kaji)
- Use HTTP::Tiny 0.042+ for IPv6 support (GH#41) (Shoichi Kaji)
6.07 2020-05-19 19:19:53Z (TRIAL RELEASE)
- Prefer IP address for host in $d->url (GH#40) (Shoichi Kaji)
- Improve documentation readability (GH#36) (Ferenc Erki)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 30 12:30:36 UTC 2019 - <timueller+perl@suse.de> Fri Aug 30 12:30:36 UTC 2019 - <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-HTTP-Daemon # spec file for package perl-HTTP-Daemon
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: perl-HTTP-Daemon Name: perl-HTTP-Daemon
Version: 6.06 Version: 6.10
Release: 0 Release: 0
%define cpan_name HTTP-Daemon %define cpan_name HTTP-Daemon
Summary: Simple http server class Summary: Simple http server class
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name} 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/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
@ -34,17 +34,19 @@ BuildRequires: perl(HTTP::Date) >= 6
BuildRequires: perl(HTTP::Request) >= 6 BuildRequires: perl(HTTP::Request) >= 6
BuildRequires: perl(HTTP::Response) >= 6 BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6 BuildRequires: perl(HTTP::Status) >= 6
BuildRequires: perl(IO::Socket::IP) BuildRequires: perl(HTTP::Tiny) >= 0.042
BuildRequires: perl(IO::Socket::IP) >= 0.25
BuildRequires: perl(LWP::MediaTypes) >= 6 BuildRequires: perl(LWP::MediaTypes) >= 6
BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::Metadata) BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Needs) BuildRequires: perl(Test::Needs)
BuildRequires: perl(URI) BuildRequires: perl(URI)
Requires: perl(HTTP::Date) >= 6 Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Request) >= 6 Requires: perl(HTTP::Request) >= 6
Requires: perl(HTTP::Response) >= 6 Requires: perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6 Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket::IP) Requires: perl(IO::Socket::IP) >= 0.25
Requires: perl(LWP::MediaTypes) >= 6 Requires: perl(LWP::MediaTypes) >= 6
%{perl_requires} %{perl_requires}
@ -53,6 +55,10 @@ 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 socket for incoming requests. The 'HTTP::Daemon' is a subclass of
'IO::Socket::IP', so you can perform socket operations directly on it too. 'IO::Socket::IP', so you can perform socket operations directly on it too.
Please note that 'HTTP::Daemon' used to be a subclass of
'IO::Socket::INET'. To support IPv6, it switched the parent class to
'IO::Socket::IP' at version 6.05. See IPv6 SUPPORT for details.
The accept() method will return when a connection from a client is The accept() method will return when a connection from a client is
available. The returned value will be an 'HTTP::Daemon::ClientConn' object available. The returned value will be an 'HTTP::Daemon::ClientConn' object
which is another 'IO::Socket::IP' subclass. Calling the get_request() which is another 'IO::Socket::IP' subclass. Calling the get_request()
@ -60,14 +66,9 @@ method on this object will read data from the client and return an
'HTTP::Request' object. The ClientConn object also provide methods to send 'HTTP::Request' object. The ClientConn object also provide methods to send
back various responses. back various responses.
This HTTP daemon does not fork(2) for you. Your application, i.e. the user
of the 'HTTP::Daemon' is responsible for forking if that is desirable. Also
note that the user is responsible for generating responses that conform to
the HTTP/1.1 protocol.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Build.PL --installdirs=vendor perl Build.PL --installdirs=vendor