2009-05-28 02:49:01 +00:00
|
|
|
#
|
2011-11-11 11:20:56 +00:00
|
|
|
# spec file for package perl-Net-SSLGlue
|
2009-05-28 02:49:01 +00:00
|
|
|
#
|
2016-04-08 05:43:03 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-05-28 02:49:01 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-11-11 11:20:56 +00:00
|
|
|
|
2009-05-28 02:49:01 +00:00
|
|
|
Name: perl-Net-SSLGlue
|
2016-06-24 05:04:17 +00:00
|
|
|
Version: 1.058
|
2012-02-13 12:20:13 +00:00
|
|
|
Release: 0
|
2011-03-31 11:53:38 +00:00
|
|
|
%define cpan_name Net-SSLGlue
|
2015-04-29 18:10:42 +00:00
|
|
|
Summary: Add/Extend Ssl Support for Common Perl Modules
|
2012-02-13 12:20:13 +00:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2011-03-31 11:53:38 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-13 12:20:13 +00:00
|
|
|
Url: http://search.cpan.org/dist/Net-SSLGlue/
|
2015-04-29 18:10:42 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/S/SU/SULLR/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:08 +02:00
|
|
|
Source100: README.md
|
2010-07-20 18:45:19 +00:00
|
|
|
BuildArch: noarch
|
2009-05-28 02:49:01 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-07-20 18:45:19 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(IO::Socket::SSL) >= 1.19
|
|
|
|
Requires: perl(IO::Socket::SSL) >= 1.19
|
2011-03-31 11:53:38 +00:00
|
|
|
%{perl_requires}
|
2009-05-28 02:49:01 +00:00
|
|
|
|
|
|
|
%description
|
2010-07-20 18:45:19 +00:00
|
|
|
Some commonly used perl modules don't have SSL support at all, even if the
|
2011-05-04 11:04:00 +00:00
|
|
|
protocol supports it. Others have SSL support, but most of them don't do
|
|
|
|
proper checking of the server's certificate.
|
2009-05-28 02:49:01 +00:00
|
|
|
|
2011-03-31 11:53:38 +00:00
|
|
|
The 'Net::SSLGlue::*' modules try to add SSL support or proper certificate
|
2011-05-04 11:04:00 +00:00
|
|
|
checking to these modules. Currently support for the following modules is
|
|
|
|
available:
|
2011-03-31 11:53:38 +00:00
|
|
|
|
|
|
|
* Net::SMTP - add SSL from beginning or using STARTTLS
|
|
|
|
|
2013-12-18 10:41:35 +00:00
|
|
|
* Net::POP3 - add SSL from beginning or using STLS
|
|
|
|
|
2015-04-15 04:53:37 +00:00
|
|
|
* Net::FTP - add SSL and IPv6 support to Net::FTP
|
|
|
|
|
2011-03-31 11:53:38 +00:00
|
|
|
* Net::LDAP - add proper certificate checking
|
|
|
|
|
2015-04-15 04:53:37 +00:00
|
|
|
* LWP - add proper certificate checking for older LWP versions
|
|
|
|
|
|
|
|
There is also a Net::SSLGlue::Socket package which combines ssl and non-ssl
|
|
|
|
and ipv6 capabilities to make it easier to enhance modules based on
|
|
|
|
IO::Socket::INET.
|
2009-05-28 02:49:01 +00:00
|
|
|
|
|
|
|
%prep
|
2010-07-20 18:45:19 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2009-05-28 02:49:01 +00:00
|
|
|
|
|
|
|
%build
|
2010-07-20 18:45:19 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
2009-05-28 02:49:01 +00:00
|
|
|
|
|
|
|
%install
|
2010-07-20 18:45:19 +00:00
|
|
|
%perl_make_install
|
2011-03-31 11:53:38 +00:00
|
|
|
%perl_process_packlist
|
2010-07-20 18:45:19 +00:00
|
|
|
%perl_gen_filelist
|
2009-05-28 02:49:01 +00:00
|
|
|
|
2010-07-20 18:45:19 +00:00
|
|
|
%files -f %{name}.files
|
2011-05-04 11:04:00 +00:00
|
|
|
%defattr(-,root,root,755)
|
2015-04-15 04:53:37 +00:00
|
|
|
%doc Changes COPYRIGHT examples README
|
2009-05-28 02:49:01 +00:00
|
|
|
|
|
|
|
%changelog
|