forked from pool/perl-AnyEvent-HTTP
		
	Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent-HTTP?expand=0&rev=24
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
## Default LFS
 | 
			
		||||
*.7z filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.bsp filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.gem filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.gz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.jar filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.lz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.lzma filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.oxt filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.pdf filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.png filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.rpm filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tbz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.tgz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.ttf filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.txz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.whl filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.xz filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.zip filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
*.zst filter=lfs diff=lfs merge=lfs -text
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
.osc
 | 
			
		||||
							
								
								
									
										3
									
								
								AnyEvent-HTTP-2.25.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								AnyEvent-HTTP-2.25.tar.gz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
version https://git-lfs.github.com/spec/v1
 | 
			
		||||
oid sha256:5cfa53416124176f6f4cd32b00ea8ca79a2d5df51258683989cd04fe86e25013
 | 
			
		||||
size 28514
 | 
			
		||||
							
								
								
									
										23
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
---
 | 
			
		||||
#description_paragraphs: 3
 | 
			
		||||
#no_testing: broken upstream
 | 
			
		||||
#sources:
 | 
			
		||||
#  - source1
 | 
			
		||||
#  - source2
 | 
			
		||||
#patches:
 | 
			
		||||
#  foo.patch: -p1
 | 
			
		||||
#  bar.patch:
 | 
			
		||||
#preamble: |-
 | 
			
		||||
# BuildRequires:  gcc-c++
 | 
			
		||||
#post_prep: |-
 | 
			
		||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
 | 
			
		||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
 | 
			
		||||
#post_install: |-
 | 
			
		||||
# sed on %{name}.files
 | 
			
		||||
license: Perl License
 | 
			
		||||
#skip_noarch: 1
 | 
			
		||||
#custom_build: |-
 | 
			
		||||
#./Build build flags=%{?_smp_mflags} --myflag
 | 
			
		||||
#custom_test: |-
 | 
			
		||||
#startserver && make test
 | 
			
		||||
#ignore_requires: Bizarre::Module
 | 
			
		||||
							
								
								
									
										130
									
								
								perl-AnyEvent-HTTP.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										130
									
								
								perl-AnyEvent-HTTP.changes
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,130 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jun  3 15:09:07 UTC 2025 - Tina Müller <tina.mueller@suse.com>
 | 
			
		||||
 | 
			
		||||
- Normalize CPAN version
 | 
			
		||||
  See https://github.com/openSUSE/cpanspec/issues/47 for details
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Apr 28 03:07:21 UTC 2020 -  <timueller+perl@suse.de>
 | 
			
		||||
 | 
			
		||||
- updated to 2.25
 | 
			
		||||
   see /usr/share/doc/packages/perl-AnyEvent-HTTP/Changes
 | 
			
		||||
 | 
			
		||||
  TODO: cookie_jar_extract should refuse when host is an ip literal
 | 
			
		||||
  TODO: cookie_jar_et_cookie should reject cookies not matching their down server domain
 | 
			
		||||
  TODO: cookie prefixes? https://tools.ietf.org/html/draft-ietf-httpbis-cookie-prefixes-00
 | 
			
		||||
  TODO: default rbuf_max limit for header-reading, chunk header reading etc.
 | 
			
		||||
  
 | 
			
		||||
  2.25 Mon Apr 27 14:11:40 CEST 2020
 | 
			
		||||
  	- fix incorrectly sending proxy requests to origin servers
 | 
			
		||||
            when reusing proxy connections (analyzed and testcase by Ivan Robert).
 | 
			
		||||
  	- the sessionid parameter was documented as session in random
 | 
			
		||||
            places - fix docs and keep using sessionid in the code as before.
 | 
			
		||||
  	- fix cookie format documentation.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri Aug 31 05:01:49 UTC 2018 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.24
 | 
			
		||||
   see /usr/share/doc/packages/perl-AnyEvent-HTTP/Changes
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Aug 29 05:01:04 UTC 2016 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.23
 | 
			
		||||
   see /usr/share/doc/packages/perl-AnyEvent-HTTP/Changes
 | 
			
		||||
 | 
			
		||||
  TODO: default rbuf_max value maybe? how about reading large chunks in small parts?
 | 
			
		||||
  
 | 
			
		||||
  2.23 Sun Aug 28 11:30:33 CEST 2016
 | 
			
		||||
  	- relative redirects used the proxy schema instead of the request
 | 
			
		||||
            url schema to generate the new url, which is wrong (analyzed by Felix
 | 
			
		||||
            Ostmann).
 | 
			
		||||
          - fix download example (reported by Felix Ostmann).
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu May 14 08:02:22 UTC 2015 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.22
 | 
			
		||||
   see /usr/share/doc/packages/perl-AnyEvent-HTTP/Changes
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri Jul 25 09:32:00 UTC 2014 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.21
 | 
			
		||||
        - correctly keep body when redirecting POSTs, instead of
 | 
			
		||||
           deleting them.
 | 
			
		||||
 
 | 
			
		||||
 2.2  Mon Jun  9 01:31:46 CEST 2014
 | 
			
		||||
        - connection header was malformed (patch by Raphael Geissert).
 | 
			
		||||
        - add lots of known idempotent methods from httpbis.
 | 
			
		||||
         - implement relative location headers (rfc 7231), with fallback on URI.
 | 
			
		||||
         - add support for status code 308 from rfc 7238.
 | 
			
		||||
         - recommend URI.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Jun  3 11:26:23 UTC 2013 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.15
 | 
			
		||||
      - use the recurse parameter to also limit the number of retries to be
 | 
			
		||||
         done, avodiing endless loops with broken servers, as reported
 | 
			
		||||
         by Carl Chambers.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri May 25 03:26:07 UTC 2012 - coolo@suse.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.14
 | 
			
		||||
    - Time::Local::timegm croaks on out-of-range values. Don't let
 | 
			
		||||
       this disturb AnyEvent::HTTP (reported by: tell me, I forgot...).
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Aug 25 15:51:20 UTC 2011 - chris@computersalat.de
 | 
			
		||||
 | 
			
		||||
- update to 2.13
 | 
			
		||||
  - garbled chunked responses caused AnyEvent::HTTP to malfunction
 | 
			
		||||
    (patch by Dmitri Melikyan).
 | 
			
		||||
  - fix GET => HEAD in one case in the documentation (James Bromberger).
 | 
			
		||||
- fix deps
 | 
			
		||||
  * perl(AnyEvent) >= 5.33
 | 
			
		||||
  * perl(common::sense) >= 3.3
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jun 14 09:45:02 UTC 2011 - coolo@novell.com
 | 
			
		||||
 | 
			
		||||
- updated to 2.12
 | 
			
		||||
  - fix a possible 'Can't call method "destroyed"' error (which would
 | 
			
		||||
    have been reported by Carl Chambers).
 | 
			
		||||
  - the keepalive session cache wouldn't take port and scheme into account
 | 
			
		||||
    when reusing connection - potentially causing information leaks
 | 
			
		||||
    (reported by Nick Kostirya).
 | 
			
		||||
  - bump AnyEvent dependency version (reported by Richard Harris).
 | 
			
		||||
  - the keepalive and persistent parameters were actually named
 | 
			
		||||
    differently in the code - they now work as documented.
 | 
			
		||||
  - fix a bug where callbacks would sometimes never be called when
 | 
			
		||||
    the request timeout is near or below the persistent connection
 | 
			
		||||
    timeout (testcase by Cindy Wang).
 | 
			
		||||
  - destroying the guard would have no effect when a request was
 | 
			
		||||
    recursing or being retired.
 | 
			
		||||
  - "proxy => undef" now overrides any global proxy when specified.
 | 
			
		||||
  - require scheme in urls, also use a stricter match to match urls,
 | 
			
		||||
    leading or trailing garbage is no longer tolerated.
 | 
			
		||||
  - EXPERIMENTAL: allow '=' in cookie values.
 | 
			
		||||
  - do not lowercase cookie names, only parameter names.
 | 
			
		||||
  - add missing dependency on common::sense.
 | 
			
		||||
  - add a resume download example.
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Wed Dec  1 13:30:35 UTC 2010 - coolo@novell.com
 | 
			
		||||
 | 
			
		||||
- switch to perl_requires macro
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Mon Nov 29 18:29:16 UTC 2010 - coolo@novell.com
 | 
			
		||||
 | 
			
		||||
- remove /var/adm/perl-modules
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Thu Oct  7 11:17:19 UTC 2010 - pascal.bleser@opensuse.org
 | 
			
		||||
 | 
			
		||||
- initial package (1.46)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										80
									
								
								perl-AnyEvent-HTTP.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								perl-AnyEvent-HTTP.spec
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,80 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package perl-AnyEvent-HTTP
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2025 SUSE LLC
 | 
			
		||||
#
 | 
			
		||||
# All modifications and additions to the file contributed by third parties
 | 
			
		||||
# remain the property of their copyright owners, unless otherwise agreed
 | 
			
		||||
# upon. The license for this file, and modifications and additions to the
 | 
			
		||||
# file, is the same license as for the pristine package itself (unless the
 | 
			
		||||
# license for the pristine package is not an Open Source License, in which
 | 
			
		||||
# case the license is the MIT License). An "Open Source License" is a
 | 
			
		||||
# license that conforms to the Open Source Definition (Version 1.9)
 | 
			
		||||
# published by the Open Source Initiative.
 | 
			
		||||
 | 
			
		||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
			
		||||
#
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
%define cpan_name AnyEvent-HTTP
 | 
			
		||||
Name:           perl-AnyEvent-HTTP
 | 
			
		||||
Version:        2.250.0
 | 
			
		||||
Release:        0
 | 
			
		||||
# 2.25 -> normalize -> 2.250.0
 | 
			
		||||
%define cpan_version 2.25
 | 
			
		||||
License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
			
		||||
Summary:        Simple but non-blocking HTTP/HTTPS client
 | 
			
		||||
URL:            https://metacpan.org/release/%{cpan_name}
 | 
			
		||||
Source0:        https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{cpan_version}.tar.gz
 | 
			
		||||
Source1:        cpanspec.yml
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
BuildRequires:  perl
 | 
			
		||||
BuildRequires:  perl-macros
 | 
			
		||||
BuildRequires:  perl(AnyEvent) >= 5.330
 | 
			
		||||
BuildRequires:  perl(common::sense) >= 3.300
 | 
			
		||||
Requires:       perl(AnyEvent) >= 5.330
 | 
			
		||||
Requires:       perl(common::sense) >= 3.300
 | 
			
		||||
Provides:       perl(AnyEvent::HTTP) = %{version}
 | 
			
		||||
%undefine       __perllib_provides
 | 
			
		||||
Recommends:     perl(URI)
 | 
			
		||||
%{perl_requires}
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
This module is an AnyEvent user, you need to make sure that you use and run
 | 
			
		||||
a supported event loop.
 | 
			
		||||
 | 
			
		||||
This module implements a simple, stateless and non-blocking HTTP client. It
 | 
			
		||||
supports GET, POST and other request methods, cookies and more, all on a
 | 
			
		||||
very low level. It can follow redirects, supports proxies, and
 | 
			
		||||
automatically limits the number of connections to the values specified in
 | 
			
		||||
the RFC.
 | 
			
		||||
 | 
			
		||||
It should generally be a "good client" that is enough for most HTTP tasks.
 | 
			
		||||
Simple tasks should be simple, but complex tasks should still be possible
 | 
			
		||||
as the user retains control over request and response headers.
 | 
			
		||||
 | 
			
		||||
The caller is responsible for authentication management, cookies (if the
 | 
			
		||||
simplistic implementation in this module doesn't suffice), referer and
 | 
			
		||||
other high-level protocol details for which this module offers only limited
 | 
			
		||||
support.
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
perl Makefile.PL INSTALLDIRS=vendor
 | 
			
		||||
%make_build
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
make test
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%perl_make_install
 | 
			
		||||
%perl_process_packlist
 | 
			
		||||
%perl_gen_filelist
 | 
			
		||||
 | 
			
		||||
%files -f %{name}.files
 | 
			
		||||
%doc Changes README
 | 
			
		||||
%license COPYING
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
		Reference in New Issue
	
	Block a user