From 4ec9878de0d010cd0aeff88bbc9569aedee67d52c53a53ed82ccbe1c8efa2cfc Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Wed, 27 May 2020 08:33:49 +0000 Subject: [PATCH] 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 --- HTTP-Daemon-6.06.tar.gz | 3 --- HTTP-Daemon-6.10.tar.gz | 3 +++ perl-HTTP-Daemon.changes | 22 ++++++++++++++++++++++ perl-HTTP-Daemon.spec | 23 ++++++++++++----------- 4 files changed, 37 insertions(+), 14 deletions(-) delete mode 100644 HTTP-Daemon-6.06.tar.gz create mode 100644 HTTP-Daemon-6.10.tar.gz diff --git a/HTTP-Daemon-6.06.tar.gz b/HTTP-Daemon-6.06.tar.gz deleted file mode 100644 index 5bf7434..0000000 --- a/HTTP-Daemon-6.06.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc03a161b54553f766457a4267e7066767f54ad01cacfe9a91d7caa2a0319bad -size 45576 diff --git a/HTTP-Daemon-6.10.tar.gz b/HTTP-Daemon-6.10.tar.gz new file mode 100644 index 0000000..f1e6f3c --- /dev/null +++ b/HTTP-Daemon-6.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30cede486a1334136d873f6a6d9f2aa3e7455b4b17d76d8e3aab325d67d13f7d +size 46807 diff --git a/perl-HTTP-Daemon.changes b/perl-HTTP-Daemon.changes index c003327..7d94e97 100644 --- a/perl-HTTP-Daemon.changes +++ b/perl-HTTP-Daemon.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed May 27 03:12:24 UTC 2020 - Tina Müller + +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 - diff --git a/perl-HTTP-Daemon.spec b/perl-HTTP-Daemon.spec index 3416116..d5a896f 100644 --- a/perl-HTTP-Daemon.spec +++ b/perl-HTTP-Daemon.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: perl-HTTP-Daemon -Version: 6.06 +Version: 6.10 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} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -34,17 +34,19 @@ 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(HTTP::Tiny) >= 0.042 +BuildRequires: perl(IO::Socket::IP) >= 0.25 BuildRequires: perl(LWP::MediaTypes) >= 6 BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(Module::Metadata) +BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::Needs) BuildRequires: perl(URI) 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(IO::Socket::IP) >= 0.25 Requires: perl(LWP::MediaTypes) >= 6 %{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 '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 available. The returned value will be an 'HTTP::Daemon::ClientConn' object 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 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 %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 perl Build.PL --installdirs=vendor