.gear-rules | 2 + .../ecec43cc92f5f69cb88066312138b1df36711842 | 13 +++ .gear-tags/list | 1 + SSLeay.pm | 13 +--- SSLeay.xs | 1 + perl-Crypt-SSLeay.spec | 80 ++++++++++++++++++++ 6 files changed, 99 insertions(+), 11 deletions(-) diff --git a/.gear-rules b/.gear-rules new file mode 100644 index 0000000..494cae2 --- /dev/null +++ b/.gear-rules @@ -0,0 +1,2 @@ +tar: @version@:. name=Crypt-SSLeay-@version@ +diff: @version@:. . name=perl-Crypt-SSLeay-@version@-@release@.patch diff --git a/.gear-tags/ecec43cc92f5f69cb88066312138b1df36711842 b/.gear-tags/ecec43cc92f5f69cb88066312138b1df36711842 new file mode 100644 index 0000000..616351f --- /dev/null +++ b/.gear-tags/ecec43cc92f5f69cb88066312138b1df36711842 @@ -0,0 +1,13 @@ +object 4489c92ce152cb0d2fcabf5e9899f1085e8eafd0 +type commit +tag 0.58 +tagger Alexey Tourbin 1284983544 +0400 + +0.58 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.10 (GNU/Linux) + +iEYEABECAAYFAkyXSvgACgkQfBKgtDjnu0YCgQCfTVby/XvPHeE85T5rKr1YXHQ4 +Y1sAn193ZTUxopF4dBNqUKuBzklOGDrH +=ETMS +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..31fade6 --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1 @@ +ecec43cc92f5f69cb88066312138b1df36711842 0.58 diff --git a/SSLeay.pm b/SSLeay.pm index cc00c30..a00ea08 100644 --- a/SSLeay.pm +++ b/SSLeay.pm @@ -4,17 +4,8 @@ use strict; use vars '$VERSION'; $VERSION = '0.58'; -eval { - require XSLoader; - XSLoader::load('Crypt::SSLeay', $VERSION); - 1; -} -or do { - require DynaLoader; - use vars '@ISA'; # not really locally scoped, it just looks that way - @ISA = qw(DynaLoader); - bootstrap Crypt::SSLeay $VERSION; -}; +require XSLoader; +XSLoader::load(__PACKAGE__, $VERSION); use vars qw(%CIPHERS); %CIPHERS = ( diff --git a/SSLeay.xs b/SSLeay.xs index 9df9f58..2e0ec39 100644 --- a/SSLeay.xs +++ b/SSLeay.xs @@ -9,6 +9,7 @@ #ifdef __cplusplus extern "C" { #endif +#define PERL_NO_GET_CONTEXT #include "EXTERN.h" #include "perl.h" #include "XSUB.h" diff --git a/perl-Crypt-SSLeay.spec b/perl-Crypt-SSLeay.spec new file mode 100644 index 0000000..c2ba2d7 --- /dev/null +++ b/perl-Crypt-SSLeay.spec @@ -0,0 +1,80 @@ +%define dist Crypt-SSLeay +Name: perl-%dist +Version: 0.58 +Release: alt1.1 + +Summary: OpenSSL glue that provides LWP https support +License: GPL +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +# Automatically added by buildreq on Mon Sep 20 2010 +BuildRequires: libssl-devel perl-Test-Pod + +%description +This perl module provides support for the https protocol under LWP, so +that a LWP::UserAgent can make https GET & HEAD & POST requests. Please +see perldoc LWP for more information on POST requests. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%ifdef __buildreqs +mv t/02-live.t t/02-live.t.orig +%endif + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes README +%perl_vendor_archlib/Crypt +%perl_vendor_archlib/Net +%perl_vendor_autolib/Crypt + +%changelog +* Mon Oct 04 2010 Alexey Tourbin 0.58-alt1.1 +- rebuilt for perl-5.12 + +* Mon Sep 20 2010 Alexey Tourbin 0.58-alt1 +- 0.57 -> 0.58 +- built for perl-5.12 +- disabled build dependency on perl-libwww + +* Sun Aug 24 2008 Alexey Tourbin 0.57-alt2 +- rebuilt with libssl.so.7 + +* Wed Nov 14 2007 Alexey Tourbin 0.57-alt1 +- 0.56 -> 0.57 + +* Sun Aug 05 2007 Alexey Tourbin 0.56-alt1 +- 0.54 -> 0.56 + +* Wed Apr 18 2007 Alexey Tourbin 0.54-alt1 +- 0.53 -> 0.54 + +* Sun Jan 21 2007 Alexey Tourbin 0.53-alt1 +- 0.51 -> 0.53 +- adapted for git and built with gear + +* Sat Feb 19 2005 ALT QA Team Robot 0.51-alt2.1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Mon May 10 2004 ALT QA Team Robot 0.51-alt2.1 +- Rebuilt with openssl-0.9.7d. + +* Mon Oct 06 2003 Andrey Brindeew 0.51-alt2 +- Packager tag updated +- Both Summary and Description was updated +- Url tag added + +* Fri Aug 01 2003 Sir Raorn 0.51-alt1 +- Built for Sisyphus +