summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-04-11 04:03:55 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-04-11 04:03:55 +0000
commitea0402d160e0d2c0e11cb54912ca52a54bc067cc (patch)
tree179e8af829428f2ecfbee6ce42a2f9971371516e /dev-libs/openssl
parentBump (diff)
downloadhistorical-ea0402d160e0d2c0e11cb54912ca52a54bc067cc.tar.gz
historical-ea0402d160e0d2c0e11cb54912ca52a54bc067cc.tar.bz2
historical-ea0402d160e0d2c0e11cb54912ca52a54bc067cc.zip
Bump
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/Manifest4
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.7b1
-rw-r--r--dev-libs/openssl/openssl-0.9.7b.ebuild77
3 files changed, 80 insertions, 2 deletions
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index 5b355ee8505d..bf2a030ad043 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -3,9 +3,9 @@ MD5 f9889068ffc2fc73a7a85ac5579e0f18 openssl-0.9.7a-r1.ebuild 2569
MD5 7e42226d154e07d3ae1223cbc0a60f85 openssl-0.9.7a.ebuild 2517
MD5 f1f7f7f88d2931001e73d0d9f33d499f openssl-0.9.6i.ebuild 2384
MD5 f2c809dabe0d7326eb5096ec77b3b32f openssl-0.9.6i-r2.ebuild 2480
-MD5 3448bbfeb66ecb335ec4f2b748eb5838 ChangeLog 5797
+MD5 7a303a336276d4925b2b47fd257834dd ChangeLog 5926
MD5 f48f6270ee3c27f892a7fdb0cb9ee759 openssl-0.9.7a-r2.ebuild 2626
-MD5 4e0cb46d5e15c95324cbfee83b047b40 openssl-0.9.7b.ebuild 2537
+MD5 407d34d7ec271af9ddfd5bbd18bc8be4 openssl-0.9.7b.ebuild 2539
MD5 a5a379391dfaaef98e4fe4198ff2ed2c files/openssl-0.9.6i-blinding.patch 1717
MD5 91c90424223d7c64fe20f960bcc48b25 files/openssl-0.9.6g-gentoo.diff 1592
MD5 a5a379391dfaaef98e4fe4198ff2ed2c files/openssl-0.9.7a-blinding.patch 1717
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7b b/dev-libs/openssl/files/digest-openssl-0.9.7b
new file mode 100644
index 000000000000..66cf2a4306da
--- /dev/null
+++ b/dev-libs/openssl/files/digest-openssl-0.9.7b
@@ -0,0 +1 @@
+MD5 fae4bec090fa78e20f09d76d55b6ccff openssl-0.9.7b.tar.gz 2784331
diff --git a/dev-libs/openssl/openssl-0.9.7b.ebuild b/dev-libs/openssl/openssl-0.9.7b.ebuild
new file mode 100644
index 000000000000..57c295197a6e
--- /dev/null
+++ b/dev-libs/openssl/openssl-0.9.7b.ebuild
@@ -0,0 +1,77 @@
+# 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.7b.ebuild,v 1.1 2003/04/11 04:03:44 lostlogic 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 ~hppa"
+
+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}/${PN}-0.9.7a-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
+
+}
+