--- libcrypt-openssl-rsa-perl-0.25.orig/debian/control
+++ libcrypt-openssl-rsa-perl-0.25/debian/control
@@ -0,0 +1,23 @@
+Source: libcrypt-openssl-rsa-perl
+Section: perl
+Priority: optional
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Damyan Ivanov <dmn@debian.org>
+Build-Depends: debhelper (>= 5.0.60~bpo40+1+nmu1), libcrypt-openssl-random-perl, libssl-dev, quilt,
+ libcrypt-openssl-bignum-perl
+Standards-Version: 3.7.3
+Homepage: http://perl-openssl.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcrypt-openssl-rsa-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-rsa-perl/
+
+Package: libcrypt-openssl-rsa-perl
+Architecture: any
+Depends: libcrypt-openssl-bignum-perl, ${shlibs:Depends}, ${misc:Depends},
+ ${perl:Depends}
+Description: Perl module providing basic RSA functionality
+ Provides a glue to the RSA functions in the OpenSSL library. In
+ particular, it provides the following functionalities: create a key from
+ a string, make a new key, save key to a string, save public portion of
+ key to a string using format compatible with OpenSSL's command-line rsa
+ tool, encrypt, decrypt, sign, verify, return the size in bytes of a key,
+ check the validity of a key.
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/rules
+++ libcrypt-openssl-rsa-perl-0.25/debian/rules
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+#-*- makefile -*-
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Christoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
+else
+    CFLAGS += -O2
+endif
+
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$(CFLAGS)"
+	$(MAKE)
+	$(MAKE) test
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+
+	# Makefile needs to be touched here as unpatch modifies Makefile.PL
+	[ ! -e Makefile ] || ( touch Makefile && $(MAKE) realclean )
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty --verbose $(TMP)/usr/share/perl5
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/libcrypt-openssl-dsa-perl.substvars
+++ libcrypt-openssl-rsa-perl-0.25/debian/libcrypt-openssl-dsa-perl.substvars
@@ -0,0 +1,2 @@
+perl:Depends=perlapi-5.8.8, perl (>= 5.8.8-4)
+shlibs:Depends=libc6 (>= 2.3.6-6), libssl0.9.8 (>= 0.9.8a-1)
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/watch
+++ libcrypt-openssl-rsa-perl-0.25/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/Crypt-OpenSSL-RSA/  .+/Crypt-OpenSSL-RSA-v?(\d[\d._]*)\.(?:tar\.gz|tar\.bz1|tgz|zip)
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/copyright
+++ libcrypt-openssl-rsa-perl-0.25/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Luk Claes <luk@debian.org> on
+Mon, 15 May 2006 04:40:52 +0200.
+
+It was downloaded from <http://search.cpan.org/dist/Crypt-OpenSSL-RSA/>.
+
+Copyright Holder: Ian Robertson <iroberts@cpan.org>
+
+License:
+
+	Copyright (C) 2001-2005 Ian Robertson <iroberts@cpan.org>
+
+	This module is free software; you may redistribute it and/or modify it
+	under the same terms as Perl itself.
+
+	At the moment this is either
+	
+	a) the GNU General Public License as published by the Free Software
+	   Foundation; either version 1, or (at your option) any later
+	   version, or
+
+	b) the "Artistic License" which comes with Perl.
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public License
+can be found in '/usr/share/common-licenses/GPL' and the Artistic Licence in
+'/usr/share/common-licenses/Artistic'.
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/compat
+++ libcrypt-openssl-rsa-perl-0.25/debian/compat
@@ -0,0 +1 @@
+5
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/changelog
+++ libcrypt-openssl-rsa-perl-0.25/debian/changelog
@@ -0,0 +1,49 @@
+libcrypt-openssl-rsa-perl (0.25-1~bpo40+1) etch-backports; urgency=low
+
+  * Backport testing version for backports.org 
+  * Reduce dependency on debhelper to compat level 5, 
+    set build-depends on bpo version of debhelper
+
+ -- Micah Anderson <micah@debian.org>  Fri, 12 Sep 2008 16:14:55 -0600
+
+libcrypt-openssl-rsa-perl (0.25-1) unstable; urgency=low
+
+  * Take over for the Debian perl Group on maintainer's request
+
+  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
+    field (source stanza); Homepage field (source stanza).
+  * Changed Maintainer to Debian Perl Group
+  * add debian/watch
+
+  * New upstream release
+  * add myself to Uploaders
+  * Standards-Version: 3.7.3 (no changes)
+  * debhelper compatibility level 6
+  * add ${perl:Depends} to Depends. Thanks, Niko.
+  * use dist-based upstream URL in debian/copyright
+  * debian/rules: sync with dh-make-perl's template
+  * add Makefile.PL-no-ssl-in-LIBS.patch and involve quilt in the build
+    process
+  * add libcrypt-openssl-bignum-perl to Build-Depends to allow the bugnum
+    tests
+
+ -- Damyan Ivanov <dmn@debian.org>  Sun, 27 Jan 2008 22:49:22 +0200
+
+libcrypt-openssl-rsa-perl (0.24-2) unstable; urgency=high
+
+  * Add dependency on libcrypt-openssl-bignum-perl (Closes: #425744).
+
+ -- Luk Claes <luk@debian.org>  Wed, 23 May 2007 20:03:22 +0200
+
+libcrypt-openssl-rsa-perl (0.24-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luk Claes <luk@debian.org>  Sat, 21 Apr 2007 15:38:41 +0200
+
+libcrypt-openssl-rsa-perl (0.23-1) unstable; urgency=low
+
+  * Initial release (Closes: #362956).
+
+ -- Luk Claes <luk@debian.org>  Mon, 15 May 2006 04:40:52 +0200
+
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/patches/series
+++ libcrypt-openssl-rsa-perl-0.25/debian/patches/series
@@ -0,0 +1 @@
+Makefile.PL-no-ssl-in-LIBS.patch
--- libcrypt-openssl-rsa-perl-0.25.orig/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch
+++ libcrypt-openssl-rsa-perl-0.25/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch
@@ -0,0 +1,11 @@
+--- libcrypt-openssl-rsa-perl.orig/Makefile.PL
++++ libcrypt-openssl-rsa-perl/Makefile.PL
+@@ -11,7 +11,7 @@
+     'DISTNAME' => 'Crypt-OpenSSL-RSA',
+     'VERSION_FROM' => 'RSA.pm', # finds $VERSION
+     'OBJECT' => 'RSA.o',
+-    'LIBS'	=> ['-lssl -lcrypto'],   # e.g., '-lm'
++    'LIBS'	=> ['-lcrypto'],   # e.g., '-lm'
+     'PREREQ_PM' => { 'Crypt::OpenSSL::Random' => 0 },
+     'DEFINE'	=> '-DPERL5 -DOPENSSL_NO_KRB5',
+     # perl-5.8/gcc-3.2 needs -DPERL5, and redhat9 likes -DOPENSSL_NO_KRB5
