8
0

Compare commits

...

25 Commits

Author SHA256 Message Date
0cadeda736 Accepting request 1269239 from devel:languages:perl
- Fix build with openssl >= 3.4.1
  * Add patch test-32_x509_get_cert_info-allow-single-colon.patch (forwarded request 1268244 from lmulling)

OBS-URL: https://build.opensuse.org/request/show/1269239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=39
2025-04-15 14:45:16 +00:00
6f77ce7c75 Accepting request 1268244 from home:lmulling:branches:devel:languages:perl
- Fix build with openssl >= 3.4.1
  * Add patch test-32_x509_get_cert_info-allow-single-colon.patch

OBS-URL: https://build.opensuse.org/request/show/1268244
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=58
2025-04-14 11:13:38 +00:00
11294a3fc2 Accepting request 1163126 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1163126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=38
2024-03-28 12:52:44 +00:00
c463131ab5 Accepting request 1133779 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1133779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=37
2023-12-18 21:55:20 +00:00
88540d4b66 Accepting request 947278 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/947278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=36
2022-01-21 00:25:02 +00:00
383c7c5a34 Accepting request 946597 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/946597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=35
2022-01-17 21:33:47 +00:00
d994b17777 Accepting request 903063 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/903063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=34
2021-07-02 11:26:48 +00:00
3b8b60abc0 Accepting request 901757 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/901757
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=33
2021-06-27 16:58:19 +00:00
13b1a28c6e Accepting request 867090 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/867090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=32
2021-01-29 13:56:28 +00:00
b4fcb195ac Accepting request 705653 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/705653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=31
2019-06-01 07:43:23 +00:00
5088337af2 Accepting request 681764 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/681764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=30
2019-03-13 08:09:53 +00:00
5c4cc92007 Accepting request 666157 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/666157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=29
2019-01-24 13:01:43 +00:00
4ace84fa93 Accepting request 633282 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/633282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=28
2018-09-11 15:13:42 +00:00
aa39593505 Accepting request 517887 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/517887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=27
2017-08-29 09:35:58 +00:00
Stephan Kulow
cc5b0b3c9e Accepting request 314474 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/314474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=26
2015-07-05 15:53:52 +00:00
e6fd61033e Accepting request 295073 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/295073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=25
2015-04-10 07:48:50 +00:00
7c14d93afb Accepting request 284487 from devel:languages:perl
- updated to 1.68
      Fixed a problem on OSX when macports openssl 1.x is installed: headers from
      macport were found but older OSX openssl libraries were linked, resulting
      in "Symbol not found: _EVP_MD_do_all_sorted".
      Added notes about runtime error "no OPENSSL_Applink", when calling
      Net::SSLeay::P_PKCS12_load_file.
 
 
 1.67 2015-01-17
      Improvements to inc/Module/Install/PRIVATE/Net/SSLeay.pm to handle the
      case whe there are muliple OPENSSLs installed. Patch from HBRAND
      Fixed a documentation error in get_peer_cert_chain, reported by tejas.
      Fixed a problem with building on Windows that prevented correct OpenSSL
      directory detection with version 1.0.1j as delivered with Shining Light OpenSSL.
      Fixed a problem with building on Windows that prevented finding MT or MD
      versions of SSL libraries.
      Updated doc in README.Win32 to build with Microsoft Visual Studio 2010 Express.
      Added Windows crypt32 library to Windows linking as some compilers/platforms seem to
      require it and it is innocuous otherwise. For Steve Hay.
      Fixed a failure in t/external/20_cert_chain.t where some platforms do not
      have HTTPS in /etc/services. Reported and patched by Gisle Aas.
      Recent 1.0.2 betas have dropped the SSLv3_method function. 
      This patch leaves out the function on newer versions, much the same as
      the SSLv2 deprecation is handled. Patch from Tom Molesworth.
      Fix the ALPN test, which was incorrectly failing on OpenSSL due to the
      LibreSSL check (earlier versions bailed out before that line).Patch from
      Tom Molesworth. 
 
 1.66 2014-08-21
      Fixed compile problem with perl prior to 5.8.8, similar to

OBS-URL: https://build.opensuse.org/request/show/284487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=24
2015-02-10 19:17:21 +00:00
Stephan Kulow
c29c30ebb7 Accepting request 237018 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/237018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=22
2014-06-18 05:47:46 +00:00
Stephan Kulow
798cff9c49 Accepting request 221510 from devel:languages:perl
- updated to 1.58
      Always use size_t for strlen() return value, requested by Alexander Bluhm.
      t/external/20_cert_chain.t was missing from dist.
      Version number in META.yml was incorrect
      Improvements to test t/external/20_cert_chain.t to provoke following bug:
      Fixed crash due to SSL_get_peer_cert_chain incorrectly free'ing the chain
      after use.
      Fixed a problem when compiling against openssl where OPENSSL_NO_EC is set.
 
 1.57 2014-01-09
      Fixed remaining problems with test suite: pod coverage and kwalitee tests
      are only enabled with RELEASE_TESTING=1
 
 1.56 2014-01-08
      Fixed a typo in documentation of BEAST Attack, patched by gregor
      herrmann.
      Added LICENSE file copied form OpenSSL distribution to prevent complaints
      from various versions of kwalitee.
      Adjusted license: in META.yml to be 'openssl'
      Adds support for the basic operations necessary to support ECDH for PFS,
      e.g. EC_KEY_new_by_curve_name, EC_KEY_free and SSL_CTX_set_tmp_ecdh.
      Improvements to t/handle/external/50_external.t to handle the case when a
      test connection was not possible. Patched by Alexandr Ciornii.
      Added support for ALPN TLS extension. Patch from Lubomir Rintel. Tested
      with openssl-1.0.2-stable-SNAP-20131205.
      Fix an use-after-free error. Patch from Lubomir Rintel.
      Fixed a problem with  Invalid comparison on OBJ_cmp result in
      t/local/36_verify.t. Contributed by paul.
      Added support for get_peer_cert_chain(). Patch by Markus Benning.
      Fixed a bug that could cause stack faults: mixed up PUTBACK with SPAGAIN in ssleay_RSA_generate_key_cb_invoke()

OBS-URL: https://build.opensuse.org/request/show/221510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=21
2014-02-12 16:32:09 +00:00
Tomáš Chvátal
64a6019144 Accepting request 202106 from devel:languages:perl
- disable checks on qemu user build (hangs) (forwarded request 201954 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/202106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=20
2013-10-04 08:43:56 +00:00
Stephan Kulow
862a1426d1 Accepting request 182615 from devel:languages:perl
- new version 1.55
  * Added support for TLSV1_1 and TLSV1_2 methods with
    SSL_CTX_tlsv1_1_new(), SSL_CTX_tlsv1_2_new(), TLSv1_1_method() and
    TLSv1_2_method(), where available in the underlying openssl.
  * Added CRL support functions X509_CRL_get_ext(),
    X509_CRL_get_ext_by_NID(), X509_CRL_get_ext_count(). Patch from
    Franck Youssef.
  * Added support for SSL_get_tlsa_record_byname() required for DANE
    support in openssl*1.0.2 and later. SSL_get_tlsa_record_byname()
    was added to OpenSSL with the financial assistance of .SE.
  * Added X509_NAME_new and X509_NAME_hash, patched by Franck Youssef.
  * Added support for SSL_export_keying_material where present
  * Net::SSLeay::ASN1_INTEGER_get, since it works differntly on 32 and
    64 bit platforms. Updated author and distribution location details
    to airspayce.com
  * Fixed a few compiler warnings in SSLeay.xs.  Most of them are just
    signed/unsigned pointer mismatches but there is one that actually
    fixes returning what would be an arbitrary value off the stack
    from get_my_thread_id if it happened to be called in a
    non*threaded build.
  * Added SSL_set_tlsext_host_name, SSL_get_servername,
    SSL_get_servername_type, SSL_CTX_set_tlsext_servername_callback
    for server side Server Name Indication (SNI) support. Patched by
    kmx.
  * Improvements to Net::SSLeay::read to make it easier to use with
    non*blocking IO Added documentation about how to mitigatxe various
    SSL/TLS vulnerabilities.
  * initializes the SSL library at most once. 
  * Patch from kmx to protect SSLeay_add_ssl_algorithms from multiple
    loads and reentrancy in multi*threaded perls. (forwarded request 181902 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/182615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=18
2013-07-09 18:55:42 +00:00
Stephan Kulow
9b39635c33 Accepting request 125064 from devel:languages:perl
license update: OpenSSL
 (forwarded request 124911 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/125064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=15
2012-06-15 13:41:50 +00:00
Stephan Kulow
bfbe6b7549 Accepting request 105370 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/105370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=14
2012-02-17 11:08:02 +00:00
Lars Vogdt
7367b23d4f Autobuild autoformatter for 54611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=11
2010-12-05 21:09:00 +00:00
Lars Vogdt
e2d16d0267 Accepting request 54611 from devel:languages:perl
Accepted submit request 54611 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=10
2010-12-05 21:08:52 +00:00
3 changed files with 71 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 9 20:34:23 UTC 2025 - Lucas Mulling <lucas.mulling@suse.com>
- Fix build with openssl >= 3.4.1
* Add patch test-32_x509_get_cert_info-allow-single-colon.patch
-------------------------------------------------------------------
Fri Mar 22 19:08:41 UTC 2024 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Net-SSLeay
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -27,6 +27,8 @@ Summary: Perl bindings for OpenSSL and LibreSSL
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM: Fix build with openssl >= 3.4.1
Patch: test-32_x509_get_cert_info-allow-single-colon.patch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Net::SSLeay) = %{version}
@@ -47,7 +49,7 @@ This module provides Perl bindings for libssl (an SSL/TLS API) and
libcrypto (a cryptography API).
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -p1 -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644

View File

@@ -0,0 +1,61 @@
From e73cf1139a6651a968828d1634be8fec5beb50ba Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Wed, 16 Oct 2024 21:48:51 +0200
Subject: [PATCH 1/2] test: 32_x509_get_cert_info allow single colon.
Starting with 3.4.0 the double colon in emailAddress has been removed.
Adapt the test to allow a single colon in 3.4.0 and later.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
t/local/32_x509_get_cert_info.t | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t
index 0f7e2d5a..0fd1b689 100644
--- a/t/local/32_x509_get_cert_info.t
+++ b/t/local/32_x509_get_cert_info.t
@@ -188,6 +188,10 @@ for my $f (keys (%$dump)) {
) {
$ext_data =~ s{(othername:) [^, ]+}{$1<unsupported>}g;
}
+ # Starting with 3.4.0 the double colon in emailAddress has been removed.
+ if (Net::SSLeay::SSLeay >= 0x30400000) {
+ $ext_data =~ s{emailAddress::}{emailAddress:};
+ }
}
elsif ( $nid == 89 ) {
# The output formatting for certificate policies has a
From 800a8c1ea63ef9edd145e7b334c64a7d8f1ef1a7 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Tue, 18 Feb 2025 18:57:15 +0100
Subject: [PATCH 2/2] tests: Address another formatting difference in OpenSSL
3.4.1
Since OpenSSL 3.4.1, commit 8a28bca8ee08 ("x509: add a newline after
printing Full Name") to be exact, there is another new line change.
Adapt the testsuite.
Fixes: #513
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
t/local/32_x509_get_cert_info.t | 3 +++
1 file changed, 3 insertions(+)
diff --git a/t/local/32_x509_get_cert_info.t b/t/local/32_x509_get_cert_info.t
index 0fd1b689..08316bf9 100644
--- a/t/local/32_x509_get_cert_info.t
+++ b/t/local/32_x509_get_cert_info.t
@@ -218,6 +218,9 @@ for my $f (keys (%$dump)) {
# OpenSSL 1.0.0 to 1.1.1:
$ext_data =~ s{(Full Name:\n )}{\n$1}g;
$ext_data .= "\n";
+ } elsif ( Net::SSLeay::SSLeay > 0x3040000f ) {
+ $ext_data =~ s{(\nFull Name:)}{\n$1}g;
+ $ext_data .= "\n";
}
}
elsif ( $nid == 126 ) {