2007-01-15 23:30:13 +00:00
|
|
|
#
|
2011-11-17 15:25:20 +00:00
|
|
|
# spec file for package perl-Crypt-SSLeay
|
2007-01-15 23:30:13 +00:00
|
|
|
#
|
2019-10-04 06:48:57 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:13 +00:00
|
|
|
#
|
2009-01-14 00:54:54 +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.
|
|
|
|
|
2019-10-04 06:48:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:30:13 +00:00
|
|
|
#
|
|
|
|
|
2010-11-30 14:51:54 +00:00
|
|
|
|
2007-01-15 23:30:13 +00:00
|
|
|
Name: perl-Crypt-SSLeay
|
2015-04-15 18:32:52 +00:00
|
|
|
Version: 0.72
|
|
|
|
Release: 0
|
2010-11-24 16:05:37 +00:00
|
|
|
%define cpan_name Crypt-SSLeay
|
|
|
|
Summary: OpenSSL support for LWP
|
2015-04-15 18:32:52 +00:00
|
|
|
License: Artistic-2.0
|
2007-01-15 23:30:13 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2019-10-04 06:48:57 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
2017-09-23 15:17:35 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NA/NANIS/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:12:53 +02:00
|
|
|
Source100: README.md
|
2017-09-23 15:17:35 +00:00
|
|
|
Patch0: no-dot-inc.patch
|
2017-11-13 16:39:01 +00:00
|
|
|
Patch1: Crypt-SSLeay-use_TLS_instead_of_SSL.patch
|
2019-10-04 06:48:57 +00:00
|
|
|
Patch2: perl-Crypt-SSLeay-tests.patch
|
2007-01-15 23:30:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-24 16:05:37 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2015-04-15 18:32:52 +00:00
|
|
|
BuildRequires: perl(ExtUtils::CBuilder) >= 0.280205
|
Accepting request 177472 from home:coolo:update-perl
- updated to 0.64
- Drastically simplify Makefile.PL to resolve RT bugs #61249, #61324,
#63553, #68208, and #68084.
- Forgot to update Changes for 0.63, so this version overrides that.
- Trying to distinguish between good vs bad zero returns from underlying
SSL_read/SSL_write broke stuff (see RT bug #78695). Revert to previous
behavior.
- Completely re-organize Makefile.PL. I hope these changes will help take
care of RT bugs #61324, #61249, #63553, and #68084 etc. This is not
necessarily finished, but I want to see what happens on CPAN Testers at
this point before making a few other minor changes.
- Release 0.59_03 as 0.60 so distributions can pick up various fixes. The most
important one seems to be bug RT #70565. This should take care of bug RT
#77167
- SSL_read and SSL_write now try to handle incomplete reads/writes (see bug RT
RT #64054). The current test suite does is not very comprehensive, so caution
is recommended at this point. Also, if you have good test cases, I would love
to incorporate them into the distribution.
- Bump version number and upload to CPAN.
- Forgot to update Changes for 0.59_01. The following is a combined list of
the more important fixes incorporated in both.
- Bug RT #64054: Handle incomplete reads/writes better
OBS-URL: https://build.opensuse.org/request/show/177472
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-SSLeay?expand=0&rev=16
2013-06-04 14:34:35 +00:00
|
|
|
BuildRequires: perl(LWP::Protocol::https) >= 6.02
|
2015-04-15 18:32:52 +00:00
|
|
|
BuildRequires: perl(Path::Class) >= 0.26
|
|
|
|
BuildRequires: perl(Try::Tiny) >= 0.19
|
2019-10-04 06:48:57 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
Accepting request 177472 from home:coolo:update-perl
- updated to 0.64
- Drastically simplify Makefile.PL to resolve RT bugs #61249, #61324,
#63553, #68208, and #68084.
- Forgot to update Changes for 0.63, so this version overrides that.
- Trying to distinguish between good vs bad zero returns from underlying
SSL_read/SSL_write broke stuff (see RT bug #78695). Revert to previous
behavior.
- Completely re-organize Makefile.PL. I hope these changes will help take
care of RT bugs #61324, #61249, #63553, and #68084 etc. This is not
necessarily finished, but I want to see what happens on CPAN Testers at
this point before making a few other minor changes.
- Release 0.59_03 as 0.60 so distributions can pick up various fixes. The most
important one seems to be bug RT #70565. This should take care of bug RT
#77167
- SSL_read and SSL_write now try to handle incomplete reads/writes (see bug RT
RT #64054). The current test suite does is not very comprehensive, so caution
is recommended at this point. Also, if you have good test cases, I would love
to incorporate them into the distribution.
- Bump version number and upload to CPAN.
- Forgot to update Changes for 0.59_01. The following is a combined list of
the more important fixes incorporated in both.
- Bug RT #64054: Handle incomplete reads/writes better
OBS-URL: https://build.opensuse.org/request/show/177472
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-SSLeay?expand=0&rev=16
2013-06-04 14:34:35 +00:00
|
|
|
Requires: perl(LWP::Protocol::https) >= 6.02
|
2015-04-15 18:32:52 +00:00
|
|
|
%{perl_requires}
|
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
Requires: openssl
|
|
|
|
# MANUAL END
|
2007-01-15 23:30:13 +00:00
|
|
|
|
|
|
|
%description
|
2017-09-23 15:17:35 +00:00
|
|
|
This Perl module provides support for the HTTPS protocol under LWP, to
|
|
|
|
allow an LWP::UserAgent object to perform GET, HEAD, and POST requests over
|
|
|
|
encrypted socket connections. Please see LWP for more information on POST
|
|
|
|
requests.
|
2007-01-15 23:30:13 +00:00
|
|
|
|
2015-04-15 18:32:52 +00:00
|
|
|
The 'Crypt::SSLeay' package provides 'Net::SSL', which, if requested, is
|
|
|
|
loaded by 'LWP::Protocol::https' for https requests and provides the
|
|
|
|
necessary SSL glue.
|
2007-01-15 23:30:13 +00:00
|
|
|
|
|
|
|
%prep
|
2024-03-06 07:45:27 +00:00
|
|
|
%autosetup -p1 -n %{cpan_name}-%{version}
|
2017-09-23 15:17:35 +00:00
|
|
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
2007-01-15 23:30:13 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-04 06:48:57 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
make %{?_smp_mflags}
|
2009-01-14 00:54:54 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-04 06:48:57 +00:00
|
|
|
make test
|
2007-01-15 23:30:13 +00:00
|
|
|
|
|
|
|
%install
|
2010-11-24 16:05:37 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:13 +00:00
|
|
|
%perl_process_packlist
|
2010-11-24 16:05:37 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2015-04-15 18:32:52 +00:00
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes README.md TODO
|
2007-01-15 23:30:13 +00:00
|
|
|
|
2007-07-16 16:24:30 +00:00
|
|
|
%changelog
|