--- Crypt-SSLeay_0.64.orig/debian/patches/0001-fix-trailing-slash-in-proxy-issue.patch
+++ Crypt-SSLeay_0.64/debian/patches/0001-fix-trailing-slash-in-proxy-issue.patch
@@ -0,0 +1,17 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+##
+##
+
+@DPATCH@
+
+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;
+ }
+ 
--- Crypt-SSLeay_0.64.orig/debian/patches/00list
+++ Crypt-SSLeay_0.64/debian/patches/00list
@@ -0,0 +1,1 @@
+0001-fix-trailing-slash-in-proxy-issue.patch
--- Crypt-SSLeay_0.64.orig/debian/patches/nossl.patch
+++ Crypt-SSLeay_0.64/debian/patches/nossl.patch
@@ -0,0 +1,39 @@
+Description: Don't use sslv2, Ubuntu's openssl doesn't support it.
+Author: Andreas J. König
+Bug-Ubuntu: https://launchpad.net/bugs/777848
+
+--- crypt-ssleay-0.57.orig/Makefile.PL
++++ crypt-ssleay-0.57/Makefile.PL
+@@ -282,10 +282,10 @@ behind a strict firewall or have no netw
+ these tests may fail (through no fault of the code).
+ 
+ INFO
+-    my $network_tests = prompt
+-        "Do you want to run the live tests (y/N) ?",
+-        'N';
+-    print OUT "network_tests ", ($network_tests =~ /y/i) ? 1 : 0, "\n";
++#    my $network_tests = prompt
++#        "Do you want to run the live tests (y/N) ?",
++#        'N';
++    print OUT "network_tests 0\n";
+     close OUT;
+ }
+ 
+--- crypt-ssleay-0.57.orig/SSLeay.xs
++++ crypt-ssleay-0.57/SSLeay.xs
+@@ -129,9 +129,15 @@ SSL_CTX_new(packname, ssl_version)
+             ctx = SSL_CTX_new(SSLv3_client_method());
+         }
+         else {
++#ifndef OPENSSL_NO_SSL2
+             /* v2 is the default */
+             ctx = SSL_CTX_new(SSLv2_client_method());
++#else
++            /* v3 is the default */
++            ctx = SSL_CTX_new(SSLv3_client_method());
++#endif
+         }                
++
+         SSL_CTX_set_options(ctx,SSL_OP_ALL|0);
+         SSL_CTX_set_default_verify_paths(ctx);
+         SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
--- Crypt-SSLeay_0.64.orig/debian/copyright
+++ Crypt-SSLeay_0.64/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by
+Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Mon,  9 Apr 2001 12:13:56 +0200
+Stephen Zander <gibreel@debian.org>  Mon, 24 Feb 2003 06:33:56 -0800
+Noèl Köthe <noel@debian.org>  Sun, 07 Nov 2004 01:34:18 +0100
+
+It was downloaded from http://search.cpan.org/dist/Crypt-SSLeay/
+
+From the README:
+
+COPYRIGHT
+     Copyright (c) 1999-2003 Joshua Chamas.
+     Copyright (c) 1998 Gisle Aas.
+
+    This program is free software; you can redistribute it and/or modify it
+    under the same terms as Perl itself.
+
+Perl is distributed under either the Artistic licence or the GPL.
+
+The full text of the GPL is available on Debian systems in
+/usr/share/common-licenses/GPL
+
+The full text of the Artistic Licence is available on Debian systems in
+/usr/share/common-licenses/Artistic.
+
+This package has been through multiple maintainers (for a list see
+/usr/share/doc/libcrypt-ssleay-perl/changelog.Debian.gz).
+
+Current Debian specific changes are copyright (c) 2003
+Stephen Zander <gibreel@debian.org>
--- Crypt-SSLeay_0.64.orig/debian/control
+++ Crypt-SSLeay_0.64/debian/control
@@ -0,0 +1,26 @@
+Source: crypt-ssleay
+Section: perl
+Priority: optional
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Noèl Köthe <noel@debian.org>
+Standards-Version: 3.8.2
+Build-Depends: debhelper (>> 5.0.0), perl (>> 5.8.1), dpatch, cdbs, libssl-dev (>=0.9.8), openssl
+Homepage: http://search.cpan.org/dist/Crypt-SSLeay/
+
+Package: libcrypt-ssleay-perl
+Architecture: any
+Depends: ${shlibs:Depends}, ${perl:Depends}, libmime-base64-perl, liburi-perl
+Description: Support for https protocol in LWP
+ This perl module provides support for the https protocol under LWP, so
+ that an LWP::UserAgent can make https GET & HEAD & POST requests. Please
+ see perldoc LWP for more information on POST requests.
+ .
+ The Crypt::SSLeay package contains Net::SSL, which is automatically
+ loaded by LWP::Protocol::https on https requests, and provides the
+ necessary SSL glue for that module to work via these deprecated modules:
+ Crypt::SSLeay::CTX, Crypt::SSLeay::Conn and Crypt::SSLeay::X509.
+ .
+ Work on Crypt::SSLeay has been continued only to provide https support
+ for the LWP - libwww perl libraries. If you want access to the OpenSSL
+ API via perl, check out Sampo's Net::SSLeay (available in Debian as
+ the libnet-ssleay-perl package).
--- Crypt-SSLeay_0.64.orig/debian/compat
+++ Crypt-SSLeay_0.64/debian/compat
@@ -0,0 +1,1 @@
+7
--- Crypt-SSLeay_0.64.orig/debian/changelog
+++ Crypt-SSLeay_0.64/debian/changelog
@@ -0,0 +1,145 @@
+crypt-ssleay (0.64-tizen20130308) precise; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Thu, 02 Oct 2014 12:45:16 +0000
+
+crypt-ssleay (0.64) precise; urgency=low
+
+  * d/p/sslv2.patch: Add patch from Andreas J. König to disable sslv2
+    Ubuntu's Openssl disabled sslv2, making this module fail to load.
+    (LP: #777848, #935271)
+
+ -- Andreas Moog <amoog@ubuntu.com>  Mon, 27 Feb 2012 18:00:28 +0100
+
+crypt-ssleay (0.57-2build2) precise; urgency=low
+
+  * Rebuild for Perl 5.14.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 15 Nov 2011 22:07:19 +0000
+
+crypt-ssleay (0.57-2build1) oneiric; urgency=low
+
+  * Rebuild for Perl 5.12.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 09 May 2011 00:11:21 +0100
+
+crypt-ssleay (0.57-2) unstable; urgency=low
+
+  * debian/control updated Standards-Version (no changes needed)
+  * debian/control debian/compat updated compat level (lintian warning)
+  * debian/control remove URL in description because we now
+    have the Homepage:
+
+ -- Noèl Köthe <noel@debian.org>  Fri, 24 Jul 2009 10:45:37 +0200
+
+crypt-ssleay (0.57-1) unstable; urgency=low
+
+  * new upstream release from 2007-09-17
+  * debian/control updated Standards-Version
+  * debian/control added Homepage field
+  * fix debian-rules-ignores-make-clean-error lintian error
+  * added two example testscripts from the source package
+    (closes: #466055)
+
+ -- Noèl Köthe <noel@debian.org>  Sun, 23 Mar 2008 14:59:38 +0100
+
+crypt-ssleay (0.55-1) unstable; urgency=low
+
+  * new upstream release from 2007-06-01
+  * updated Standards-Version without changes
+  * corrected PWD lintian warning
+
+ -- Noèl Köthe <noel@debian.org>  Mon, 18 Jun 2007 17:10:31 +0200
+
+crypt-ssleay (0.51-5) unstable; urgency=low
+
+  * Thanks for this "we dont inform mainatiner about this NMU":(
+    Closes: #334938, #334935
+
+ -- Noèl Köthe <noel@debian.org>  Sun, 23 Oct 2005 15:33:32 +0200
+
+crypt-ssleay (0.51-4.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Use SSL_library_init() before doing anything. closes: #334938, #334935
+
+ -- Joshua Kwan <joshk@triplehelix.org>  Sat, 22 Oct 2005 23:53:44 -0700
+
+crypt-ssleay (0.51-4) unstable; urgency=low
+
+  * added missing ${shlibs:Depends}; Thanks Matej
+    (closes: Bug#333782)
+  * updated Standards-Version
+
+ -- Noèl Köthe <noel@debian.org>  Thu, 13 Oct 2005 21:51:30 +0200
+
+crypt-ssleay (0.51-3) unstable; urgency=low
+
+  * fixed typo in description
+    (closes: Bug#300000)
+
+ -- Noèl Köthe <noel@debian.org>  Thu, 24 Mar 2005 18:00:37 +0100
+
+crypt-ssleay (0.51-2) unstable; urgency=low
+
+  * new maintainer. took from qa
+    (closes: Bug#279755)
+  * added homepage to description
+
+ -- Noèl Köthe <noel@debian.org>  Sun, 07 Nov 2004 01:34:18 +0100
+
+crypt-ssleay (0.51-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Stephen Zander <gibreel@debian.org>  Tue,  2 Mar 2004 00:46:34 -0800
+
+crypt-ssleay (0.49-1) unstable; urgency=low
+
+  * New maintainer
+  * New upstream release.
+  * All NMU changes merged into CVS,
+  Closes: #99388, #102354, #162465
+
+ -- Stephen Zander <gibreel@debian.org>  Mon, 24 Feb 2003 06:33:56 -0800
+
+crypt-ssleay (0.45-1) unstable; urgency=low
+
+  * New upstream release
+  * Added Perl copyright statement (Closes: #157530)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Mon, 20 Jan 2003 21:23:58 +0100
+
+crypt-ssleay (0.29-3) unstable; urgency=low
+
+  * Applied Brendan O'Dea's patch (thanks!) which adapts to perl
+  properly and following policy (Closes: #162017, #114597)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Wed, 25 Sep 2002 11:13:04 +0200
+
+crypt-ssleay (0.29-2) unstable; urgency=low
+
+  * Added build-depends for debhelper (Closes: #111982)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Tue, 11 Sep 2001 23:35:17 +0200
+
+crypt-ssleay (0.29-1) unstable; urgency=low
+
+  * New upstream release (Closes: #99388, #102354)
+  * Fixed lintian problems.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Sun,  9 Sep 2001 03:11:04 +0200
+
+crypt-ssleay (0.23-2) unstable; urgency=low
+
+  * Fixed dependancies (Closes: #95546, #108214)
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Sat, 11 Aug 2001 12:46:02 +0200
+
+crypt-ssleay (0.23-1) unstable; urgency=low
+
+  * Initial Release.
+  * (Almost) Lintian clean, don't know how to fix the only warning given, though.
+
+ -- Javier Fernandez-Sanguino Pen~a <jfs@computer.org>  Mon,  9 Apr 2001 12:13:56 +0200
--- Crypt-SSLeay_0.64.orig/debian/docs
+++ Crypt-SSLeay_0.64/debian/docs
@@ -0,0 +1,2 @@
+README
+eg/*
--- Crypt-SSLeay_0.64.orig/debian/rules
+++ Crypt-SSLeay_0.64/debian/rules
@@ -0,0 +1,68 @@
+#! /usr/bin/make -f
+# -*-makefile-*-
+# debian/rules file for libcrypt-ssleay-perl
+include /usr/share/dpatch/dpatch.make
+
+PERL	?= /usr/bin/perl
+
+package	:= $(firstword $(shell dh_listpackages))
+prefix	:= $(CURDIR)/debian/$(package)/usr
+
+cflags  := -g -Wall
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+cflags  += -O2
+else
+cflags  += -O0
+endif
+
+export CFLAGS=$(cflags)
+export CXXFLAGS=$(cflags)
+
+version	:= $(shell dpkg-parsechangelog | \
+			sed -ne 's/^Version: *\([0-9]\+:\)*//p')
+
+tag:
+	cvs tag -c -F $(subst .,_,debian_version_$(version))
+ifeq ($(findstring -,$(version)),)
+	cvs tag -c -F $(subst .,_,upstream_version_$(version))
+endif
+
+build:	build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+	$(PERL) ./Makefile.PL --default INSTALLDIRS=vendor PERL=$(PERL)
+	$(MAKE) LD_RUN_PATH= 	
+	touch $@
+
+clean:	checkroot
+	rm -f build-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean
+
+binary-indep:	checkroot build
+
+binary-arch:	checkroot build
+	dh_clean
+	dh_installdirs
+
+	$(MAKE) pure_install PREFIX=$(prefix)
+
+	dh_installchangelogs Changes
+
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_perl 
+	dh_shlibdeps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary:	binary-indep binary-arch
+
+checkroot:
+	dh_testdir
+	dh_testroot
+
+.PHONY:	binary binary-arch binary-indep clean checkroot build
