File perl-Net-SSLGlue.spec of Package perl-Net-SSLGlue

# spec file for package perl-Net-SSLGlue
# Copyright (c) 2016 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

Name:           perl-Net-SSLGlue
Version:        1.058
Release:        0
%define cpan_name Net-SSLGlue
Summary:        Add/Extend Ssl Support for Common Perl Modules
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Source1:        cpanspec.yml
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(IO::Socket::SSL) >= 1.19
Requires:       perl(IO::Socket::SSL) >= 1.19

Some commonly used perl modules don't have SSL support at all, even if the
protocol supports it. Others have SSL support, but most of them don't do
proper checking of the server's certificate.

The 'Net::SSLGlue::*' modules try to add SSL support or proper certificate
checking to these modules. Currently support for the following modules is

* Net::SMTP - add SSL from beginning or using STARTTLS

* Net::POP3 - add SSL from beginning or using STLS

* Net::FTP  - add SSL and IPv6 support to Net::FTP

* Net::LDAP - add proper certificate checking

* 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

%setup -q -n %{cpan_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files
%doc Changes COPYRIGHT examples README

openSUSE Build Service is sponsored by