summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-03 02:46:02 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-03 02:46:02 +0000
commite0d3071b9f39706884327535edcae97b842c8d11 (patch)
treece91cea6de6dbda6eba8ebb4907b733abc08e9d1 /dev-libs
parent#27358 (diff)
downloadgentoo-2-e0d3071b9f39706884327535edcae97b842c8d11.tar.gz
gentoo-2-e0d3071b9f39706884327535edcae97b842c8d11.tar.bz2
gentoo-2-e0d3071b9f39706884327535edcae97b842c8d11.zip
old
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.6i1
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.6i-r11
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.7a1
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.7a-r11
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.7a-r21
-rw-r--r--dev-libs/openssl/files/openssl-0.9.6g-gentoo.diff49
-rw-r--r--dev-libs/openssl/files/openssl-0.9.6g-r1-gentoo.diff48
-rw-r--r--dev-libs/openssl/files/openssl-0.9.6h-gentoo.diff48
-rw-r--r--dev-libs/openssl/files/openssl-0.9.7-gentoo.diff32
-rw-r--r--dev-libs/openssl/files/openssl-0.9.7a-blinding.patch67
-rw-r--r--dev-libs/openssl/files/openssl-0.9.7a-klima_pokorny_rosa_attack.patch53
-rw-r--r--dev-libs/openssl/openssl-0.9.6i-r1.ebuild85
-rw-r--r--dev-libs/openssl/openssl-0.9.6i.ebuild83
-rw-r--r--dev-libs/openssl/openssl-0.9.7a-r1.ebuild78
-rw-r--r--dev-libs/openssl/openssl-0.9.7a-r2.ebuild79
-rw-r--r--dev-libs/openssl/openssl-0.9.7a.ebuild75
16 files changed, 0 insertions, 702 deletions
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.6i b/dev-libs/openssl/files/digest-openssl-0.9.6i
deleted file mode 100644
index 145478a9699f..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.6i
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9c4db437c17e0b6412c5e4645b6fcf5c openssl-0.9.6i.tar.gz 2179559
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.6i-r1 b/dev-libs/openssl/files/digest-openssl-0.9.6i-r1
deleted file mode 100644
index 145478a9699f..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.6i-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9c4db437c17e0b6412c5e4645b6fcf5c openssl-0.9.6i.tar.gz 2179559
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7a b/dev-libs/openssl/files/digest-openssl-0.9.7a
deleted file mode 100644
index 60ac183e3e6d..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.7a
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a0d3203ecf10989fdc61c784ae82e531 openssl-0.9.7a.tar.gz 2776582
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7a-r1 b/dev-libs/openssl/files/digest-openssl-0.9.7a-r1
deleted file mode 100644
index 60ac183e3e6d..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.7a-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a0d3203ecf10989fdc61c784ae82e531 openssl-0.9.7a.tar.gz 2776582
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7a-r2 b/dev-libs/openssl/files/digest-openssl-0.9.7a-r2
deleted file mode 100644
index 60ac183e3e6d..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.7a-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a0d3203ecf10989fdc61c784ae82e531 openssl-0.9.7a.tar.gz 2776582
diff --git a/dev-libs/openssl/files/openssl-0.9.6g-gentoo.diff b/dev-libs/openssl/files/openssl-0.9.6g-gentoo.diff
deleted file mode 100644
index e1091cfd8f2d..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.6g-gentoo.diff
+++ /dev/null
@@ -1,49 +0,0 @@
-diff -r -c -C 2 openssl-0.9.6g-orig/crypto/des/fcrypt.c openssl-0.9.6g/crypto/des/fcrypt.c
-*** openssl-0.9.6g-orig/crypto/des/fcrypt.c Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/crypto/des/fcrypt.c Thu Sep 26 15:21:24 2002
-***************
-*** 62,66 ****
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN)
- char *crypt(const char *buf, const char *salt)
- {
---- 62,66 ----
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN) && !defined(__GLIBC__)
- char *crypt(const char *buf, const char *salt)
- {
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile
-*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile.ssl openssl-0.9.6g/test/Makefile.ssl
-*** openssl-0.9.6g-orig/test/Makefile.ssl Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile.ssl Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
-
diff --git a/dev-libs/openssl/files/openssl-0.9.6g-r1-gentoo.diff b/dev-libs/openssl/files/openssl-0.9.6g-r1-gentoo.diff
deleted file mode 100644
index 4a1632f50a4f..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.6g-r1-gentoo.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -r -c -C 2 openssl-0.9.6g-orig/crypto/des/fcrypt.c openssl-0.9.6g/crypto/des/fcrypt.c
-*** openssl-0.9.6g-orig/crypto/des/fcrypt.c Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/crypto/des/fcrypt.c Thu Sep 26 15:21:24 2002
-***************
-*** 62,66 ****
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN)
- char *crypt(const char *buf, const char *salt)
- {
---- 62,66 ----
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN) && !defined(__GLIBC__)
- char *crypt(const char *buf, const char *salt)
- {
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile
-*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile.ssl openssl-0.9.6g/test/Makefile.ssl
-*** openssl-0.9.6g-orig/test/Makefile.ssl Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile.ssl Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
diff --git a/dev-libs/openssl/files/openssl-0.9.6h-gentoo.diff b/dev-libs/openssl/files/openssl-0.9.6h-gentoo.diff
deleted file mode 100644
index 4a1632f50a4f..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.6h-gentoo.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -r -c -C 2 openssl-0.9.6g-orig/crypto/des/fcrypt.c openssl-0.9.6g/crypto/des/fcrypt.c
-*** openssl-0.9.6g-orig/crypto/des/fcrypt.c Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/crypto/des/fcrypt.c Thu Sep 26 15:21:24 2002
-***************
-*** 62,66 ****
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN)
- char *crypt(const char *buf, const char *salt)
- {
---- 62,66 ----
- DES_LONG Eswap0, DES_LONG Eswap1);
-
-! #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(_DARWIN) && !defined(__GLIBC__)
- char *crypt(const char *buf, const char *salt)
- {
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile
-*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile.ssl openssl-0.9.6g/test/Makefile.ssl
-*** openssl-0.9.6g-orig/test/Makefile.ssl Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile.ssl Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
diff --git a/dev-libs/openssl/files/openssl-0.9.7-gentoo.diff b/dev-libs/openssl/files/openssl-0.9.7-gentoo.diff
deleted file mode 100644
index 501a946d7b2c..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.7-gentoo.diff
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile
-*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
-diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile.ssl openssl-0.9.6g/test/Makefile.ssl
-*** openssl-0.9.6g-orig/test/Makefile.ssl Thu Sep 26 15:20:47 2002
---- openssl-0.9.6g/test/Makefile.ssl Thu Sep 26 15:23:26 2002
-***************
-*** 28,32 ****
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto
- LIBSSL= -L.. -lssl
-
---- 28,32 ----
- DLIBCRYPTO= ../libcrypto.a
- DLIBSSL= ../libssl.a
-! LIBCRYPTO= -L.. -lcrypto -lcrypt
- LIBSSL= -L.. -lssl
-
diff --git a/dev-libs/openssl/files/openssl-0.9.7a-blinding.patch b/dev-libs/openssl/files/openssl-0.9.7a-blinding.patch
deleted file mode 100644
index 299ba83592fb..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.7a-blinding.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- crypto/rsa/rsa_eay.c 30 Jan 2003 17:37:46 -0000 1.28.2.3
-+++ crypto/rsa/rsa_eay.c 16 Mar 2003 10:34:13 -0000
-@@ -195,6 +195,25 @@
- return(r);
- }
-
-+static int rsa_eay_blinding(RSA *rsa, BN_CTX *ctx)
-+ {
-+ int ret = 1;
-+ CRYPTO_w_lock(CRYPTO_LOCK_RSA);
-+ /* Check again inside the lock - the macro's check is racey */
-+ if(rsa->blinding == NULL)
-+ ret = RSA_blinding_on(rsa, ctx);
-+ CRYPTO_w_unlock(CRYPTO_LOCK_RSA);
-+ return ret;
-+ }
-+
-+#define BLINDING_HELPER(rsa, ctx, err_instr) \
-+ do { \
-+ if(((rsa)->flags & RSA_FLAG_BLINDING) && \
-+ ((rsa)->blinding == NULL) && \
-+ !rsa_eay_blinding(rsa, ctx)) \
-+ err_instr \
-+ } while(0)
-+
- /* signing */
- static int RSA_eay_private_encrypt(int flen, const unsigned char *from,
- unsigned char *to, RSA *rsa, int padding)
-@@ -239,8 +258,8 @@
- goto err;
- }
-
-- if ((rsa->flags & RSA_FLAG_BLINDING) && (rsa->blinding == NULL))
-- RSA_blinding_on(rsa,ctx);
-+ BLINDING_HELPER(rsa, ctx, goto err;);
-+
- if (rsa->flags & RSA_FLAG_BLINDING)
- if (!BN_BLINDING_convert(&f,rsa->blinding,ctx)) goto err;
-
-@@ -318,8 +337,8 @@
- goto err;
- }
-
-- if ((rsa->flags & RSA_FLAG_BLINDING) && (rsa->blinding == NULL))
-- RSA_blinding_on(rsa,ctx);
-+ BLINDING_HELPER(rsa, ctx, goto err;);
-+
- if (rsa->flags & RSA_FLAG_BLINDING)
- if (!BN_BLINDING_convert(&f,rsa->blinding,ctx)) goto err;
-
---- crypto/rsa/rsa_lib.c 30 Jan 2003 17:37:46 -0000 1.30.2.2
-+++ crypto/rsa/rsa_lib.c 16 Mar 2003 10:34:13 -0000
-@@ -72,7 +72,13 @@
-
- RSA *RSA_new(void)
- {
-- return(RSA_new_method(NULL));
-+ RSA *r=RSA_new_method(NULL);
-+
-+#ifndef OPENSSL_NO_FORCE_RSA_BLINDING
-+ r->flags|=RSA_FLAG_BLINDING;
-+#endif
-+
-+ return r;
- }
-
- void RSA_set_default_method(const RSA_METHOD *meth)
diff --git a/dev-libs/openssl/files/openssl-0.9.7a-klima_pokorny_rosa_attack.patch b/dev-libs/openssl/files/openssl-0.9.7a-klima_pokorny_rosa_attack.patch
deleted file mode 100644
index d43c9a090a72..000000000000
--- a/dev-libs/openssl/files/openssl-0.9.7a-klima_pokorny_rosa_attack.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- ssl/s3_srvr.c 29 Nov 2002 11:31:51 -0000 1.85.2.14
-+++ ssl/s3_srvr.c 19 Mar 2003 18:00:00 -0000
-@@ -1447,7 +1447,7 @@
- if (i != SSL_MAX_MASTER_KEY_LENGTH)
- {
- al=SSL_AD_DECODE_ERROR;
-- SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_RSA_DECRYPT);
-+ /* SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_RSA_DECRYPT); */
- }
-
- if ((al == -1) && !((p[0] == (s->client_version>>8)) && (p[1] == (s->client_version & 0xff))))
-@@ -1463,30 +1463,29 @@
- (p[0] == (s->version>>8)) && (p[1] == (s->version & 0xff))))
- {
- al=SSL_AD_DECODE_ERROR;
-- SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_PROTOCOL_VERSION_NUMBER);
-- goto f_err;
-+ /* SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_PROTOCOL_VERSION_NUMBER); */
-+
-+ /* The Klima-Pokorny-Rosa extension of Bleichenbacher's attack
-+ * (http://eprint.iacr.org/2003/052/) exploits the version
-+ * number check as a "bad version oracle" -- an alert would
-+ * reveal that the plaintext corresponding to some ciphertext
-+ * made up by the adversary is properly formatted except
-+ * that the version number is wrong. To avoid such attacks,
-+ * we should treat this just like any other decryption error. */
-+ p[0] = (char)(int) "CAN-2003-0131 patch 2003-03-19";
- }
- }
-
- if (al != -1)
- {
--#if 0
-- goto f_err;
--#else
- /* Some decryption failure -- use random value instead as countermeasure
- * against Bleichenbacher's attack on PKCS #1 v1.5 RSA padding
-- * (see RFC 2246, section 7.4.7.1).
-- * But note that due to length and protocol version checking, the
-- * attack is impractical anyway (see section 5 in D. Bleichenbacher:
-- * "Chosen Ciphertext Attacks Against Protocols Based on the RSA
-- * Encryption Standard PKCS #1", CRYPTO '98, LNCS 1462, pp. 1-12).
-- */
-+ * (see RFC 2246, section 7.4.7.1). */
- ERR_clear_error();
- i = SSL_MAX_MASTER_KEY_LENGTH;
- p[0] = s->client_version >> 8;
- p[1] = s->client_version & 0xff;
- RAND_pseudo_bytes(p+2, i-2); /* should be RAND_bytes, but we cannot work around a failure */
--#endif
- }
-
- s->session->master_key_length=
diff --git a/dev-libs/openssl/openssl-0.9.6i-r1.ebuild b/dev-libs/openssl/openssl-0.9.6i-r1.ebuild
deleted file mode 100644
index ecb6bedc17fd..000000000000
--- a/dev-libs/openssl/openssl-0.9.6i-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# 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-r1.ebuild,v 1.2 2003/03/20 08:39:28 aliz Exp $
-
-inherit eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="http://www.openssl.org/source/${P}.tar.gz"
-HOMEPAGE="http://www.openssl.org/"
-
-RDEPEND="virtual/glibc"
-DEPEND="${RDEPEND} >=dev-lang/perl-5"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="x86 ppc alpha sparc mips hppa arm"
-IUSE=""
-
-if [ "$PROFILE_ARCH" = "sparc" -a "`uname -m`" = "sparc64" ]; then
- SSH_TARGET="linux-sparcv8"
-fi
-
-src_unpack() {
- unpack ${A} ; cd ${S}
-
- epatch ${FILESDIR}/${P}-blinding.patch
- epatch ${FILESDIR}/${P}-gentoo.diff
-
- if [ "${ARCH}" = "mips" ]
- then
- cd ${S}
- epatch ${FILESDIR}/openssl-0.9.6-mips.diff
- fi
-
- if [ "${ARCH}" = "arm" ]; then
- # patch linker to add -ldl or things linking aginst libcrypto fail
- sed -e \
- 's!^"linux-elf-arm"\(.*\)::BN\(.*\)!"linux-elf-arm"\1:-ldl:BN\2!' \
- Configure > Configure.orig
- elif [ "${ARCH}" = "hppa" ]; then
- sed -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure > Configure.orig
- else
- cp Configure Configure.orig
- fi
- sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure
-}
-
-src_compile() {
- if [ ${SSH_TARGET} ]; then
- einfo "Forcing ${SSH_TARGET} compile"
- ./Configure ${SSH_TARGET} --prefix=/usr \
- --openssldir=/etc/ssl shared threads || die
- else
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
- fi
- # i think parallel make has problems
- make all || die
-}
-
-src_install() {
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc doc/*.txt
- dohtml doc/*
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
-
- # The man pages rand.3 and passwd.1 conflict with other packages
- # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
- cd ${D}/usr/share/man/man1
- mv passwd.1 ssl-passwd.1
- ln -sf ssl-passwd.1 openssl-passwd.1
- cd ${D}/usr/share/man/man3
- mv rand.3 ssl-rand.3
- ln -sf ssl-rand.3 openssl-rand.3
-
- # create the certs directory. Previous openssl builds
- # would need to create /usr/lib/ssl/certs but this looks
- # to be the more FHS compliant setup... -raker
- dodir /etc/ssl/certs
-
-}
-
diff --git a/dev-libs/openssl/openssl-0.9.6i.ebuild b/dev-libs/openssl/openssl-0.9.6i.ebuild
deleted file mode 100644
index 2bfd33eff2a1..000000000000
--- a/dev-libs/openssl/openssl-0.9.6i.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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.7 2003/03/13 22:27:16 gmsoft Exp $
-
-IUSE=""
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="http://www.openssl.org/source/${P}.tar.gz"
-HOMEPAGE="http://www.openssl.org/"
-
-RDEPEND="virtual/glibc"
-DEPEND="${RDEPEND} >=dev-lang/perl-5"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="x86 ppc alpha sparc mips hppa arm"
-
-if [ "$PROFILE_ARCH" = "sparc" -a "`uname -m`" = "sparc64" ]; then
- SSH_TARGET="linux-sparcv8"
-fi
-
-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
-
- if [ "${ARCH}" = "arm" ]; then
- # patch linker to add -ldl or things linking aginst libcrypto fail
- sed -e \
- 's!^"linux-elf-arm"\(.*\)::BN\(.*\)!"linux-elf-arm"\1:-ldl:BN\2!' \
- Configure > Configure.orig
- elif [ "${ARCH}" = "hppa" ]; then
- sed -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure > Configure.orig
- else
- cp Configure Configure.orig
- fi
- sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure
-}
-
-src_compile() {
- if [ ${SSH_TARGET} ]; then
- einfo "Forcing ${SSH_TARGET} compile"
- ./Configure ${SSH_TARGET} --prefix=/usr \
- --openssldir=/etc/ssl shared threads || die
- else
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
- fi
- # i think parallel make has problems
- make all || die
-}
-
-src_install() {
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc doc/*.txt
- dohtml doc/*
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
-
- # The man pages rand.3 and passwd.1 conflict with other packages
- # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
- cd ${D}/usr/share/man/man1
- mv passwd.1 ssl-passwd.1
- ln -sf ssl-passwd.1 openssl-passwd.1
- cd ${D}/usr/share/man/man3
- mv rand.3 ssl-rand.3
- ln -sf ssl-rand.3 openssl-rand.3
-
- # create the certs directory. Previous openssl builds
- # would need to create /usr/lib/ssl/certs but this looks
- # to be the more FHS compliant setup... -raker
- dodir /etc/ssl/certs
-
-}
-
diff --git a/dev-libs/openssl/openssl-0.9.7a-r1.ebuild b/dev-libs/openssl/openssl-0.9.7a-r1.ebuild
deleted file mode 100644
index 333574affb08..000000000000
--- a/dev-libs/openssl/openssl-0.9.7a-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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.7a-r1.ebuild,v 1.2 2003/06/22 08:04:03 drobbins Exp $
-
-inherit eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="http://www.openssl.org/source/${P}.tar.gz"
-HOMEPAGE="http://www.openssl.org/"
-
-RDEPEND="virtual/glibc"
-DEPEND="${RDEPEND} >=dev-lang/perl-5"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-*"
-
-warning() {
- ewarn "BIG FAT WARNING!!!"
- ewarn "You must re-emerge every package that links to openssl after you have merged ${P}"
- ewarn "This is becuse packages that links against ${PN} links against the full version"
- ewarn "Also, if you don't have the sources for the packages you need to re-emerge you"
- ewarn "should download them with emerge -f prior to the installation of ${P}."
- ewarn "This is becuse wget may be linked against ${PN}."
- ewarn "To generate a list of packages that links against ${PN} you can download"
- ewarn "and run the script from http://cvs.gentoo.org/~aliz/openssl_update.sh"
- ewarn "If you are using binary packages you need to rebuild those against the"
- ewarn "new version of ${PN}"
- sleep 10
-}
-
-src_unpack() {
- warning
- unpack ${A} ; cd ${S}
-
- epatch ${FILESDIR}/${P}-blinding.patch
- epatch ${FILESDIR}/${P}-gentoo.diff
-
- if [ "${ARCH}" = "hppa" ]; then
- sed -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure > Configure.orig
- else
- cp Configure Configure.orig
- fi
- sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure
-}
-
-src_compile() {
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
- # i think parallel make has problems
- make all || die
-}
-
-src_install() {
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc doc/*.txt
- dohtml doc/*
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
-
- # The man pages rand.3 and passwd.1 conflict with other packages
- # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
- cd ${D}/usr/share/man/man1
- mv passwd.1 ssl-passwd.1
- ln -sf ssl-passwd.1 openssl-passwd.1
- cd ${D}/usr/share/man/man3
- mv rand.3 ssl-rand.3
- ln -sf ssl-rand.3 openssl-rand.3
-
- # create the certs directory. Previous openssl builds
- # would need to create /usr/lib/ssl/certs but this looks
- # to be the more FHS compliant setup... -raker
- dodir /etc/ssl/certs
-
-}
-
diff --git a/dev-libs/openssl/openssl-0.9.7a-r2.ebuild b/dev-libs/openssl/openssl-0.9.7a-r2.ebuild
deleted file mode 100644
index 24f4c7c49b4e..000000000000
--- a/dev-libs/openssl/openssl-0.9.7a-r2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# 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.7a-r2.ebuild,v 1.2 2003/06/22 08:04:03 drobbins Exp $
-
-inherit eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="http://www.openssl.org/source/${P}.tar.gz"
-HOMEPAGE="http://www.openssl.org/"
-
-RDEPEND="virtual/glibc"
-DEPEND="${RDEPEND} >=dev-lang/perl-5"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-*"
-
-warning() {
- ewarn "BIG FAT WARNING!!!"
- ewarn "You must re-emerge every package that links to openssl after you have merged ${P}"
- ewarn "This is becuse packages that links against ${PN} links against the full version"
- ewarn "Also, if you don't have the sources for the packages you need to re-emerge you"
- ewarn "should download them with emerge -f prior to the installation of ${P}."
- ewarn "This is becuse wget may be linked against ${PN}."
- ewarn "To generate a list of packages that links against ${PN} you can download"
- ewarn "and run the script from http://cvs.gentoo.org/~aliz/openssl_update.sh"
- ewarn "If you are using binary packages you need to rebuild those against the"
- ewarn "new version of ${PN}"
- sleep 10
-}
-
-src_unpack() {
- warning
- unpack ${A} ; cd ${S}
-
- epatch ${FILESDIR}/${P}-klima_pokorny_rosa_attack.patch
- epatch ${FILESDIR}/${P}-blinding.patch
- epatch ${FILESDIR}/${P}-gentoo.diff
-
- if [ "${ARCH}" = "hppa" ]; then
- sed -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure > Configure.orig
- else
- cp Configure Configure.orig
- fi
- sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure
-}
-
-src_compile() {
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
- # i think parallel make has problems
- make all || die
-}
-
-src_install() {
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc doc/*.txt
- dohtml doc/*
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
-
- # The man pages rand.3 and passwd.1 conflict with other packages
- # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
- cd ${D}/usr/share/man/man1
- mv passwd.1 ssl-passwd.1
- ln -sf ssl-passwd.1 openssl-passwd.1
- cd ${D}/usr/share/man/man3
- mv rand.3 ssl-rand.3
- ln -sf ssl-rand.3 openssl-rand.3
-
- # create the certs directory. Previous openssl builds
- # would need to create /usr/lib/ssl/certs but this looks
- # to be the more FHS compliant setup... -raker
- dodir /etc/ssl/certs
-
-}
-
diff --git a/dev-libs/openssl/openssl-0.9.7a.ebuild b/dev-libs/openssl/openssl-0.9.7a.ebuild
deleted file mode 100644
index 1d5682a94a9a..000000000000
--- a/dev-libs/openssl/openssl-0.9.7a.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# 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.7a.ebuild,v 1.4 2003/06/22 08:04:03 drobbins Exp $
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="http://www.openssl.org/source/${P}.tar.gz"
-HOMEPAGE="http://www.openssl.org/"
-
-RDEPEND="virtual/glibc"
-DEPEND="${RDEPEND} >=dev-lang/perl-5"
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="-*"
-
-warning() {
- ewarn "BIG FAT WARNING!!!"
- ewarn "You must re-emerge every package that links to openssl after you have merged ${P}"
- ewarn "This is becuse packages that links against ${PN} links against the full version"
- ewarn "Also, if you don't have the sources for the packages you need to re-emerge you"
- ewarn "should download them with emerge -f prior to the installation of ${P}."
- ewarn "This is becuse wget may be linked against ${PN}."
- ewarn "To generate a list of packages that links against ${PN} you can download"
- ewarn "and run the script from http://cvs.gentoo.org/~aliz/openssl_update.sh"
- ewarn "If you are using binary packages you need to rebuild those against the"
- ewarn "new version of ${PN}"
- sleep 10
-}
-
-src_unpack() {
- warning
- unpack ${A} ; cd ${S}
-
- patch -p1 < ${FILESDIR}/${P}-gentoo.diff
-
- if [ "${ARCH}" = "hppa" ]; then
- sed -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure > Configure.orig
- else
- cp Configure Configure.orig
- fi
- sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure
-}
-
-src_compile() {
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
- # i think parallel make has problems
- make all || die
-}
-
-src_install() {
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc doc/*.txt
- dohtml doc/*
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
-
- # The man pages rand.3 and passwd.1 conflict with other packages
- # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
- cd ${D}/usr/share/man/man1
- mv passwd.1 ssl-passwd.1
- ln -sf ssl-passwd.1 openssl-passwd.1
- cd ${D}/usr/share/man/man3
- mv rand.3 ssl-rand.3
- ln -sf ssl-rand.3 openssl-rand.3
-
- # create the certs directory. Previous openssl builds
- # would need to create /usr/lib/ssl/certs but this looks
- # to be the more FHS compliant setup... -raker
- dodir /etc/ssl/certs
-
-}
-