1
0

Accepting request 105370 from devel:languages:perl

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/105370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-SSLeay?expand=0&rev=14
This commit is contained in:
Stephan Kulow 2012-02-17 11:08:02 +00:00 committed by Git OBS Bridge
commit bfbe6b7549
4 changed files with 72 additions and 27 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

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Net-SSLeay (Version 1.36)
# spec file for package perl-Net-SSLeay
#
# Copyright (c) 2010 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
# remain the property of their copyright owners, unless otherwise agreed
@ -15,33 +15,33 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with test
Name: perl-Net-SSLeay
Version: 1.42
Release: 0
License: OpenSSL License, Original SSLeay License
%define cpan_name Net-SSLeay
Summary: Perl extension for using OpenSSL
Version: 1.36
Release: 7
License: OpenSSL License, Original SSLeay License
Group: Development/Libraries/Perl
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: %{cpan_name}-%{version}.tar.bz2
Patch0: %{name}-%{version}.diff
Patch1: %{name}-%{version}-undefined.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: openssl openssl-devel
Source: %{cpan_name}-%{version}.tar.gz
Patch0: perl-Net-SSLeay-1.36.diff
Patch1: perl-Net-SSLeay-1.36-undefined.diff
BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%if %{with test}
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Warn)
%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
documentation.
Authors:
--------
Sampo Kellomaki <sampo@iki.fi>
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
%patch1
# 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
%{__sed} -i -e "s@/usr/local/bin/perl@%{__perl}@g" $f
sed -i -e "s@/usr/local/bin/perl@perl@g" $f
done
# delete .orig files created by patches
find . -type f -name "*.orig" -delete
# fix perm
pushd examples
%{__chmod} 0644 *.pl
chmod 0644 *.pl
popd
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -Wall"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@ -80,7 +78,7 @@ popd
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)