diff options
author | 2007-10-01 11:32:53 +0000 | |
---|---|---|
committer | 2007-10-01 11:32:53 +0000 | |
commit | 53f3d542614806a1316a4dc86485ca8a50388bfd (patch) | |
tree | a0af31b589bf2669ad57bee0d4d3cfc2c3e7542c | |
parent | Sparc stable --- Bug #194178 --- thanks dertobi123 for how to test. (diff) | |
download | gentoo-2-53f3d542614806a1316a4dc86485ca8a50388bfd.tar.gz gentoo-2-53f3d542614806a1316a4dc86485ca8a50388bfd.tar.bz2 gentoo-2-53f3d542614806a1316a4dc86485ca8a50388bfd.zip |
Love the ~sparc-fbsd keyword.
(Portage version: 2.1.3.11)
-rw-r--r-- | dev-libs/openssl/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-0.9.8e-bsd-sparc64.patch | 24 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.8e-r3.ebuild | 5 |
3 files changed, 32 insertions, 3 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog index 10710c36f5f7..da8030cf6606 100644 --- a/dev-libs/openssl/ChangeLog +++ b/dev-libs/openssl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/openssl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.231 2007/10/01 10:48:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.232 2007/10/01 11:32:53 uberlord Exp $ + + 01 Oct 2007; Roy Marples <uberlord@gentoo.org> + +files/openssl-0.9.8e-bsd-sparc64.patch, openssl-0.9.8e-r3.ebuild: + Love the ~sparc-fbsd keyword. 01 Oct 2007; Raúl Porcel <armin76@gentoo.org> openssl-0.9.8e-r3.ebuild: alpha/ia64/sparc stable wrt security #194039 diff --git a/dev-libs/openssl/files/openssl-0.9.8e-bsd-sparc64.patch b/dev-libs/openssl/files/openssl-0.9.8e-bsd-sparc64.patch new file mode 100644 index 000000000000..e96e906558b7 --- /dev/null +++ b/dev-libs/openssl/files/openssl-0.9.8e-bsd-sparc64.patch @@ -0,0 +1,24 @@ +diff -ur a/Configure b/Configure +--- a/Configure 2006-11-30 14:01:38 +0000 ++++ b/Configure 2007-10-01 11:18:33 +0100 +@@ -365,7 +365,7 @@ + # -DMD32_REG_T=int doesn't actually belong in sparc64 target, it + # simply *happens* to work around a compiler bug in gcc 3.3.3, + # triggered by RIPEMD160 code. +-"BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::md5-sparcv9.o::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:ULTRASPARC::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::md5-sparcv9.o::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "BSD-ia64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "BSD-x86_64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + +diff -ur a/crypto/des/Makefile b/crypto/des/Makefile +--- a/crypto/des/Makefile 2006-02-04 01:48:56 +0000 ++++ b/crypto/des/Makefile 2007-10-01 11:45:53 +0100 +@@ -62,7 +62,7 @@ + $(CC) $(CFLAGS) -o des des.o cbc3_enc.o $(LIB) + + des_enc-sparc.S: asm/des_enc.m4 +- m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S ++ m4 asm/des_enc.m4 > des_enc-sparc.S + + # ELF + dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl diff --git a/dev-libs/openssl/openssl-0.9.8e-r3.ebuild b/dev-libs/openssl/openssl-0.9.8e-r3.ebuild index ab2af8ff4bd9..d4faf3178cee 100644 --- a/dev-libs/openssl/openssl-0.9.8e-r3.ebuild +++ b/dev-libs/openssl/openssl-0.9.8e-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8e-r3.ebuild,v 1.10 2007/10/01 10:48:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8e-r3.ebuild,v 1.11 2007/10/01 11:32:53 uberlord Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -10,7 +10,7 @@ SRC_URI="mirror://openssl/source/${P}.tar.gz" LICENSE="openssl" SLOT="0" -KEYWORDS="-* alpha ~amd64 ~arm ~hppa ia64 ~m68k mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd" +KEYWORDS="-* alpha ~amd64 ~arm ~hppa ia64 ~m68k mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" IUSE="bindist emacs sse2 test zlib" RDEPEND="" @@ -37,6 +37,7 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-0.9.8e-CVE-2007-3108.patch #188799 epatch "${FILESDIR}"/${PN}-0.9.8e-CVE-2007-5135.patch #194039 epatch "${FILESDIR}"/${PN}-0.9.8e-make.patch #146316 + epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch [[ $(gcc-version) == "4.2" ]] && epatch "${FILESDIR}"/${PN}-0.9.8-gcc42.patch #158324 # allow openssl to be cross-compiled |