summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/ChangeLog7
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.6g-r11
-rw-r--r--dev-libs/openssl/openssl-0.9.6g-r1.ebuild47
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog
index c0ff8e455aba..5081f93ad640 100644
--- a/dev-libs/openssl/ChangeLog
+++ b/dev-libs/openssl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/openssl
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.13 2002/10/06 20:45:31 jmorgan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.14 2002/11/04 13:08:52 aliz Exp $
+
+*openssl-0.9.6g-r1 (04 Nov 2002)
+
+ 04 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Changed openssldir to /etc as suggested by Corporate Gadfly <corporate_gadfly@hotmail.com> in #9315.
*opessl-0.9.6g (29 Aug 2002)
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.6g-r1 b/dev-libs/openssl/files/digest-openssl-0.9.6g-r1
new file mode 100644
index 000000000000..1df7dfe2913b
--- /dev/null
+++ b/dev-libs/openssl/files/digest-openssl-0.9.6g-r1
@@ -0,0 +1 @@
+MD5 515ed54165a55df83f4eb4e4e9078d3f openssl-0.9.6g.tar.gz 2170570
diff --git a/dev-libs/openssl/openssl-0.9.6g-r1.ebuild b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild
new file mode 100644
index 000000000000..52b160540b96
--- /dev/null
+++ b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+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} >=sys-devel/perl-5"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~sparc64"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ patch -p1 < ${FILESDIR}/${PF}-gentoo.diff
+
+ cp Configure Configure.orig
+ 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
+}
+