summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-09-15 16:35:41 +0000
committerMike Frysinger <vapier@gentoo.org>2011-09-15 16:35:41 +0000
commitacba357138d56716fd12e63e1fcf5529c956cca6 (patch)
tree4699445cb43247824ad4bdb7a2c396f9e8c4d246 /dev-libs/openssl
parentNew package app-text/landslide-1.0.0 (diff)
downloadgentoo-2-acba357138d56716fd12e63e1fcf5529c956cca6.tar.gz
gentoo-2-acba357138d56716fd12e63e1fcf5529c956cca6.tar.bz2
gentoo-2-acba357138d56716fd12e63e1fcf5529c956cca6.zip
Drop gas patch since upstream worked around it in a different way (by updating the x86_64-xlate.pl helper).
(Portage version: 2.2.0_alpha58/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/ChangeLog8
-rw-r--r--dev-libs/openssl/files/openssl-0.9.8l-binutils.patch67
-rw-r--r--dev-libs/openssl/openssl-1.0.0d.ebuild3
-rw-r--r--dev-libs/openssl/openssl-1.0.0e.ebuild3
4 files changed, 9 insertions, 72 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog
index 89a472be60d6..0652ad92e1af 100644
--- a/dev-libs/openssl/ChangeLog
+++ b/dev-libs/openssl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/openssl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.405 2011/09/12 15:32:18 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.406 2011/09/15 16:35:41 vapier Exp $
+
+ 15 Sep 2011; Mike Frysinger <vapier@gentoo.org>
+ -files/openssl-0.9.8l-binutils.patch, openssl-1.0.0d.ebuild,
+ openssl-1.0.0e.ebuild:
+ Drop gas patch since upstream worked around it in a different way (by
+ updating the x86_64-xlate.pl helper).
12 Sep 2011; Kacper Kowalik <xarthisius@gentoo.org> openssl-1.0.0e.ebuild:
ppc/ppc64 stable wrt #382069
diff --git a/dev-libs/openssl/files/openssl-0.9.8l-binutils.patch b/dev-libs/openssl/files/openssl-0.9.8l-binutils.patch
deleted file mode 100644
index d1bb7754f5b1..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.8l-binutils.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-fix from upstream for building with newer binutils
-
-http://bugs.gentoo.org/289130
-
-Index: crypto/md5/asm/md5-x86_64.pl
-===================================================================
-RCS file: /usr/local/src/openssl/CVSROOT/openssl/crypto/md5/asm/md5-x86_64.pl,v
-retrieving revision 1.2.2.1
-retrieving revision 1.2.2.2
-diff -u -p -r1.2.2.1 -r1.2.2.2
---- openssl/crypto/md5/asm/md5-x86_64.pl 11 Nov 2007 13:34:06 -0000 1.2.2.1
-+++ openssl/crypto/md5/asm/md5-x86_64.pl 13 Nov 2009 14:14:46 -0000 1.2.2.2
-@@ -19,6 +19,7 @@ my $code;
- sub round1_step
- {
- my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
-+ $T_i = unpack("l",pack("l", hex($T_i))); # convert to 32-bit signed decimal
- $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1);
- $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1);
- $code .= <<EOF;
-@@ -42,6 +43,7 @@ EOF
- sub round2_step
- {
- my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
-+ $T_i = unpack("l",pack("l", hex($T_i))); # convert to 32-bit signed decimal
- $code .= " mov 1*4(%rsi), %r10d /* (NEXT STEP) X[1] */\n" if ($pos == -1);
- $code .= " mov %ecx, %r11d /* (NEXT STEP) y' = %ecx */\n" if ($pos == -1);
- $code .= <<EOF;
-@@ -65,6 +67,7 @@ EOF
- sub round3_step
- {
- my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
-+ $T_i = unpack("l",pack("l", hex($T_i))); # convert to 32-bit signed decimal
- $code .= " mov 5*4(%rsi), %r10d /* (NEXT STEP) X[5] */\n" if ($pos == -1);
- $code .= " mov %ecx, %r11d /* (NEXT STEP) y' = %ecx */\n" if ($pos == -1);
- $code .= <<EOF;
-@@ -87,6 +90,7 @@ EOF
- sub round4_step
- {
- my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_;
-+ $T_i = unpack("l",pack("l", hex($T_i))); # convert to 32-bit signed decimal
- $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1);
- $code .= " mov \$0xffffffff, %r11d\n" if ($pos == -1);
- $code .= " xor %edx, %r11d /* (NEXT STEP) not z' = not %edx*/\n"
-
-Ripped from Fedora
-
---- openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl.binutils 2009-11-12 15:17:29.000000000 +0100
-+++ openssl-1.0.0-beta4/crypto/sha/asm/sha1-x86_64.pl 2009-11-12 17:24:18.000000000 +0100
-@@ -150,7 +150,7 @@ ___
- sub BODY_20_39 {
- my ($i,$a,$b,$c,$d,$e,$f)=@_;
- my $j=$i+1;
--my $K=($i<40)?0x6ed9eba1:0xca62c1d6;
-+my $K=($i<40)?0x6ed9eba1:-0x359d3e2a;
- $code.=<<___ if ($i<79);
- lea $K($xi,$e),$f
- mov `4*($j%16)`(%rsp),$xi
-@@ -187,7 +187,7 @@ sub BODY_40_59 {
- my ($i,$a,$b,$c,$d,$e,$f)=@_;
- my $j=$i+1;
- $code.=<<___;
-- lea 0x8f1bbcdc($xi,$e),$f
-+ lea -0x70e44324($xi,$e),$f
- mov `4*($j%16)`(%rsp),$xi
- mov $b,$t0
- mov $b,$t1
diff --git a/dev-libs/openssl/openssl-1.0.0d.ebuild b/dev-libs/openssl/openssl-1.0.0d.ebuild
index c51b8214a298..c410f1c23689 100644
--- a/dev-libs/openssl/openssl-1.0.0d.ebuild
+++ b/dev-libs/openssl/openssl-1.0.0d.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.0d.ebuild,v 1.14 2011/08/12 19:35:30 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.0d.ebuild,v 1.15 2011/09/15 16:35:41 vapier Exp $
EAPI="2"
@@ -32,7 +32,6 @@ src_unpack() {
}
src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.8l-binutils.patch #289130
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
epatch "${FILESDIR}"/${PN}-1.0.0d-alpha-typo.patch #364699
epatch "${FILESDIR}"/${PN}-1.0.0d-fbsd-amd64.patch #363089
diff --git a/dev-libs/openssl/openssl-1.0.0e.ebuild b/dev-libs/openssl/openssl-1.0.0e.ebuild
index 7a75c9b8628a..baf2a8e885d9 100644
--- a/dev-libs/openssl/openssl-1.0.0e.ebuild
+++ b/dev-libs/openssl/openssl-1.0.0e.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.0e.ebuild,v 1.5 2011/09/12 15:32:18 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.0e.ebuild,v 1.6 2011/09/15 16:35:41 vapier Exp $
EAPI="2"
@@ -32,7 +32,6 @@ src_unpack() {
}
src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.8l-binutils.patch #289130
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
epatch "${FILESDIR}"/${PN}-1.0.0d-fbsd-amd64.patch #363089
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743