diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 04:02:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 04:02:21 +0000 |
commit | 1006c1de2494e9e09928c34cc67e00d19b8c728a (patch) | |
tree | 26ca27b0e5dffbcc44b79b1895cabbafee90cb01 /dev-libs/openssl | |
parent | Manifest fix-up. (diff) | |
download | gentoo-2-1006c1de2494e9e09928c34cc67e00d19b8c728a.tar.gz gentoo-2-1006c1de2494e9e09928c34cc67e00d19b8c728a.tar.bz2 gentoo-2-1006c1de2494e9e09928c34cc67e00d19b8c728a.zip |
old
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/files/digest-openssl-0.9.6i-r2 | 1 | ||||
-rw-r--r-- | dev-libs/openssl/files/digest-openssl-0.9.6j | 1 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6i-r2.ebuild | 103 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6j.ebuild | 94 |
4 files changed, 0 insertions, 199 deletions
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.6i-r2 b/dev-libs/openssl/files/digest-openssl-0.9.6i-r2 deleted file mode 100644 index 145478a9699f..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.6i-r2 +++ /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.6j b/dev-libs/openssl/files/digest-openssl-0.9.6j deleted file mode 100644 index 90c081d62322..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.6j +++ /dev/null @@ -1 +0,0 @@ -MD5 52ea996e52bcea5120f193f51469bbb1 openssl-0.9.6j.tar.gz 2182643 diff --git a/dev-libs/openssl/openssl-0.9.6i-r2.ebuild b/dev-libs/openssl/openssl-0.9.6i-r2.ebuild deleted file mode 100644 index 3ff73c3e6b20..000000000000 --- a/dev-libs/openssl/openssl-0.9.6i-r2.ebuild +++ /dev/null @@ -1,103 +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-r2.ebuild,v 1.6 2003/09/06 22:29:25 msterret 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 - -if [ "`uname -m`" = "parisc64" ]; then - SSH_TARGET="linux-parisc" -fi - - -src_unpack() { - unpack ${A} ; cd ${S} - - epatch ${FILESDIR}/${P}-klima_pokorny_rosa_attack.patch - 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 - elif [ "${ARCH}" = "alpha" ]; then - if [ "${CC}" != "ccc" ]; then - # ccc compiled openssl will break things linked against - # a gcc compiled openssl, the configure will automatically detect - # ccc and use it, so stop that if user hasnt asked for it. - # - sed -e \ - 's!CC=ccc!CC=gcc!' config > config.orig - cp config.orig config - fi - cp 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.6j.ebuild b/dev-libs/openssl/openssl-0.9.6j.ebuild deleted file mode 100644 index a4ea0ea90aa5..000000000000 --- a/dev-libs/openssl/openssl-0.9.6j.ebuild +++ /dev/null @@ -1,94 +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.6j.ebuild,v 1.10 2003/09/29 06:44:01 kumba 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 - -if [ "`uname -m`" = "parisc64" ]; then - SSH_TARGET="linux-parisc" -fi - -case $CHOST in - alphaev56*|alphaev6*) SSH_TARGET="linux-alpha+bwx-${CC:-gcc}" ;; - alpha*) SSH_TARGET="linux-alpha-${CC:-gcc}" ;; -esac - -src_unpack() { - unpack ${A} ; cd ${S} - - epatch ${FILESDIR}/${PN}-0.9.6i-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 - -} - |