Hello community,
here is the log from the commit of package perl-HTTP-Daemon for openSUSE:Factory checked in at 2012-03-01 17:23:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Daemon (Old)
and /work/SRC/openSUSE:Factory/.perl-HTTP-Daemon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Daemon", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTTP-Daemon/perl-HTTP-Daemon.changes 2011-09-23 12:37:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-HTTP-Daemon.new/perl-HTTP-Daemon.changes 2012-03-01 17:23:40.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Feb 20 10:48:36 UTC 2012 - coolo@suse.com
+
+- updated to 6.01
+ If you bind localhost, don't trust gethostbyaddr() to resolve the
+ address. [RT#67247]
+ Restore perl-5.8.1 compatiblity.
+
+-------------------------------------------------------------------
Old:
----
HTTP-Daemon-6.00.tar.gz
New:
----
HTTP-Daemon-6.01.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTTP-Daemon.spec ++++++
--- /var/tmp/diff_new_pack.AdmrAG/_old 2012-03-01 17:23:41.000000000 +0100
+++ /var/tmp/diff_new_pack.AdmrAG/_new 2012-03-01 17:23:41.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-HTTP-Daemon
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,33 +16,33 @@
#
-
Name: perl-HTTP-Daemon
-Version: 6.00
-Release: 1
-License: GPL-1.0+ or Artistic-1.0
+Version: 6.01
+Release: 0
%define cpan_name HTTP-Daemon
Summary: a simple http server class
-Url: http://search.cpan.org/dist/HTTP-Daemon/
+License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
-#Source: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.gz
+Url: http://search.cpan.org/dist/HTTP-Daemon/
+Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
BuildRequires: perl(HTTP::Date) >= 6
BuildRequires: perl(HTTP::Request) >= 6
BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6
-BuildRequires: perl(IO::Socket)
BuildRequires: perl(LWP::MediaTypes) >= 6
-BuildRequires: perl
-BuildRequires: perl-macros
+#BuildRequires: perl(HTTP::Daemon)
+#BuildRequires: perl(LWP::RobotUA)
+#BuildRequires: perl(LWP::UserAgent)
+#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)
Requires: perl(LWP::MediaTypes) >= 6
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
%{perl_requires}
%description
@@ -51,9 +51,16 @@
'IO::Socket::INET', 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()
+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.
%prep
%setup -q -n %{cpan_name}-%{version}
+find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -67,11 +74,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
%doc Changes README
%changelog
++++++ HTTP-Daemon-6.00.tar.gz -> HTTP-Daemon-6.01.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Daemon-6.00/Changes new/HTTP-Daemon-6.01/Changes
--- old/HTTP-Daemon-6.00/Changes 2011-02-27 23:46:57.000000000 +0100
+++ new/HTTP-Daemon-6.01/Changes 2012-02-18 13:23:43.000000000 +0100
@@ -1,4 +1,15 @@
_______________________________________________________________________________
+2012-02-18 HTTP-Daemon 6.01
+
+If you bind localhost, don't trust gethostbyaddr() to resolve the
+address. [RT#67247]
+
+Restore perl-5.8.1 compatiblity.
+
+
+
+
+_______________________________________________________________________________
2011-02-25 HTTP-Daemon 6.00
Initial release of HTTP-Daemon as a separate distribution. There are no code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Daemon-6.00/META.yml new/HTTP-Daemon-6.01/META.yml
--- old/HTTP-Daemon-6.00/META.yml 2011-02-27 23:47:21.000000000 +0100
+++ new/HTTP-Daemon-6.01/META.yml 2012-02-18 13:24:17.000000000 +0100
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: HTTP-Daemon
-version: 6.00
+version: 6.01
abstract: a simple http server class
author:
- Gisle Aas