forked from pool/perl-HTTP-Lite
Compare commits
10 Commits
236c854d06
...
1653c37d93
Author | SHA256 | Date | |
---|---|---|---|
1653c37d93 | |||
|
0f2d0bf653 | ||
|
ec0c3f4808 | ||
|
7fd292d5bc | ||
|
818859f2e1 | ||
|
263cbb78cb | ||
|
57da43ee7e | ||
|
df736c9919 | ||
|
fd9df0f819 | ||
|
912d399857 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:839f1dcb294f10c88843db2e5e229c380f7f663571a7ef9e68e1969c08b0be3e
|
||||
size 305948
|
3
HTTP-Lite-2.44.tar.gz
Normal file
3
HTTP-Lite-2.44.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:38e43d7911cfc14e3a38f0382b6cc7a6d559307d23b109ce73ac7d24a9b3e77c
|
||||
size 287819
|
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 20:48:26 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.44
|
||||
see /usr/share/doc/packages/perl-HTTP-Lite/Changes
|
||||
|
||||
2.44 2015-03-11 NEILB
|
||||
- Switched to Dist::Zilla
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 09:28:11 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 2.43
|
||||
- Directed people to HTTP::Tiny and LWP at the start of the doc
|
||||
- Added links to better modules in SEE ALSO
|
||||
- Added "use warnings" (!)
|
||||
- Moved test.pl into t/original-tests.t
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 11:58:42 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.42
|
||||
- Fixed typos reported by David Steinbrunner (thanks!)
|
||||
- Reformatted this file according to CPAN::Changes::Spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 07:26:33 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.4
|
||||
- Fixed RT #13791, which meant you couldn't request http://foobar.com --
|
||||
had to have to trailing slash on the URL.
|
||||
- Don't add request header if value passed is undef (RT #4546).
|
||||
- Fixed bug where writing the request can get stuck in a loop.
|
||||
Bug reported by Florian Kirchmeir. Fix based on Florian's patch.
|
||||
- RT #35360 fixed (fix included in report).
|
||||
- Documentation tidy-up
|
||||
- Neil Bowers (NEILB) granted co-maint by Adam (thanks)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 25 01:28:40 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-HTTP-Lite
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,65 +15,68 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-HTTP-Lite
|
||||
Version: 2.3
|
||||
Version: 2.44
|
||||
Release: 0
|
||||
%define cpan_name HTTP-Lite
|
||||
Summary: Lightweight HTTP implementation
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
# http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/HTTP-Lite-%{version}.tar.gz
|
||||
Source: HTTP-Lite-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/HTTP-Lite
|
||||
Url: http://search.cpan.org/dist/HTTP-Lite/
|
||||
Source: http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation
|
||||
for perl.
|
||||
|
||||
It is not intended as a replacement for the fully-features LWP module. Instead,
|
||||
it is intended for use in situations where it is desirable to install the
|
||||
minimal number of modules to achieve HTTP support, or where LWP is not a good
|
||||
candidate due to CPU overhead, such as slower processors.
|
||||
*Note:* you should look at the HTTP::Tiny manpage or the LWP manpage before
|
||||
using this module.
|
||||
|
||||
HTTP::Lite is a stand-alone lightweight HTTP/1.1 implementation for perl.
|
||||
It is not intended as a replacement for the fully-featured LWP module.
|
||||
Instead, it is intended for use in situations where it is desirable to
|
||||
install the minimal number of modules to achieve HTTP support, or where LWP
|
||||
is not a good candidate due to CPU overhead, such as slower processors.
|
||||
HTTP::Lite is also significantly faster than LWP.
|
||||
|
||||
HTTP::Lite is ideal for CGI (or mod_perl) programs or for bundling for
|
||||
redistribution with larger packages where only HTTP GET and POST functionality
|
||||
are necessary.
|
||||
redistribution with larger packages where only HTTP GET and POST
|
||||
functionality are necessary.
|
||||
|
||||
HTTP::Lite supports basic POST and GET operations only. As of 0.2.1,
|
||||
HTTP::Lite supports HTTP/1.1 and is compliant with the Host header,
|
||||
necessary for name based virtual hosting. Additionally, HTTP::Lite now
|
||||
supports Proxies.
|
||||
|
||||
As of 2.0.0 HTTP::Lite now supports a callback to allow processing of
|
||||
request data as it arrives. This is useful for handling very large files
|
||||
without consuming memory.
|
||||
|
||||
If you require more functionality, such as FTP or HTTPS, please see
|
||||
libwwwperl (LWP). LWP is a significantly better and more comprehensive
|
||||
package than HTTP::Lite, and should be used instead of HTTP::Lite whenever
|
||||
possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n "HTTP-Lite-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%if 0%{?suse_version} >= 1130
|
||||
|
||||
%check
|
||||
%__make test
|
||||
%endif
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%dir %{perl_vendorlib}/HTTP
|
||||
%{perl_vendorlib}/HTTP/Lite.pm
|
||||
%dir %{perl_vendorarch}/auto/HTTP
|
||||
%{perl_vendorarch}/auto/HTTP/Lite
|
||||
%doc %{perl_man3dir}/HTTP::Lite.%{perl_man3ext}%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user