summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-16 21:41:27 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-16 21:41:27 +0000
commitaff86ba2a99c3b739c3c2bcd11a8c52221d8481d (patch)
tree61c3b02380cd5e809a68e2df2a19867286fcd90a /dev-libs/openssl
parentRemove USE=sse2 for now as it breaks ABI #147758 by Andrew Stimpson. (diff)
downloadhistorical-aff86ba2a99c3b739c3c2bcd11a8c52221d8481d.tar.gz
historical-aff86ba2a99c3b739c3c2bcd11a8c52221d8481d.tar.bz2
historical-aff86ba2a99c3b739c3c2bcd11a8c52221d8481d.zip
Remove USE=sse2 for now as it breaks ABI #147758 by Andrew Stimpson.
Package-Manager: portage-2.1.1
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/Manifest28
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.8c3
-rw-r--r--dev-libs/openssl/openssl-0.9.8c.ebuild169
3 files changed, 14 insertions, 186 deletions
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index 398e65ad1518..37c7daf217d1 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -89,14 +89,14 @@ EBUILD openssl-0.9.8b.ebuild 4997 RMD160 6900925606a9c21f3ae136fd400e2cc6961be37
MD5 4b67c1cdcfc7fe43341536e549eb8db9 openssl-0.9.8b.ebuild 4997
RMD160 6900925606a9c21f3ae136fd400e2cc6961be378 openssl-0.9.8b.ebuild 4997
SHA256 c6172cdb7c1ad3728ac08c2474004c824a635ba9151a71751cd36dae8c53c1fd openssl-0.9.8b.ebuild 4997
-EBUILD openssl-0.9.8c.ebuild 5070 RMD160 1719516d82d40990c728a1ea824e97d277a9b805 SHA1 8e48417dedd628f2d6ec5acdb99f9c6a55d58ba8 SHA256 3a502bd2b6ba91cf372b4a4ce5ddb2c3ea175acef05b218fefa05da6bfc21df2
-MD5 52a4b8bdace871fc3aba33f74ee8111b openssl-0.9.8c.ebuild 5070
-RMD160 1719516d82d40990c728a1ea824e97d277a9b805 openssl-0.9.8c.ebuild 5070
-SHA256 3a502bd2b6ba91cf372b4a4ce5ddb2c3ea175acef05b218fefa05da6bfc21df2 openssl-0.9.8c.ebuild 5070
-MISC ChangeLog 29354 RMD160 3afc2dae3a539c242403af4d47a1ec91de8984c9 SHA1 fa02f7a368c20eba2012c38a2ea3498ef5fe107f SHA256 c1efe9010de5cd897a351b770d4ec15135c670c9712b0a40e8a2bf5e5ff9efc8
-MD5 1cb601c57d29558b11fe7e60c948b8f4 ChangeLog 29354
-RMD160 3afc2dae3a539c242403af4d47a1ec91de8984c9 ChangeLog 29354
-SHA256 c1efe9010de5cd897a351b770d4ec15135c670c9712b0a40e8a2bf5e5ff9efc8 ChangeLog 29354
+EBUILD openssl-0.9.8c-r1.ebuild 5140 RMD160 02466b24f70132f64faaab3ed5d38c50e508278b SHA1 d14cccdea4cb2e61c6649d6b0a852f71e7443537 SHA256 a9f9553a8fee16676e6d29bbf14adb83c2ab442df76c616899077e0d024fc46c
+MD5 eb459d4b64b641b80a7ce6b4cdb7b1cc openssl-0.9.8c-r1.ebuild 5140
+RMD160 02466b24f70132f64faaab3ed5d38c50e508278b openssl-0.9.8c-r1.ebuild 5140
+SHA256 a9f9553a8fee16676e6d29bbf14adb83c2ab442df76c616899077e0d024fc46c openssl-0.9.8c-r1.ebuild 5140
+MISC ChangeLog 29566 RMD160 9075865d2856f2fadc546c412dab16c6693fb850 SHA1 98ffd919f1de971d4d1de50e7b493f3566269279 SHA256 d991b108c1781f2fcd8f376d301311138bdaad1b790fa966812f55da09754927
+MD5 46d66f2fded71207f19a743702506a8a ChangeLog 29566
+RMD160 9075865d2856f2fadc546c412dab16c6693fb850 ChangeLog 29566
+SHA256 d991b108c1781f2fcd8f376d301311138bdaad1b790fa966812f55da09754927 ChangeLog 29566
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
@@ -110,13 +110,13 @@ SHA256 78233d71c6f98592c4d6550bbd8c711841cb35f7b63d4c80025f013bee3b14f2 files/di
MD5 812e257663281d64a03b5e8ac9c8386e files/digest-openssl-0.9.8b 247
RMD160 2fc975be827e72ce6d6c8031a7aba7fe5ebba2d3 files/digest-openssl-0.9.8b 247
SHA256 22f9cbf40e4a66b32fb3cf0c67cbb72708a7247df3880b01c4f2f74c657d03e1 files/digest-openssl-0.9.8b 247
-MD5 755405d8390e11885b4d78e28e0888d0 files/digest-openssl-0.9.8c 247
-RMD160 e9a1926d3f6af8db77814134256cc9c87ed9c7cf files/digest-openssl-0.9.8c 247
-SHA256 fdcfdfe6232573573e817138ff76277a9161c65fc21fe52b77dfb9a2a1fc863a files/digest-openssl-0.9.8c 247
+MD5 755405d8390e11885b4d78e28e0888d0 files/digest-openssl-0.9.8c-r1 247
+RMD160 e9a1926d3f6af8db77814134256cc9c87ed9c7cf files/digest-openssl-0.9.8c-r1 247
+SHA256 fdcfdfe6232573573e817138ff76277a9161c65fc21fe52b77dfb9a2a1fc863a files/digest-openssl-0.9.8c-r1 247
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFCgHJamhnQswr0vIRAtyOAJ96Xg7L8TsARn791dzhI6o35/RL1wCfR3RB
-6X3/GeA4+Eik66rWo3zO1U4=
-=1mcp
+iD8DBQFFDG+WamhnQswr0vIRAv73AJ0TXdlekIftz0D1LCX8ppwFmxNIcACeL2PY
+8/AEkWV6SRkNmSzMdjs/hFE=
+=xOXs
-----END PGP SIGNATURE-----
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8c b/dev-libs/openssl/files/digest-openssl-0.9.8c
deleted file mode 100644
index 95a35c845cc7..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.8c
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 78454bec556bcb4c45129428a766c886 openssl-0.9.8c.tar.gz 3313857
-RMD160 718e487a7c874fbc79081cbbee4ec5fdc3387aa6 openssl-0.9.8c.tar.gz 3313857
-SHA256 896f7830c1921688f22c6fe4fb3d7b75189cefdd79acca5fb0cad2b599139048 openssl-0.9.8c.tar.gz 3313857
diff --git a/dev-libs/openssl/openssl-0.9.8c.ebuild b/dev-libs/openssl/openssl-0.9.8c.ebuild
deleted file mode 100644
index dd77340b4350..000000000000
--- a/dev-libs/openssl/openssl-0.9.8c.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8c.ebuild,v 1.10 2006/09/15 01:28:25 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-HOMEPAGE="http://www.openssl.org/"
-SRC_URI="mirror://openssl/source/${P}.tar.gz"
-
-LICENSE="openssl"
-SLOT="0"
-KEYWORDS="-* alpha amd64 ~arm ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
-IUSE="bindist emacs sse2 test zlib"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- sys-apps/diffutils
- >=dev-lang/perl-5
- test? ( sys-devel/bc )"
-PDEPEND="app-misc/ca-certificates"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch
- epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch
- epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch
- epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch
- epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch
- epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch
- epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch
- epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch
-
- # allow openssl to be cross-compiled
- cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed"
- chmod a+rx gentoo.config
-
- # Don't build manpages if we don't want them
- has noman FEATURES \
- && sed -i '/^install:/s:install_docs::' Makefile.org \
- || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org
-
- # Try to derice users
- [[ $(gcc-major-version) == "3" ]] \
- && filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops
- [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing
- append-flags -Wa,--noexecstack
-
- # using a library directory other than lib requires some magic
- sed -i \
- -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \
- -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \
- Makefile.org engines/Makefile \
- || die "sed failed"
- ./config --test-sanity || die "I AM NOT SANE"
-}
-
-src_compile() {
- tc-export CC AR RANLIB
-
- # Clean out patent-or-otherwise-encumbered code
- # MDC-2: 4,908,861 13/03/2007
- # IDEA: 5,214,703 25/05/2010
- # RC5: 5,724,428 03/03/2015
- # EC: ????????? ??/??/2015
- local confopts=""
- if use bindist ; then
- confopts="no-idea no-rc5 no-mdc2 no-ec"
- else
- confopts="enable-idea enable-rc5 enable-mdc2 enable-ec"
- fi
- use zlib && confopts="${confopts} zlib-dynamic"
- use sse2 || confopts="${confopts} no-sse2"
-
- local sslout=$(./gentoo.config)
- einfo "Use configuration ${sslout:-(openssl knows best)}"
- local config="Configure"
- [[ -z ${sslout} ]] && config="config"
- ./${config} \
- ${sslout} \
- ${confopts} \
- --prefix=/usr \
- --openssldir=/etc/ssl \
- shared threads \
- || die "Configure failed"
-
- # Clean out hardcoded flags that openssl uses
- local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
- -e 's:^CFLAG=::' \
- -e 's:-fomit-frame-pointer ::g' \
- -e 's:-O[0-9] ::g' \
- -e 's:-march=[-a-z0-9]* ::g' \
- -e 's:-mcpu=[-a-z0-9]* ::g' \
- -e 's:-m[a-z0-9]* ::g' \
- )
- sed -i -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" Makefile || die
-
- # depend is needed to use $confopts
- # rehash is needed to prep the certs/ dir
- emake -j1 depend || die "depend failed"
- emake all rehash || die "make all failed"
-
- # force until we get all the gentoo.config kinks worked out
- if has test ${FEATURES} && ! tc-is-cross-compiler ; then
- src_test
- fi
-}
-
-src_test() {
- # make sure sandbox doesnt die on *BSD
- addpredict /dev/crypto
-
- make test || die "make test failed"
-}
-
-src_install() {
- make INSTALL_PREFIX="${D}" install || die
- dodoc CHANGES* FAQ NEWS README doc/*.txt
- dohtml doc/*
-
- if use emacs ; then
- insinto /usr/share/emacs/site-lisp
- doins doc/c-indentation.el
- fi
-
- # create the certs directory
- dodir /etc/ssl/certs
- cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs"
- rm -r "${D}"/etc/ssl/certs/{demo,expired}
-
- # Namespace openssl programs to prevent conflicts with other man pages
- cd "${D}"/usr/share/man
- local m d s
- for m in $(find . -type f -printf '%P ' | xargs grep -L '#include') ; do
- d=${m%/*} ; m=${m##*/}
- mv ${d}/{,ssl-}${m}
- ln -s ssl-${m} ${d}/openssl-${m}
- # locate any symlinks that point to this man page
- for s in $(find ${d} -lname ${m}) ; do
- s=${s##*/}
- rm -f ${d}/${s}
- ln -s ssl-${m} ${d}/ssl-${s}
- ln -s ssl-${s} ${d}/openssl-${s}
- done
- done
-
- diropts -m0700
- keepdir /etc/ssl/private
-}
-
-pkg_preinst() {
- if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then
- cp -pPR "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.7 "${IMAGE}"/usr/$(get_libdir)/
- fi
-}
-
-pkg_postinst() {
- if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then
- ewarn "You must re-compile all packages that are linked against"
- ewarn "OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:"
- ewarn "# revdep-rebuild --library libssl.so.0.9.7"
- ewarn "# revdep-rebuild --library libcrypto.so.0.9.7"
- ewarn "After this, you can delete /usr/$(get_libdir)/libssl.so.0.9.7"
- ewarn "and /usr/$(get_libdir)/libcrypto.so.0.9.7"
- fi
-}