d2e34d78bd
- add DHE-RSA to the default client cipher list to support PFS with older machines (bnc#924976) * added perl-IO-Socket-SSL_add_DHE-RSA_to_default_client_cipher_list.patch - add cpanspec.yml to support automatic version updates (see http://lists.opensuse.org/opensuse-packaging/2015-04/msg00084.html) OBS-URL: https://build.opensuse.org/request/show/297942 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=76
100 lines
3.0 KiB
RPMSpec
100 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package perl-IO-Socket-SSL
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: perl-IO-Socket-SSL
|
|
Version: 2.012
|
|
Release: 0
|
|
%define cpan_name IO-Socket-SSL
|
|
Summary: Nearly transparent SSL encapsulation for IO::Socket::INET
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/IO-Socket-SSL/
|
|
Source: http://www.cpan.org/authors/id/S/SU/SULLR/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Patch: perl-IO-Socket-SSL_add_DHE-RSA_to_default_client_cipher_list.patch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Net::SSLeay) >= 1.46
|
|
Requires: perl(Net::SSLeay) >= 1.46
|
|
%{perl_requires}
|
|
|
|
%description
|
|
IO::Socket::SSL makes using SSL/TLS much easier by wrapping the necessary
|
|
functionality into the familiar the IO::Socket manpage interface and
|
|
providing secure defaults whenever possible. This way existing applications
|
|
can be made SSL-aware without much effort, at least if you do blocking I/O
|
|
and don't use select or poll.
|
|
|
|
But, under the hood SSL is a complex beast. So there are lots of methods to
|
|
make it do what you need if the default behavior is not adequate. Because
|
|
it is easy to inadvertently introduce critical security bugs or just
|
|
getting hard to debug problems, I would recommend to study the following
|
|
documentation carefully.
|
|
|
|
The documentation consists of the following parts:
|
|
|
|
* * the /"Essential Information About SSL/TLS" manpage
|
|
|
|
* * the /"Basic SSL Client" manpage
|
|
|
|
* * the /"Basic SSL Server" manpage
|
|
|
|
* * the /"Common Usage Errors" manpage
|
|
|
|
* * the /"Common Problems with SSL" manpage
|
|
|
|
* * the /"Using Non-Blocking Sockets" manpage
|
|
|
|
* * the /"Advanced Usage" manpage
|
|
|
|
* * the /"Integration Into Own Modules" manpage
|
|
|
|
* * the /"Description Of Methods" manpage
|
|
|
|
Additional documentation can be found in
|
|
|
|
* * the IO::Socket::SSL::Intercept manpage - Doing Man-In-The-Middle with
|
|
SSL
|
|
|
|
* * the IO::Socket::SSL::Utils manpage - Useful functions for certificates
|
|
etc
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
%patch -p1
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc BUGS Changes example README README.Win32
|
|
|
|
%changelog
|