# # spec file for package perl-Net-SSLeay (Version 1.35) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Net-SSLeay BuildRequires: openssl openssl-devel perl-Test-Exception Version: 1.35 Release: 2 Provides: p_ssleay perl-Net_SSLeay = %{version} Obsoletes: p_ssleay perl-Net_SSLeay < %{version} Requires: perl = %{perl_version} AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License Url: http://cpan.org/modules/by-module/Net Summary: Net::SSLeay Perl Module Source: Net-SSLeay-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff Patch1: %{name}-%{version}-undefined.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Net::SSLeay Perl module for using OpenSSL. Authors: -------- Sampo Kellomaki %prep %setup -q -n Net-SSLeay-%{version} %patch0 %patch1 %build # 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 -e s@/usr/local/bin/perl@/usr/bin/perl@g $f > $f.tmp mv $f.tmp $f done perl Makefile.PL -- OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %check make test %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes Credits QuickRef README examples %doc %{_mandir}/man?/* %{perl_vendorarch}/Net %{perl_vendorarch}/auto/Net /var/adm/perl-modules/%{name} %changelog * Fri Jul 25 2008 anicka@suse.cz - update to 1.35 * Added optional support for SSL_set_hello_extension, * Added SSL_SESSION_set_master_key and SSL_get_keyblock_size. * Added all SSL_OP_* options flags present in 0.9.9 * Don't use Module::Installs auto_install. * Bind NID_ and GEN_ constants. * Default to not running external tests. * Added support for ENGINE_load_builtin_engines and ENGINE_register_all_complete in order to enable built-in OpenSSL crypto engines for hardware acceleration etc. * Added support for ENGINE_by_id and ENGINE_set_default, required to enable Sun crypto acceleration - enable all the test again (external are not running by default) - rename to perl-Net-SSLeay * Wed May 14 2008 adrian@suse.de - do not contact remote servers during build, disable check * Wed Mar 12 2008 anicka@suse.cz - update to 1.32 * Removed %%Filenum_Objects from Net::SSLeay::Handle so unused handles will be freed. * Use ppport.h. * improved openssl path guessing, forcing openssl path now * Fixed a problem with X509_get_subjectAltNames not working when the subjectAltNAmes are the first extension. * Fixed incorrect test failure reports in 08_external. * Add parens to function calls in Makefile.PL to prevent warnings with some perls. * Removed auto_include from Makefile.PL * Removed build_requires('Test::NoWarnings') from Makefile.PL * Don't let the tests die when something unexpected happens. - fix undefined operation in SSLeay.xs - add perl-Test-Warn to BuildRequires * Mon May 07 2007 anicka@suse.cz - add openssl to BuildRequires * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 03 2006 anicka@suse.cz - update to 1.30 - remove X509_STORE_CTX_set_flags patch (not neccessary any more) * Thu Mar 17 2005 mjancar@suse.cz - use secure path for entropy (#65753) * Wed Sep 29 2004 mls@suse.de - added X509_STORE_CTX_set_flags() function needed to enable crl checking. Also fixed the documentation. * Wed Mar 03 2004 mjancar@suse.cz - update to 1.25 - disable test running out of memmory in build environment * Sun Jan 11 2004 adrian@suse.de - build as user * Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with * Tue Jul 15 2003 mjancar@suse.cz - adapt to perl-5.8.1 - use %%perl_process_packlist * Tue Jun 17 2003 mjancar@suse.cz - update to 1.23 - kill obsolete patches - fix filelist * Fri Jun 06 2003 mjancar@suse.cz - update to 1.22 - use $RPM_OPT_FLAGS - don't package MANIFEST * Tue May 20 2003 mjancar@suse.cz - remove unpackaged files * Thu Nov 21 2002 prehak@suse.cz - updated to version 1.21 - applied patches eliminating security bug [#21903] * Thu Sep 12 2002 prehak@suse.cz - updated to version 1.20 - fixed hanged up processes in test -> enabled make test * Sat Jul 20 2002 prehak@suse.cz - update to version 1.18 - adjusted %%files section - added examples directory to documentation * Tue Jul 02 2002 mls@suse.de - remove race in .packlist generation * Mon Jan 14 2002 rvasice@suse.cz - update to version 1.12 - spec file cleanup * Thu Oct 11 2001 cihlar@suse.cz - disabled make test as it leaves processes after build * Wed Apr 04 2001 schwab@suse.de - Fix cast to not lose pointer bits. * Mon Mar 26 2001 cihlar@suse.cz - fixed AUTOLOAD - added make test - remove tests which need network * Thu Nov 23 2000 cihlar@suse.cz - fixed neededforbuild * Fri Nov 10 2000 cihlar@suse.cz - renamed p_ssleay -> perl-Net_SSLeay * Wed Aug 23 2000 cihlar@suse.cz - package created