7543f01546
* add and export constants for SSL_VERIFY_* * set SSL_use_cert if cert is given and not SSL_server * support alternative CRL file with SSL_crl_file thanks to patch of w[DOT]phillip[DOT]moore[AT]gmail[DOT]com * make t/memleak_bad_handshake.t more stable (increase listen queue, ignore errors on connect, don't run on windows..) * t/memleak_bad_handshake.t don't write errors with ps to stderr, -o vsize argument is not supported on all platforms, just skip test then * make sure that idn_to_ascii gets no \0 bytes from identity, because it simply cuts the string their (using C semantics). Not really a security problem because IDN like identity is provided by user in hostname, not by certificate. * fix test t/memleak_bad_handshake.t * fixed thanks for version 1.28 * fix memleak when SSL handshake failed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=7
80 lines
2.1 KiB
RPMSpec
80 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-IO-Socket-SSL (Version 1.27)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-IO-Socket-SSL
|
|
BuildRequires: perl-Net-SSLeay perl-libwww-perl
|
|
Version: 1.31
|
|
Release: 2
|
|
Provides: p_iossl
|
|
Obsoletes: p_iossl
|
|
Requires: perl-Net-SSLeay perl-libwww-perl
|
|
Requires: perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License ..
|
|
Url: http://cpan.org/modules/by-module/IO
|
|
Summary: IO::Socket::SSL Perl Module
|
|
Source: IO-Socket-SSL-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
IO::Socket::SSL is a class implementing an object oriented interface to
|
|
SSL sockets. The class is a descendant of IO::Socket::INET and provides
|
|
a subset of the base class' interface methods.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
<aspa@kronodoc.fi>
|
|
<Steffen_Ullrich@genua.de>
|
|
|
|
%prep
|
|
%setup -q -n IO-Socket-SSL-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
%if 0%{?opensuse_bs}
|
|
# currently 127.0.0.1 resolves to hostname in OBS
|
|
# and not to localhost
|
|
rm -fv t/auto_verify_hostname
|
|
%endif
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes BUGS README example util
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorlib}/IO
|
|
%{perl_vendorarch}/auto/IO
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|