1
0

Accepting request 103398 from home:vitezslav_cizek:branches:devel:languages:perl

- update to 1.42
    Fixed incorrect documentation of how to enable CRL checking. Patched
    by Steffen_Ullrich.
    Fixed incorrect letter in Sebastien in Credits. Patch by Neil Bowers.
    Reversed order of the Changes file to be reverse chronological. Patch by
    Neil Bowers.
    Fixed a a compile error when building on Windows with MSVC6. reported and
    patched by "Andrew J. Savige via RT".
1.41    2011-09-25
    Fixed incorrect const signatures for 1.0 that were causing warnings. 
    Patches provided by "Douglas
    Christopher Wilson via RT". Now have clean compile with 0.9.8a through 1.0.0.
1.40    2011-09-23
    Fixed incorrect argument type in call to SSL_set1_param
    Fixed a number of issues with pointer sizes, patched by "Douglas
    Christopher Wilson via RT". Removed redundant pointer cast tests from t/
    Added Perl version requirements to SSLeay.pm
1.39    2011-09-21
    Downgraded Module::Install to 0.93 since 1.01 was causing problems in
    the Makefile. Reported by Albert Chin.
1.38    2011-09-16
    - Fixed a problem with  various symbols that only became
    available in OpenSSL 0.9.8 such as X509_VERIFY_PARAM and
    X509_POLICY_NODE, causing build failures with older versions of
    OpenSSL. Patched by paul.
1.37    2011-09-16
    - Added X509_get_fingerprint, contributed by Thierry Walrant (with
    minor changes die to the fact that stricmp is not avialable. Cert
    types must be lowercase. Also added test to 07_sslecho.t
    - Added suport for SSL_CTX_set1_param, SSL_set1_param,

OBS-URL: https://build.opensuse.org/request/show/103398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SSLeay?expand=0&rev=15
This commit is contained in:
Vítězslav Čížek 2012-02-10 11:14:13 +00:00 committed by Git OBS Bridge
parent 18e2845f5a
commit 5e8b21115e
4 changed files with 69 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8aa59330bd4feab65e1267da643894957cb0d75297da16c7c2de1484261a0881
size 128272

3
Net-SSLeay-1.42.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6ca7719cd8568e60204f39027c1c68d19fa690b1f3fd380ed14031a1a70fd9d
size 146035

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Wed Feb 8 15:53:50 UTC 2012 - vcizek@suse.com
- update to 1.42
Fixed incorrect documentation of how to enable CRL checking. Patched
by Steffen_Ullrich.
Fixed incorrect letter in Sebastien in Credits. Patch by Neil Bowers.
Reversed order of the Changes file to be reverse chronological. Patch by
Neil Bowers.
Fixed a a compile error when building on Windows with MSVC6. reported and
patched by "Andrew J. Savige via RT".
1.41 2011-09-25
Fixed incorrect const signatures for 1.0 that were causing warnings.
Patches provided by "Douglas
Christopher Wilson via RT". Now have clean compile with 0.9.8a through 1.0.0.
1.40 2011-09-23
Fixed incorrect argument type in call to SSL_set1_param
Fixed a number of issues with pointer sizes, patched by "Douglas
Christopher Wilson via RT". Removed redundant pointer cast tests from t/
Added Perl version requirements to SSLeay.pm
1.39 2011-09-21
Downgraded Module::Install to 0.93 since 1.01 was causing problems in
the Makefile. Reported by Albert Chin.
1.38 2011-09-16
- Fixed a problem with various symbols that only became
available in OpenSSL 0.9.8 such as X509_VERIFY_PARAM and
X509_POLICY_NODE, causing build failures with older versions of
OpenSSL. Patched by paul.
1.37 2011-09-16
- Added X509_get_fingerprint, contributed by Thierry Walrant (with
minor changes die to the fact that stricmp is not avialable. Cert
types must be lowercase. Also added test to 07_sslecho.t
- Added suport for SSL_CTX_set1_param, SSL_set1_param,
selected X509_VERIFY_PARAM_* OBJ_* functions. Added new test
t/local/36_verify.t
- Fixed the prototype for randomize(), it missed one arg, and errors
are reported with perl 5.10.1 on Windows
- Fixed an uninitialized value warning in $Net::SSLeay::proxyauth,
reported by Andrey Rikov.
- Update so net-ssleay will compile if SSLV2 is not present. Patch
from Chris Butler.
- Fixed a problem where sslcat (and possibly other functions) expect RSA keys and will not
load DSA keys for client certificates. Reported and patched by "Jesse
DeFer via RT"
- Removed SSL_CTX_v2_new and SSLv2_method() for OpenSSL 1.0 and later.
- Added CTX_use_PKCS12_file contributed by "Andrew A. Budkin".
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:34:11 UTC 2010 - coolo@novell.com Wed Dec 1 13:34:11 UTC 2010 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Net-SSLeay # spec file for package perl-Net-SSLeay
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,29 +19,29 @@
%bcond_with test %bcond_with test
Name: perl-Net-SSLeay Name: perl-Net-SSLeay
Version: 1.42
Release: 0
License: OpenSSL License, Original SSLeay License
%define cpan_name Net-SSLeay %define cpan_name Net-SSLeay
Summary: Perl extension for using OpenSSL Summary: Perl extension for using OpenSSL
License: OpenSSL License, Original SSLeay License
Group: Development/Libraries/Perl
Version: 1.36
Release: 0
Url: http://search.cpan.org/dist/Net-SSLeay/ Url: http://search.cpan.org/dist/Net-SSLeay/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz #Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.gz
Patch0: %{name}-%{version}.diff Patch0: perl-Net-SSLeay-1.36.diff
Patch1: %{name}-%{version}-undefined.diff Patch1: perl-Net-SSLeay-1.36-undefined.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: openssl BuildRequires: openssl
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%if %{with test} %if %{with test}
BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Warn)
%endif %endif
# #
@ -50,29 +50,27 @@ There is a related module called Net::SSLeay::Handle included in this
distribution that you might want to use instead. It has its own pod distribution that you might want to use instead. It has its own pod
documentation. documentation.
Authors:
--------
Sampo Kellomaki <sampo@iki.fi>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%patch0 %patch0
%patch1 %patch1
# replace rest of /usr/local/bin/perl with /usr/bin/perl # replace rest of /usr/local/bin/perl with /usr/bin/perl
for f in $(find . -type f -exec grep -l "/usr/local/bin/perl" {} \; ); do for f in $(find . -type f -exec grep -l "/usr/local/bin/perl" {} \; ); do
%{__sed} -i -e "s@/usr/local/bin/perl@%{__perl}@g" $f sed -i -e "s@/usr/local/bin/perl@perl@g" $f
done done
# delete .orig files created by patches
find . -type f -name "*.orig" -delete
# fix perm # fix perm
pushd examples pushd examples
%{__chmod} 0644 *.pl chmod 0644 *.pl
popd popd
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall"
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@ -80,7 +78,7 @@ popd
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)