summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Crypt-SSLeay')
-rw-r--r--dev-perl/Crypt-SSLeay/ChangeLog8
-rw-r--r--dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild35
-rw-r--r--dev-perl/Crypt-SSLeay/files/digest-Crypt-SSLeay-0.51-r13
-rw-r--r--dev-perl/Crypt-SSLeay/files/rt-15241.patch11
4 files changed, 56 insertions, 1 deletions
diff --git a/dev-perl/Crypt-SSLeay/ChangeLog b/dev-perl/Crypt-SSLeay/ChangeLog
index 982eaa04fcd7..48d059d27ed6 100644
--- a/dev-perl/Crypt-SSLeay/ChangeLog
+++ b/dev-perl/Crypt-SSLeay/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/Crypt-SSLeay
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-SSLeay/ChangeLog,v 1.30 2006/07/04 07:06:09 ian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-SSLeay/ChangeLog,v 1.31 2006/09/08 20:24:31 ian Exp $
+
+*Crypt-SSLeay-0.51-r1 (08 Sep 2006)
+
+ 08 Sep 2006; Christian Hartmann <ian@gentoo.org> +files/rt-15241.patch,
+ +Crypt-SSLeay-0.51-r1.ebuild:
+ Fixed bug #142703
04 Jul 2006; Christian Hartmann <ian@gentoo.org> Crypt-SSLeay-0.49.ebuild,
Crypt-SSLeay-0.51.ebuild:
diff --git a/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild
new file mode 100644
index 000000000000..e9547646afa3
--- /dev/null
+++ b/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-SSLeay/Crypt-SSLeay-0.51-r1.ebuild,v 1.1 2006/09/08 20:24:31 ian Exp $
+
+inherit perl-module
+
+DESCRIPTION="Crypt::SSLeay module for perl"
+SRC_URI="mirror://cpan/authors/id/C/CH/CHAMAS/${P}.tar.gz"
+HOMEPAGE="http://search.cpan.org/~chamas/${P}/"
+IUSE=""
+SLOT="0"
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+# Disabling tests for now. Opening a port always leads to mixed results for
+# folks - bug 59554
+#SRC_TEST="do"
+
+DEPEND="virtual/libc
+ >=dev-lang/perl-5
+ dev-perl/libwww-perl
+ >=dev-libs/openssl-0.9.7c"
+RDEPEND="${DEPEND}"
+
+export OPTIMIZE="${CFLAGS}"
+myconf="${myconf} /usr"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Without the SSL_library_init() before you will get a segfault with
+ # openssl 0.9.8a and later versions - bug 142703
+ epatch ${FILESDIR}/rt-15241.patch
+}
diff --git a/dev-perl/Crypt-SSLeay/files/digest-Crypt-SSLeay-0.51-r1 b/dev-perl/Crypt-SSLeay/files/digest-Crypt-SSLeay-0.51-r1
new file mode 100644
index 000000000000..ab9ad3c904a3
--- /dev/null
+++ b/dev-perl/Crypt-SSLeay/files/digest-Crypt-SSLeay-0.51-r1
@@ -0,0 +1,3 @@
+MD5 e276fd3970d573139fe56695a7b747bd Crypt-SSLeay-0.51.tar.gz 117555
+RMD160 963ee2616742b3983a06eaee3059aafa9b866e0a Crypt-SSLeay-0.51.tar.gz 117555
+SHA256 276959cafb2c41e9255fe3e02f68066e671ec78a4b2d70c8ad8183174aad1c8a Crypt-SSLeay-0.51.tar.gz 117555
diff --git a/dev-perl/Crypt-SSLeay/files/rt-15241.patch b/dev-perl/Crypt-SSLeay/files/rt-15241.patch
new file mode 100644
index 000000000000..d6cb9527b153
--- /dev/null
+++ b/dev-perl/Crypt-SSLeay/files/rt-15241.patch
@@ -0,0 +1,11 @@
+--- Crypt-SSLeay-0.51.orig/SSLeay.xs 2003-05-28 02:55:02.000000000 -0400
++++ Crypt-SSLeay-0.51/SSLeay.xs 2006-09-01 16:21:33.000000000 -0400
+@@ -106,6 +106,8 @@
+ char buf[1024];
+ int rand_bytes_read;
+
++ SSL_library_init();
++
+ if(!bNotFirstTime) {
+ SSLeay_add_all_algorithms();
+ SSL_load_error_strings();