+++ /dev/null
-diff -uNr Crypt-SSLeay-0.60/lib/Net/SSL.pm Crypt-SSLeay-0.60.new/lib/Net/SSL.pm
---- Crypt-SSLeay-0.60/lib/Net/SSL.pm 2012-07-30 04:26:40.000000000 +0800
-+++ Crypt-SSLeay-0.60.new/lib/Net/SSL.pm 2012-10-19 09:58:20.655300008 +0800
-@@ -420,6 +420,7 @@
- }
-
- $proxy_server =~ s|\Ahttps?://||i;
-+ $proxy_server =~ s|/+$||;
- $proxy_server;
- }
-
+++ /dev/null
-diff -uNr Crypt-SSLeay-0.64/SSLeay.xs Crypt-SSLeay-0.64.new/SSLeay.xs
---- Crypt-SSLeay-0.64/SSLeay.xs 2012-08-05 18:41:30.000000000 -0400
-+++ Crypt-SSLeay-0.64.new/SSLeay.xs 2013-03-08 19:50:04.537023225 -0500
-@@ -9,15 +9,6 @@
- #ifdef __cplusplus
- extern "C" {
- #endif
--#include "EXTERN.h"
--#include "perl.h"
--
--/* CRYPT_SSLEAY_free() will not be #defined to be free() now that we're no
-- * longer supporting pre-2000 OpenSSL.
--#define NO_XSLOCKS
--*/
--
--#include "XSUB.h"
-
- /* build problem under openssl 0.9.6 and some builds of perl 5.8.x */
- #ifndef PERL5
-@@ -41,6 +32,16 @@
- #define CRYPT_SSLEAY_free OPENSSL_free
-
- #undef Free /* undo namespace pollution from crypto.h */
-+#include "EXTERN.h"
-+#include "perl.h"
-+
-+/* CRYPT_SSLEAY_free() will not be #defined to be free() now that we're no
-+ * longer supporting pre-2000 OpenSSL.
-+#define NO_XSLOCKS
-+*/
-+
-+#include "XSUB.h"
-+
- #ifdef __cplusplus
- }
- #endif
License: GPL+ or Artistic
Group: Development/Libraries
Source0: Crypt-SSLeay_0.64.tar.gz
-Patch1: perl-Crypt-SSLeay-cryptdef.patch
-Patch2: 0001-fix-trailing-slash-in-proxy-issue.patch
URL: http://search.cpan.org/dist/Crypt-SSLeay/
%if 0%{?suse_version}
Vendor: openSUSE
%prep
%setup -q -n Crypt-SSLeay-0.64
-%patch1 -p1 -b .cryptdef
-%patch2 -p1
# Fix line endings
perl -pi -e 's/\r$//' README