2008-08-04 02:49:41 +00:00
|
|
|
#
|
2011-11-18 11:43:24 +00:00
|
|
|
# spec file for package perl-Net-SSLeay
|
2008-08-04 02:49:41 +00:00
|
|
|
#
|
2015-02-06 06:10:09 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-08-04 02:49:41 +00:00
|
|
|
#
|
2009-06-18 15:09:49 +00:00
|
|
|
# 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.
|
|
|
|
|
2008-08-04 02:49:41 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-07-19 18:54:44 +00:00
|
|
|
%bcond_with test
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
Name: perl-Net-SSLeay
|
2014-06-12 20:18:47 +00:00
|
|
|
Version: 1.64
|
2012-02-10 11:14:13 +00:00
|
|
|
Release: 0
|
2010-07-19 18:54:44 +00:00
|
|
|
%define cpan_name Net-SSLeay
|
|
|
|
Summary: Perl extension for using OpenSSL
|
Accepting request 181902 from home:lnussel:branches: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.
OBS-URL: https://build.opensuse.org/request/show/181902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=19
2013-07-09 09:44:17 +00:00
|
|
|
License: OpenSSL
|
2012-02-10 11:14:13 +00:00
|
|
|
Group: Development/Libraries/Perl
|
Accepting request 181902 from home:lnussel:branches: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.
OBS-URL: https://build.opensuse.org/request/show/181902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=19
2013-07-09 09:44:17 +00:00
|
|
|
Url: http://search.cpan.org/dist/Net-SSLeay/
|
|
|
|
Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz
|
2011-12-19 15:29:34 +00:00
|
|
|
BuildRequires: openssl
|
|
|
|
BuildRequires: openssl-devel
|
2010-07-19 18:54:44 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2012-02-10 11:14:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{perl_requires}
|
2010-07-19 18:54:44 +00:00
|
|
|
%if %{with test}
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
2012-02-10 11:14:13 +00:00
|
|
|
BuildRequires: perl(Test::Warn)
|
2010-07-19 18:54:44 +00:00
|
|
|
%endif
|
|
|
|
#
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%description
|
2010-07-19 18:54:44 +00:00
|
|
|
There is a related module called Net::SSLeay::Handle included in this
|
|
|
|
distribution that you might want to use instead. It has its own pod
|
|
|
|
documentation.
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%prep
|
2010-07-19 18:54:44 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2008-08-04 02:49:41 +00:00
|
|
|
# replace rest of /usr/local/bin/perl with /usr/bin/perl
|
2010-07-19 18:54:44 +00:00
|
|
|
for f in $(find . -type f -exec grep -l "/usr/local/bin/perl" {} \; ); do
|
2012-02-10 11:14:13 +00:00
|
|
|
sed -i -e "s@/usr/local/bin/perl@perl@g" $f
|
2008-08-04 02:49:41 +00:00
|
|
|
done
|
2012-02-10 11:14:13 +00:00
|
|
|
# delete .orig files created by patches
|
|
|
|
find . -type f -name "*.orig" -delete
|
2010-07-19 18:54:44 +00:00
|
|
|
# fix perm
|
|
|
|
pushd examples
|
2012-02-10 11:14:13 +00:00
|
|
|
chmod 0644 *.pl
|
2010-07-19 18:54:44 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
%build
|
2015-02-06 06:10:09 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall" < /dev/null
|
2012-02-10 11:14:13 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%check
|
2013-10-04 05:33:02 +00:00
|
|
|
%if ! 0%{?qemu_user_space_build}
|
2012-02-10 11:14:13 +00:00
|
|
|
make test
|
2013-10-04 05:33:02 +00:00
|
|
|
%endif
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%install
|
2010-07-19 18:54:44 +00:00
|
|
|
%perl_make_install
|
2008-08-04 02:49:41 +00:00
|
|
|
%perl_process_packlist
|
2010-07-19 18:54:44 +00:00
|
|
|
%perl_gen_filelist
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%clean
|
2012-02-10 11:14:13 +00:00
|
|
|
rm -rf %{buildroot}
|
2008-08-04 02:49:41 +00:00
|
|
|
|
2010-07-19 18:54:44 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,-)
|
Accepting request 181902 from home:lnussel:branches: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.
OBS-URL: https://build.opensuse.org/request/show/181902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=19
2013-07-09 09:44:17 +00:00
|
|
|
%doc Changes Credits QuickRef README examples
|
2008-08-04 02:49:41 +00:00
|
|
|
|
|
|
|
%changelog
|