Compare commits
	
		
			3 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 433b87750e | |||
| 7f0e60a1a1 | |||
| dcb4c0286e | 
							
								
								
									
										
											BIN
										
									
								
								Protocol-HTTP2-1.10.tar.gz
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Protocol-HTTP2-1.10.tar.gz
									 (Stored with Git LFS)
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										3
									
								
								Protocol-HTTP2-1.11.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Protocol-HTTP2-1.11.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:569f05b1abe997b507c8251530cc81d1ee96bd932cc682534b6ce48653500913 | ||||||
|  | size 53533 | ||||||
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  |  | ||||||
|  | ## Build Results | ||||||
|  |  | ||||||
|  | Current state of perl in openSUSE:Factory is | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | The current state of perl in the devel project build (devel:languages:perl) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -7,11 +7,10 @@ | |||||||
| #sources: | #sources: | ||||||
| #  - source1 | #  - source1 | ||||||
| #  - source2 | #  - source2 | ||||||
| patches: | #patches: | ||||||
|   openssl3_1-adapt_tests.patch: -p1 PATCH-FIX-OPENSUSE https://github.com/vlet/p5-Protocol-HTTP2/pull/14 |  | ||||||
| #  bar.patch: | #  bar.patch: | ||||||
| #preamble: |- | preamble: |- | ||||||
| # BuildRequires:  gcc-c++ |   BuildRequires:  perl(Net::SSLeay) > 1.45 | ||||||
| #post_prep: |- | #post_prep: |- | ||||||
| # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'` | # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'` | ||||||
| # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL  | # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL  | ||||||
| @@ -25,7 +24,7 @@ patches: | |||||||
| #./Build build flags=%{?_smp_mflags} --myflag | #./Build build flags=%{?_smp_mflags} --myflag | ||||||
| #custom_test: |- | #custom_test: |- | ||||||
| #startserver && make test | #startserver && make test | ||||||
| #ignore_requires: Bizarre::Module | ignore_requires: Net::SSLeay | ||||||
| #skip_doc: regexp_to_skip_for_doc.* | #skip_doc: regexp_to_skip_for_doc.* | ||||||
| #add_doc: files to add to docs | #add_doc: files to add to docs | ||||||
| #misc: |- | #misc: |- | ||||||
|   | |||||||
| @@ -1,31 +0,0 @@ | |||||||
| From 552e3677372c77ec458548fd8c3fdc280e493d91 Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Otto Hollmann <otto.hollmann@suse.com> |  | ||||||
| Date: Thu, 4 May 2023 13:42:51 +0200 |  | ||||||
| Subject: [PATCH] Adapt tests for OpenSSL 3.1 |  | ||||||
|  |  | ||||||
| --- |  | ||||||
|  t/lib/PH2ClientServerTest.pm | 4 ++-- |  | ||||||
|  1 file changed, 2 insertions(+), 2 deletions(-) |  | ||||||
|  |  | ||||||
| diff --git a/t/lib/PH2ClientServerTest.pm b/t/lib/PH2ClientServerTest.pm |  | ||||||
| index 3fe9203..fe90f32 100644 |  | ||||||
| --- a/t/lib/PH2ClientServerTest.pm |  | ||||||
| +++ b/t/lib/PH2ClientServerTest.pm |  | ||||||
| @@ -43,7 +43,7 @@ sub server { |  | ||||||
|          if ( !$h{upgrade} && ( $h{npn} || $h{alpn} ) ) { |  | ||||||
|              eval { |  | ||||||
|                  $tls = AnyEvent::TLS->new( |  | ||||||
| -                    method    => 'tlsv1', |  | ||||||
| +                    method    => 'tlsv1_2', |  | ||||||
|                      cert_file => $tls_crt, |  | ||||||
|                      key_file  => $tls_key, |  | ||||||
|                  ); |  | ||||||
| @@ -122,7 +122,7 @@ sub client { |  | ||||||
|      } |  | ||||||
|      elsif ( $h{npn} || $h{alpn} ) { |  | ||||||
|          eval { |  | ||||||
| -            $tls = AnyEvent::TLS->new( method => 'tlsv1', ); |  | ||||||
| +            $tls = AnyEvent::TLS->new( method => 'tlsv1_2', ); |  | ||||||
|   |  | ||||||
|              if ( delete $h{npn} ) { |  | ||||||
|   |  | ||||||
| @@ -1,3 +1,19 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Wed Jul  3 16:17:00 UTC 2024 - Tina Müller <tina.mueller@suse.com> | ||||||
|  |  | ||||||
|  | - Remove openssl3_1-adapt_tests.patch (fixed upstream) | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon May 20 03:07:24 UTC 2024 - Tina Müller <timueller+perl@suse.de> | ||||||
|  |  | ||||||
|  | - updated to 1.11 | ||||||
|  |    see /usr/share/doc/packages/perl-Protocol-HTTP2/Changes | ||||||
|  |  | ||||||
|  |   1.11 2024-05-19T16:55:28Z | ||||||
|  |       - Fix minor typos and spelling errors (Yoshikazu Sawa) | ||||||
|  |       - Do not hardcode tlsv1 which is deprecated and disabled in some systems (Olivier Gayot) | ||||||
|  |       - Fix length-undef warnings in pre-5.12 perls (Felipe Gasper) | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Tue May  9 12:28:36 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de> | Tue May  9 12:28:36 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package perl-Protocol-HTTP2 | # spec file for package perl-Protocol-HTTP2 | ||||||
| # | # | ||||||
| # Copyright (c) 2023 SUSE LLC | # Copyright (c) 2024 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 | ||||||
| @@ -18,27 +18,57 @@ | |||||||
|  |  | ||||||
| %define cpan_name Protocol-HTTP2 | %define cpan_name Protocol-HTTP2 | ||||||
| Name:           perl-Protocol-HTTP2 | Name:           perl-Protocol-HTTP2 | ||||||
| Version:        1.10 | Version:        1.110.0 | ||||||
| Release:        0 | Release:        0 | ||||||
|  | # 1.11 -> normalize -> 1.110.0 | ||||||
|  | %define cpan_version 1.11 | ||||||
| License:        Artistic-1.0 OR GPL-1.0-or-later | License:        Artistic-1.0 OR GPL-1.0-or-later | ||||||
| Summary:        HTTP/2 protocol implementation (RFC 7540) | Summary:        HTTP/2 protocol implementation (RFC 7540) | ||||||
| URL:            https://metacpan.org/release/%{cpan_name} | URL:            https://metacpan.org/release/%{cpan_name} | ||||||
| Source0:        https://cpan.metacpan.org/authors/id/C/CR/CRUX/%{cpan_name}-%{version}.tar.gz | Source0:        https://cpan.metacpan.org/authors/id/C/CR/CRUX/%{cpan_name}-%{cpan_version}.tar.gz | ||||||
| Source1:        cpanspec.yml | Source1:        cpanspec.yml | ||||||
| # PATCH-FIX-OPENSUSE https://github.com/vlet/p5-Protocol-HTTP2/pull/14 | Source100:      README.md | ||||||
| Patch0:         openssl3_1-adapt_tests.patch |  | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
| BuildRequires:  perl | BuildRequires:  perl | ||||||
| BuildRequires:  perl-macros | BuildRequires:  perl-macros | ||||||
| BuildRequires:  perl(AnyEvent) | BuildRequires:  perl(AnyEvent) | ||||||
| BuildRequires:  perl(MIME::Base64) >= 3.11 | BuildRequires:  perl(MIME::Base64) >= 3.11 | ||||||
|  | BuildRequires:  perl(Module::Build) | ||||||
| BuildRequires:  perl(Module::Build::Tiny) >= 0.035 | BuildRequires:  perl(Module::Build::Tiny) >= 0.035 | ||||||
| BuildRequires:  perl(Net::SSLeay) >= 1.45 | #BuildRequires:  perl(Net::SSLeay) >= > 1.45 | ||||||
| BuildRequires:  perl(Test::LeakTrace) | BuildRequires:  perl(Test::LeakTrace) | ||||||
| BuildRequires:  perl(Test::More) >= 0.98 | BuildRequires:  perl(Test::More) >= 0.98 | ||||||
| BuildRequires:  perl(Test::TCP) | BuildRequires:  perl(Test::TCP) | ||||||
| Requires:       perl(MIME::Base64) >= 3.11 | Requires:       perl(MIME::Base64) >= 3.11 | ||||||
|  | Provides:       perl(Protocol::HTTP2) = %{version} | ||||||
|  | Provides:       perl(Protocol::HTTP2::Client) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Connection) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Constants) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Continuation) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Data) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Goaway) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Headers) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Ping) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Priority) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Push_promise) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Rst_stream) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Settings) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Frame::Window_update) | ||||||
|  | Provides:       perl(Protocol::HTTP2::HeaderCompression) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Huffman) | ||||||
|  | Provides:       perl(Protocol::HTTP2::HuffmanCodes) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Server) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Server::Stream) | ||||||
|  | Provides:       perl(Protocol::HTTP2::StaticTable) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Stream) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Trace) | ||||||
|  | Provides:       perl(Protocol::HTTP2::Upgrade) | ||||||
|  | %undefine       __perllib_provides | ||||||
| %{perl_requires} | %{perl_requires} | ||||||
|  | # MANUAL BEGIN | ||||||
|  | BuildRequires:  perl(Net::SSLeay) > 1.45 | ||||||
|  | # MANUAL END | ||||||
|  |  | ||||||
| %description | %description | ||||||
| Protocol::HTTP2 is HTTP/2 protocol implementation (at | Protocol::HTTP2 is HTTP/2 protocol implementation (at | ||||||
| @@ -48,7 +78,7 @@ client/server/intermediate on top of your favorite event loop over plain or | |||||||
| tls socket (see examples). | tls socket (see examples). | ||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %autosetup  -n %{cpan_name}-%{version} -p1 | %autosetup  -n %{cpan_name}-%{cpan_version} | ||||||
|  |  | ||||||
| %build | %build | ||||||
| perl Build.PL --installdirs=vendor | perl Build.PL --installdirs=vendor | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user