2006-07-17 15:47:06 +00:00
|
|
|
#
|
|
|
|
# Rebuild switch:
|
2007-11-28 18:25:18 +00:00
|
|
|
# --with sessiontests enable session tests
|
2006-07-17 15:47:06 +00:00
|
|
|
#
|
|
|
|
|
2007-11-28 18:25:18 +00:00
|
|
|
Name: perl-IO-Socket-SSL
|
2010-12-09 11:31:38 +00:00
|
|
|
Version: 1.36
|
2010-11-02 13:09:38 +00:00
|
|
|
Release: 1%{?dist}
|
2007-11-28 18:25:18 +00:00
|
|
|
Summary: Perl library for transparent SSL
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/IO-Socket-SSL/
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2008-08-30 14:20:37 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::Simple)
|
2008-11-18 09:53:54 +00:00
|
|
|
BuildRequires: perl(IO::Socket::INET6), perl(Net::LibIDN), perl(Net::SSLeay) >= 1.21
|
2009-08-20 08:37:15 +00:00
|
|
|
BuildRequires: procps
|
2007-11-28 18:25:18 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2008-08-30 14:20:37 +00:00
|
|
|
Requires: perl(Net::LibIDN)
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module is a true drop-in replacement for IO::Socket::INET that
|
|
|
|
uses SSL to encrypt data before it is transferred to a remote server
|
|
|
|
or client. IO::Socket::SSL supports all the extra features that one
|
|
|
|
needs to write a full-featured SSL client or server application:
|
|
|
|
multiple SSL contexts, cipher selection, certificate verification, and
|
|
|
|
SSL version selection. As an extra bonus, it works perfectly with
|
|
|
|
mod_perl.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n IO-Socket-SSL-%{version}
|
2007-11-28 18:25:18 +00:00
|
|
|
for f in README SSL.pm; do
|
|
|
|
/usr/bin/iconv -f iso-8859-1 -t utf-8 -o $f{.utf8,}; %{__mv} $f{.utf8,}
|
2006-07-17 15:47:06 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
2007-11-28 18:25:18 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%install
|
2007-11-28 18:25:18 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
|
2010-02-23 13:58:55 +00:00
|
|
|
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
|
|
|
|
%{_fixperms} %{buildroot}
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
# Avoid running the session tests (spawns servers, requires 3 free ports
|
|
|
|
# and possibly manual configuration).
|
2008-11-18 09:53:54 +00:00
|
|
|
%{?!_with_sessiontests:%{__mv} t/sessions.t t/sessions.t.disable}
|
2007-11-28 18:25:18 +00:00
|
|
|
%{__make} test
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%clean
|
2007-11-28 18:25:18 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc BUGS Changes README docs/ certs/ example/ util/
|
|
|
|
%{perl_vendorlib}/IO/
|
2009-07-03 08:33:25 +00:00
|
|
|
%{_mandir}/man3/IO::Socket::SSL.3pm*
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-12-09 11:31:38 +00:00
|
|
|
* Thu Dec 9 2010 Paul Howarth <paul@city-fan.org> - 1.36-1
|
|
|
|
- Update to 1.36
|
|
|
|
- update documentation for SSL_verify_callback based on CPAN RT#63743 and
|
|
|
|
CPAN RT#63740
|
|
|
|
|
2010-12-06 12:10:01 +00:00
|
|
|
* Mon Dec 6 2010 Paul Howarth <paul@city-fan.org> - 1.35-1
|
|
|
|
- Update to 1.35
|
|
|
|
- if verify_mode is not VERIFY_NONE and the ca_file/ca_path cannot be
|
|
|
|
verified as valid, it will no longer fall back to VERIFY_NONE but throw an
|
|
|
|
error (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606058)
|
|
|
|
|
2010-11-02 13:09:38 +00:00
|
|
|
* Tue Nov 2 2010 Paul Howarth <paul@city-fan.org> - 1.34-1
|
|
|
|
- Update to 1.34
|
|
|
|
- schema http for certificate verification changed to wildcards_in_cn=1
|
|
|
|
- if upgrading socket from inet to ssl fails due to handshake problems, the
|
|
|
|
socket gets downgraded back again but is still open (CPAN RT#61466)
|
|
|
|
- deprecate kill_socket: just use close()
|
|
|
|
|
2010-05-02 18:02:10 +00:00
|
|
|
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.33-2
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-03-17 16:23:40 +00:00
|
|
|
* Wed Mar 17 2010 Paul Howarth <paul@city-fan.org> - 1.33-1
|
|
|
|
- Update to 1.33
|
|
|
|
- attempt to make t/memleak_bad_handshake.t more stable
|
|
|
|
- fix hostname checking: only check an IP against subjectAltName GEN_IPADD
|
|
|
|
|
2010-02-23 13:58:55 +00:00
|
|
|
* Tue Feb 23 2010 Paul Howarth <paul@city-fan.org> - 1.32-1
|
|
|
|
- Update to 1.32 (die in Makefile.PL if Scalar::Util has no dualvar support)
|
|
|
|
- Use %%{_fixperms} macro instead of our own %%{__chmod} incantation
|
|
|
|
|
2009-12-07 10:54:01 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.31-2
|
2010-02-23 13:58:55 +00:00
|
|
|
- Rebuild against perl 5.10.1
|
2009-12-07 10:54:01 +00:00
|
|
|
|
2009-09-27 21:01:01 +00:00
|
|
|
* Sun Sep 27 2009 Paul Howarth <paul@city-fan.org> - 1.31-1
|
|
|
|
- Update to 1.31 (see Changes for details)
|
|
|
|
|
2009-08-20 08:37:15 +00:00
|
|
|
* Thu Aug 20 2009 Paul Howarth <paul@city-fan.org> - 1.30-1
|
|
|
|
- Update to 1.30 (fix memleak when SSL handshake failed)
|
|
|
|
- Add buildreq procps needed for memleak test
|
|
|
|
|
2009-07-28 08:36:40 +00:00
|
|
|
* Mon Jul 27 2009 Paul Howarth <paul@city-fan.org> - 1.27-1
|
|
|
|
- Update to 1.27
|
|
|
|
- various regex fixes for i18n and service names
|
|
|
|
- fix warnings from perl -w (CPAN RT#48131)
|
|
|
|
- improve handling of errors from Net::ssl_write_all
|
|
|
|
|
2009-07-26 06:42:14 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-04 21:19:59 +00:00
|
|
|
* Sat Jul 4 2009 Paul Howarth <paul@city-fan.org> - 1.26-1
|
|
|
|
- Update to 1.26 (verify_hostname_of_cert matched only the prefix for the
|
|
|
|
hostname when no wildcard was given, e.g. www.example.org matched against a
|
2009-07-28 08:36:40 +00:00
|
|
|
certificate with name www.exam in it [#509819])
|
2009-07-04 21:19:59 +00:00
|
|
|
|
2009-07-03 08:33:25 +00:00
|
|
|
* Fri Jul 3 2009 Paul Howarth <paul@city-fan.org> - 1.25-1
|
|
|
|
- Update to 1.25 (fix t/nonblock.t for OS X 10.5 - CPAN RT#47240)
|
|
|
|
|
2009-04-03 09:20:34 +00:00
|
|
|
* Thu Apr 2 2009 Paul Howarth <paul@city-fan.org> - 1.24-1
|
|
|
|
- Update to 1.24 (add verify hostname scheme ftp, same as http)
|
|
|
|
|
2009-02-25 21:35:25 +00:00
|
|
|
* Wed Feb 25 2009 Paul Howarth <paul@city-fan.org> - 1.23-1
|
|
|
|
- Update to 1.23 (complain when no certificates are provided)
|
|
|
|
|
2009-01-24 20:47:31 +00:00
|
|
|
* Sat Jan 24 2009 Paul Howarth <paul@city-fan.org> - 1.22-1
|
|
|
|
- Update to latest upstream version: 1.22
|
|
|
|
|
2009-01-22 15:51:36 +00:00
|
|
|
* Thu Jan 22 2009 Paul Howarth <paul@city-fan.org> - 1.20-1
|
|
|
|
- Update to latest upstream version: 1.20
|
|
|
|
|
2008-11-18 09:53:54 +00:00
|
|
|
* Tue Nov 18 2008 Paul Howarth <paul@city-fan.org> - 1.18-1
|
|
|
|
- Update to latest upstream version: 1.18
|
|
|
|
- BR: perl(IO::Socket::INET6) for extra test coverage
|
|
|
|
|
2008-10-13 16:23:05 +00:00
|
|
|
* Mon Oct 13 2008 Paul Howarth <paul@city-fan.org> - 1.17-1
|
|
|
|
- Update to latest upstream version: 1.17
|
|
|
|
|
2008-09-22 09:26:31 +00:00
|
|
|
* Mon Sep 22 2008 Paul Howarth <paul@city-fan.org> - 1.16-1
|
|
|
|
- Update to latest upstream version: 1.16
|
|
|
|
|
2008-08-30 14:20:37 +00:00
|
|
|
* Sat Aug 30 2008 Paul Howarth <paul@city-fan.org> - 1.15-1
|
|
|
|
- Update to latest upstream version: 1.15
|
|
|
|
- Add buildreq and req for perl(Net::LibIDN) to avoid croaking when trying to
|
|
|
|
verify an international name against a certificate
|
|
|
|
|
2008-07-16 15:59:27 +00:00
|
|
|
* Wed Jul 16 2008 Paul Howarth <paul@city-fan.org> - 1.14-1
|
|
|
|
- Update to latest upstream version: 1.14
|
|
|
|
- BuildRequire perl(Net::SSLeay) >= 1.21
|
|
|
|
|
2008-03-02 15:57:00 +00:00
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-4
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
2008-02-01 03:30:23 +00:00
|
|
|
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-3
|
2008-08-30 14:20:37 +00:00
|
|
|
- Rebuild for new perl
|
2008-02-01 03:30:23 +00:00
|
|
|
|
2007-11-28 18:25:18 +00:00
|
|
|
* Wed Nov 28 2007 Paul Howarth <paul@city-fan.org> - 1.12-2
|
|
|
|
- Cosmetic spec changes suiting new maintainer's preferences
|
|
|
|
|
2007-10-26 18:18:32 +00:00
|
|
|
* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 1.12-1
|
|
|
|
- Update to latest upstream version: 1.12
|
|
|
|
- Fix license tag
|
|
|
|
- Add BuildRequires for ExtUtils::MakeMaker and Test::Simple
|
|
|
|
- Fix package review issues:
|
|
|
|
- Source URL
|
|
|
|
- Resolves: bz#226264
|
|
|
|
|
2007-10-16 20:28:39 +00:00
|
|
|
* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-1.1
|
2008-08-30 14:20:37 +00:00
|
|
|
- Correct license tag
|
|
|
|
- Add BR: perl(ExtUtils::MakeMaker)
|
2007-10-16 20:28:39 +00:00
|
|
|
|
2006-12-02 18:36:23 +00:00
|
|
|
* Sat Dec 02 2006 Robin Norwood <rnorwood@redhat.com> - 1.02-1
|
|
|
|
- Upgrade to latest CPAN version: 1.02
|
|
|
|
|
2006-09-18 14:27:25 +00:00
|
|
|
* Mon Sep 18 2006 Warren Togami <wtogami@redhat.com> - 1.01-1
|
|
|
|
- 1.01 bug fixes (#206782)
|
|
|
|
|
2006-08-13 17:09:03 +00:00
|
|
|
* Sun Aug 13 2006 Warren Togami <wtogami@redhat.com> - 0.998-1
|
|
|
|
- 0.998 with more important fixes
|
|
|
|
|
2006-08-01 06:35:32 +00:00
|
|
|
* Tue Aug 01 2006 Warren Togami <wtogami@redhat.com> - 0.994-1
|
|
|
|
- 0.994 important bugfixes (#200860)
|
|
|
|
|
2006-07-19 01:24:30 +00:00
|
|
|
* Tue Jul 18 2006 Warren Togami <wtogami@redhat.com> - 0.991-1
|
|
|
|
- 0.991
|
|
|
|
|
2006-07-17 15:47:06 +00:00
|
|
|
* Wed Jul 12 2006 Warren Togami <wtogami@redhat.com> - 0.97-3
|
2008-08-30 14:20:37 +00:00
|
|
|
- Import into FC6
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
* Tue Feb 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.97-2
|
|
|
|
- Rebuild for FC5 (perl 5.8.8).
|
|
|
|
- Rebuild switch: "--with sessiontests".
|
|
|
|
|
|
|
|
* Mon Jul 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.97-1
|
|
|
|
- 0.97.
|
|
|
|
- Convert docs to UTF-8, drop some unuseful ones.
|
|
|
|
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.96-4
|
2008-08-30 14:20:37 +00:00
|
|
|
- Rebuilt
|
2006-07-17 15:47:06 +00:00
|
|
|
|
|
|
|
* Tue Oct 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.96-3
|
|
|
|
- Disable session test suite even if Net::SSLeay >= 1.26 is available.
|
|
|
|
|
|
|
|
* Wed Jul 7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.96-0.fdr.2
|
|
|
|
- Bring up to date with current fedora.us Perl spec template.
|
|
|
|
- Include examples in docs.
|
|
|
|
|
|
|
|
* Sat May 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.96-0.fdr.1
|
|
|
|
- Update to 0.96.
|
|
|
|
- Reduce directory ownership bloat.
|
|
|
|
- Require perl(:MODULE_COMPAT_*).
|
|
|
|
|
|
|
|
* Fri Oct 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.95-0.fdr.1
|
|
|
|
- First build.
|