diff options
-rw-r--r-- | dev-libs/openssl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-0.9.6-mips.diff | 12 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6g-r1.ebuild | 10 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6g.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6i.ebuild | 8 |
5 files changed, 36 insertions, 6 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog index bf321458c860..e493b524473e 100644 --- a/dev-libs/openssl/ChangeLog +++ b/dev-libs/openssl/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for dev-libs/openssl # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.26 2003/02/12 19:09:10 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.27 2003/02/21 14:34:04 tuxus Exp $ + 21 Feb 2003; Jan Seidel <tuxus@gentoo.org> openssl-0.9.6g-r1.ebuild openssl-0.9.6i.ebuild : + added a patch for mips + 12 Feb 2003; Guy Martin <gmsoft@gentoo.org> : Added -fPIC to CFLAGS for hppa needed by many apps linking to openssl. @@ -33,6 +36,9 @@ *openssl-0.9.6g-r1 (04 Nov 2002) + 21 Feb 2003; Jan Seidel <tuxus@gentoo.org> : + Added a patch for mips + 25 Nov 2002; Nick Hadaway <raker@gentoo.org> openssl-0.9.6g-r1.ebuild : Updated ebuild so the certs directory is created. diff --git a/dev-libs/openssl/files/openssl-0.9.6-mips.diff b/dev-libs/openssl/files/openssl-0.9.6-mips.diff new file mode 100644 index 000000000000..d42871005923 --- /dev/null +++ b/dev-libs/openssl/files/openssl-0.9.6-mips.diff @@ -0,0 +1,12 @@ +diff -ur openssl-0.9.6g-orig/Configure openssl-0.9.6g/Configure +--- openssl-0.9.6g-orig/Configure 2002-08-08 23:12:40.000000000 +0200 ++++ openssl-0.9.6g/Configure 2003-02-04 15:15:02.000000000 +0100 +@@ -341,7 +341,7 @@ + "debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -m486 -Wall::-D_REENTRANT:-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", + "linux-aout", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", + "linux-mipsel", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::BN_LLONG:::", +-"linux-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown)::BN_LLONG:::", ++"linux-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + "linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT::BN_LLONG::", + "linux-s390", "gcc:-DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR),\$(SHLIB_MINOR)", diff --git a/dev-libs/openssl/openssl-0.9.6g-r1.ebuild b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild index dd71e7929f77..32be6bf88831 100644 --- a/dev-libs/openssl/openssl-0.9.6g-r1.ebuild +++ b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g-r1.ebuild,v 1.7 2003/02/13 10:48:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g-r1.ebuild,v 1.8 2003/02/21 14:34:04 tuxus Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -11,13 +11,19 @@ RDEPEND="virtual/glibc" DEPEND="${RDEPEND} >=sys-devel/perl-5" LICENSE="as-is" SLOT="0" -KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa" +KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~mips" src_unpack() { unpack ${A} ; cd ${S} patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + if [ "${ARCH}" = "mips" ] + then + cd ${S} + patch -p1 < ${FILESDIR}/openssl-0.9.6-mips.diff || die + fi + # many apps linking to openssl needs -fPIC if [ "${ARCH}" = "hppa" ] then diff --git a/dev-libs/openssl/openssl-0.9.6g.ebuild b/dev-libs/openssl/openssl-0.9.6g.ebuild index bf4bb64d1448..23e98ea5f9f8 100644 --- a/dev-libs/openssl/openssl-0.9.6g.ebuild +++ b/dev-libs/openssl/openssl-0.9.6g.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g.ebuild,v 1.12 2003/02/13 10:49:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g.ebuild,v 1.13 2003/02/21 14:34:04 tuxus Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -21,7 +21,7 @@ src_unpack() { if [ "${ARCH}" = "mips" ] then cd ${S} - patch -p1 < ${FILESDIR}/${P}-mips.diff || die + patch -p1 < ${FILESDIR}/openssl-0.9.6-mips.diff || die fi # many apps linking to openssl needs -fPIC diff --git a/dev-libs/openssl/openssl-0.9.6i.ebuild b/dev-libs/openssl/openssl-0.9.6i.ebuild index c175e22f93f6..9a837c00161f 100644 --- a/dev-libs/openssl/openssl-0.9.6i.ebuild +++ b/dev-libs/openssl/openssl-0.9.6i.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6i.ebuild,v 1.1 2003/02/20 16:25:22 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6i.ebuild,v 1.2 2003/02/21 14:34:04 tuxus Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -18,6 +18,12 @@ src_unpack() { patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + if [ "${ARCH}" = "mips" ] + then + cd ${S} + patch -p1 < ${FILESDIR}/openssl-0.9.6-mips.diff || die + fi + # many apps linking to openssl needs -fPIC if [ "${ARCH}" = "hppa" ] then |