Update to 1.82
- New upstream release 1.82
- Added support for building under Linuxbrew (a linuxbrew version of MacOS
Homebrew)
- Implement SSL_CTX_set_psk_client_callback() and
SSL_set_psk_client_callback()
- Skip the NPN test if the SSL library is LibreSSL
- Fixed a problem with a variable declaration in
ssleay_session_secret_cb_invoke
- Bugfix: tlsext_status_cb_invoke(...): free ocsp_response only when
allocated; the same callback is used on a server side for OCSP stapling
and in that case ocsp_response is NULL and not used
- New feature: Added a binding
SSL_set_session_ticket_ext_cb(ssl, callback, data); a callback used by
EAP-FAST/EAP-TEAT to parse and process TLS session ticket
- New feature: Added a binding SSL_set_session_ticket_ext(ssl, ticket); used
by EAP-FAST/EAP-TEAP to define TLS session ticket value
- Bugfix: tlsext_ticket_key_cb_invoke(...): allow SHA256 HMAC key to be 32
bytes instead of 16 bytes (which OpenSSL will pad with zeros up to 32
bytes)
- New feature: Added following bindings:
- X509_get_ex_data(cert, idx)
- X509_get_ex_new_index(argl, argp, new_func, dup_func, free_func)
- X509_get_app_data(cert)
- X509_set_ex_data(cert, idx, data)
- X509_set_app_data(cert, arg)
- X509_STORE_CTX_get_ex_new_index(argl, argp, new_func, dup_func, free_func)
- X509_STORE_CTX_get_app_data(x509_store_ctx)
- X509_STORE_CTX_set_app_data(x509_store_ctx, arg)
- New feature: Added an implementation for
SSL_get_finished(ssl, buf, count=2*EVP_MAX_MD_SIZE)
- New feature: Added an implementation for
SSL_get_peer_finished(ssl, buf, count=2*EVP_MAX_MD_SIZE)
- Bugfix: SSL_get_keyblock_size(s): Calculate key block size correctly also
with AEAD ciphers, which don’t use digest functions
- New feature: Added a binding SSL_set_tlsext_status_ocsp_resp(ssl, staple);
used by a server side to include OCSP staple in ServerHello
- Bugfix: SSL_OCSP_response_verify(ssl, rsp, svreq, flags): check that chain
and last are not NULL before trying to use them
- Bugfix: inc/Module/Install/PRIVATE/Net/SSLeay.pm: Don’t quote include and
lib paths
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %install section
- Drop explicit %clean section
This commit is contained in:
parent
ab8cb09a62
commit
43f465dfa6
@ -4,14 +4,12 @@
|
||||
%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e' 2>/dev/null || echo 0)
|
||||
|
||||
Name: perl-Net-SSLeay
|
||||
Version: 1.81
|
||||
Release: 4%{?dist}
|
||||
Version: 1.82
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl extension for using OpenSSL
|
||||
Group: Development/Libraries
|
||||
License: Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/Net-SSLeay/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
# =========== Module Build ===========================
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
@ -19,9 +17,9 @@ BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: openssl
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Path)
|
||||
@ -80,11 +78,10 @@ PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
# Remove script we don't want packaged
|
||||
rm -f %{buildroot}%{perl_vendorarch}/Net/ptrtstrun.pl
|
||||
@ -95,9 +92,6 @@ make test
|
||||
# Check for https://bugzilla.redhat.com/show_bug.cgi?id=1222521
|
||||
perl -Iblib/{arch,lib} -MNet::SSLeay -e 'Net::SSLeay::CTX_v3_new()'
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%if 0%{?_licensedir:1}
|
||||
%license LICENSE
|
||||
@ -114,6 +108,52 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Net::SSLeay::Handle.3*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 31 2017 Paul Howarth <paul@city-fan.org> - 1.82-1
|
||||
- Update to 1.82
|
||||
- Added support for building under Linuxbrew (a linuxbrew version of MacOS
|
||||
Homebrew)
|
||||
- Implement SSL_CTX_set_psk_client_callback() and
|
||||
SSL_set_psk_client_callback()
|
||||
- Skip the NPN test if the SSL library is LibreSSL
|
||||
- Fixed a problem with a variable declaration in
|
||||
ssleay_session_secret_cb_invoke
|
||||
- Bugfix: tlsext_status_cb_invoke(...): free ocsp_response only when
|
||||
allocated; the same callback is used on a server side for OCSP stapling
|
||||
and in that case ocsp_response is NULL and not used
|
||||
- New feature: Added a binding
|
||||
SSL_set_session_ticket_ext_cb(ssl, callback, data); a callback used by
|
||||
EAP-FAST/EAP-TEAT to parse and process TLS session ticket
|
||||
- New feature: Added a binding SSL_set_session_ticket_ext(ssl, ticket); used
|
||||
by EAP-FAST/EAP-TEAP to define TLS session ticket value
|
||||
- Bugfix: tlsext_ticket_key_cb_invoke(...): allow SHA256 HMAC key to be 32
|
||||
bytes instead of 16 bytes (which OpenSSL will pad with zeros up to 32
|
||||
bytes)
|
||||
- New feature: Added following bindings:
|
||||
- X509_get_ex_data(cert, idx)
|
||||
- X509_get_ex_new_index(argl, argp, new_func, dup_func, free_func)
|
||||
- X509_get_app_data(cert)
|
||||
- X509_set_ex_data(cert, idx, data)
|
||||
- X509_set_app_data(cert, arg)
|
||||
- X509_STORE_CTX_get_ex_new_index(argl, argp, new_func, dup_func, free_func)
|
||||
- X509_STORE_CTX_get_app_data(x509_store_ctx)
|
||||
- X509_STORE_CTX_set_app_data(x509_store_ctx, arg)
|
||||
- New feature: Added an implementation for
|
||||
SSL_get_finished(ssl, buf, count=2*EVP_MAX_MD_SIZE)
|
||||
- New feature: Added an implementation for
|
||||
SSL_get_peer_finished(ssl, buf, count=2*EVP_MAX_MD_SIZE)
|
||||
- Bugfix: SSL_get_keyblock_size(s): Calculate key block size correctly also
|
||||
with AEAD ciphers, which don’t use digest functions
|
||||
- New feature: Added a binding SSL_set_tlsext_status_ocsp_resp(ssl, staple);
|
||||
used by a server side to include OCSP staple in ServerHello
|
||||
- Bugfix: SSL_OCSP_response_verify(ssl, rsp, svreq, flags): check that chain
|
||||
and last are not NULL before trying to use them
|
||||
- Bugfix: inc/Module/Install/PRIVATE/Net/SSLeay.pm: Don’t quote include and
|
||||
lib paths
|
||||
- Drop EL-5 support
|
||||
- Drop BuildRoot: and Group: tags
|
||||
- Drop explicit buildroot cleaning in %%install section
|
||||
- Drop explicit %%clean section
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.81-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Net-SSLeay-1.81.tar.gz) = 8d4b72ede74ea22cf2ed681a8441f40965331cd5d4442c19677cf5bc7c1e61ed1e50d0f3a4f1b272428485bcc132ec99b0c75344ca43e8a34a9dd15539719f55
|
||||
SHA512 (Net-SSLeay-1.82.tar.gz) = 758c41f4916a55b5085167e5c6a2732a5ee70dbeb8f42e791cd957957ba4a59f724c072d3fa50a6b42ae3b22cf3ecb8738c3f8963990a7030117b73c2dcc0716
|
||||
|
||||
Loading…
Reference in New Issue
Block a user