old
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Feb 2007 13:49:07 +0000 (13:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 27 Feb 2007 13:49:07 +0000 (13:49 +0000)
dev-libs/openssl/Manifest
dev-libs/openssl/files/digest-openssl-0.9.7j [deleted file]
dev-libs/openssl/files/digest-openssl-0.9.7k [deleted file]
dev-libs/openssl/openssl-0.9.7j.ebuild [deleted file]
dev-libs/openssl/openssl-0.9.7k.ebuild [deleted file]

index ae1ce968cbb8909c88f474d288d2d94fbc753b0b..6d4c1012822743b8eccb5d75f564afb172199fdd 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX gentoo.config-0.9.7g 3356 RMD160 8e83cecd44f2dc6b0863bf10b920cae2490250d7 SHA1 9dc82ecc34677b9b9f2758d3c86ae5a8b4d86720 SHA256 1935ea31cf0d4c4a7f5ed0fa4434e9960c7ccef5cb43abcee26cff09472991eb
 MD5 5479124566140e079c2493abe59a1c90 files/gentoo.config-0.9.7g 3356
 RMD160 8e83cecd44f2dc6b0863bf10b920cae2490250d7 files/gentoo.config-0.9.7g 3356
@@ -77,26 +74,26 @@ AUX openssl-0.9.8b-parallel-build.patch 600 RMD160 ce857d7bfcf2039afc7ffe3d1badf
 MD5 d59919721f04f84d5d395c405a5be30d files/openssl-0.9.8b-parallel-build.patch 600
 RMD160 ce857d7bfcf2039afc7ffe3d1badf9d3f374f672 files/openssl-0.9.8b-parallel-build.patch 600
 SHA256 3219c6a1133f6df42909bcb5d30a097b88529e3964049a24dd3e9836a659f08d files/openssl-0.9.8b-parallel-build.patch 600
-DIST openssl-0.9.7j.tar.gz 3290510 RMD160 b8959f59ca9861ce2981641bb74022239677bf7e SHA1 5277fa5a18d52fb0960e279fdbe198823f65da0b SHA256 65a6e88c3397cb68d19dbb576ecf9f9d8dc41423aa9ac3025cd29e3987274460
-DIST openssl-0.9.7k.tar.gz 3292692 RMD160 48642f8fa703a59daf0c0d4f0d658770ceaca675 SHA1 90056b8f5e518edc9f74f66784fbdcfd9b784dd2 SHA256 9bbce75d55c03fad47f7ca5e6790facca4b203b28c6c33428d1a471ef73ee622
 DIST openssl-0.9.7l.tar.gz 3294357 RMD160 11cc0299cef6bcc4adb9e9a39214f7d9f8abf77d SHA1 f0e4136639b10cbd1227c4f7350ff7ad406e575d SHA256 7ed19859c92e1c13e9f8ed5c3de35c3d48e45bff1b52ffc43845cc0c856fa3d1
+DIST openssl-0.9.7m.tar.gz 3303943 RMD160 fed13325d90ae4749d7ee858931d6925c3955614 SHA1 546f6bcebdf72a633bad087469d3741a42f7b383 SHA256 c98b9703887e2dda6217b91405d0d94883f7c67e205fc4d7a81bb690d2e10572
 DIST openssl-0.9.8d.tar.gz 3315566 RMD160 f2eb6c266009bbbdbdc7f01b6238c55b3fe12073 SHA1 4136fba00303a3d319d2052bfa8e1f09a2e12fc2 SHA256 022194944cc20dad917c86c916db8a4e0050df2de91b9b6740ddd4fb2daf175d
-EBUILD openssl-0.9.7j.ebuild 5402 RMD160 213c758ef0fe28bac10a1e06710411d4d17accd9 SHA1 96d8e2f04fba4bee7eca82aadb7ac2afe64ef9d9 SHA256 5394f8d6322019a79226e1dd172b81139b61394eec572a715ac35507c7d23220
-MD5 857846ba77e82348e130654f7c36e52e openssl-0.9.7j.ebuild 5402
-RMD160 213c758ef0fe28bac10a1e06710411d4d17accd9 openssl-0.9.7j.ebuild 5402
-SHA256 5394f8d6322019a79226e1dd172b81139b61394eec572a715ac35507c7d23220 openssl-0.9.7j.ebuild 5402
-EBUILD openssl-0.9.7k.ebuild 5402 RMD160 89fd43fb8bc64f345483c21b14690b5f7cbdcae6 SHA1 299a476c35e54207d70ada3ecdad2c74cf0a33db SHA256 9d19a2b0f8b3c1e7637639b77780abc7939c2fdae6c9ec0864e5ee8df8cd49bb
-MD5 1fdb5bbcd56f2780f574e907be69fb91 openssl-0.9.7k.ebuild 5402
-RMD160 89fd43fb8bc64f345483c21b14690b5f7cbdcae6 openssl-0.9.7k.ebuild 5402
-SHA256 9d19a2b0f8b3c1e7637639b77780abc7939c2fdae6c9ec0864e5ee8df8cd49bb openssl-0.9.7k.ebuild 5402
+DIST openssl-0.9.8e.tar.gz 3341665 RMD160 c1a498606dc0fc7219376b950fab6b53687466db SHA1 b429872d2a287714ab37e42296e6a5fbe23d32ff SHA256 414e8428b95fbc51707965fda31390497d058290356426bfe084b49464a60340
 EBUILD openssl-0.9.7l.ebuild 5054 RMD160 44bd34bd4f996a5d68f9a88742014bee9f997605 SHA1 a5b92b938920eb1c3f100fdbc444d098d90ce25e SHA256 38285f163a3118b3805b6d5846f0257df924da891c707b7ee6467e512a7f3997
 MD5 fd816b55da2954dfe556b3f42be8506b openssl-0.9.7l.ebuild 5054
 RMD160 44bd34bd4f996a5d68f9a88742014bee9f997605 openssl-0.9.7l.ebuild 5054
 SHA256 38285f163a3118b3805b6d5846f0257df924da891c707b7ee6467e512a7f3997 openssl-0.9.7l.ebuild 5054
+EBUILD openssl-0.9.7m.ebuild 5054 RMD160 44bd34bd4f996a5d68f9a88742014bee9f997605 SHA1 a5b92b938920eb1c3f100fdbc444d098d90ce25e SHA256 38285f163a3118b3805b6d5846f0257df924da891c707b7ee6467e512a7f3997
+MD5 fd816b55da2954dfe556b3f42be8506b openssl-0.9.7m.ebuild 5054
+RMD160 44bd34bd4f996a5d68f9a88742014bee9f997605 openssl-0.9.7m.ebuild 5054
+SHA256 38285f163a3118b3805b6d5846f0257df924da891c707b7ee6467e512a7f3997 openssl-0.9.7m.ebuild 5054
 EBUILD openssl-0.9.8d.ebuild 5278 RMD160 5fa12aa2e1f6c55dde7195abc99eacaa441614b4 SHA1 4dee277407b4940514cff6fa9e910a9ead511805 SHA256 ce520f2ba343f9f7c6c14d65c9a9bdb1c7efdb9eb0d18538a1b013cd27183721
 MD5 2cc496c48c676fa2fc81473fcb56082b openssl-0.9.8d.ebuild 5278
 RMD160 5fa12aa2e1f6c55dde7195abc99eacaa441614b4 openssl-0.9.8d.ebuild 5278
 SHA256 ce520f2ba343f9f7c6c14d65c9a9bdb1c7efdb9eb0d18538a1b013cd27183721 openssl-0.9.8d.ebuild 5278
+EBUILD openssl-0.9.8e.ebuild 5278 RMD160 5fa12aa2e1f6c55dde7195abc99eacaa441614b4 SHA1 4dee277407b4940514cff6fa9e910a9ead511805 SHA256 ce520f2ba343f9f7c6c14d65c9a9bdb1c7efdb9eb0d18538a1b013cd27183721
+MD5 2cc496c48c676fa2fc81473fcb56082b openssl-0.9.8e.ebuild 5278
+RMD160 5fa12aa2e1f6c55dde7195abc99eacaa441614b4 openssl-0.9.8e.ebuild 5278
+SHA256 ce520f2ba343f9f7c6c14d65c9a9bdb1c7efdb9eb0d18538a1b013cd27183721 openssl-0.9.8e.ebuild 5278
 MISC ChangeLog 32111 RMD160 4fc6944e1916929f6337bf1819c63a108bab1a74 SHA1 8003405bd8656b6c35bef97b799c0670c47ffefc SHA256 fc3c29ee1135e3e630d34d23490b0b2dabf6cb4ff27a2307d9221dab56c83e71
 MD5 5aafa009446d6fdf268f2a841ee70f9e ChangeLog 32111
 RMD160 4fc6944e1916929f6337bf1819c63a108bab1a74 ChangeLog 32111
@@ -105,22 +102,15 @@ MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
-MD5 cd7492221120253effa5fa8c205e1ba0 files/digest-openssl-0.9.7j 247
-RMD160 396f2e0324b39d7ae3631a7b7a0bcff4cadae5fd files/digest-openssl-0.9.7j 247
-SHA256 a8825b2e0eff8ca95dd78f87b30284cd11c5c233d39f6dfa67749c85f25dce69 files/digest-openssl-0.9.7j 247
-MD5 91df604e3aea4ac40ca5547deaa3d03f files/digest-openssl-0.9.7k 247
-RMD160 0a2b7a0c24e1c4972298d772e16c69c15b4bcbd4 files/digest-openssl-0.9.7k 247
-SHA256 78233d71c6f98592c4d6550bbd8c711841cb35f7b63d4c80025f013bee3b14f2 files/digest-openssl-0.9.7k 247
 MD5 39610e55ee1eab03ffe4555bb15d2ead files/digest-openssl-0.9.7l 247
 RMD160 385e662446b28abc0ea79f3df8e64f2cdb934955 files/digest-openssl-0.9.7l 247
 SHA256 c34564b3f065d23743e98898b9c9cf83be82d930d5df8642cc14d47ca0fe1fd5 files/digest-openssl-0.9.7l 247
+MD5 b114c182f7dd61eb80206fcfe0e614ea files/digest-openssl-0.9.7m 247
+RMD160 e02fb2a23a3448225e00dd0de34fcf497064ca6d files/digest-openssl-0.9.7m 247
+SHA256 21a9317d8306f232ae55505c52a45ddda3a16094148692ad701a05850a84265c files/digest-openssl-0.9.7m 247
 MD5 c860eede8676360f4cd66b1fcb17345c files/digest-openssl-0.9.8d 247
 RMD160 fc03af9cd4ca71ec400924bfd866e09b0a8d59a7 files/digest-openssl-0.9.8d 247
 SHA256 f71ab1e8bddbc1f5dfcfafba984d0c2c95088b751768ff691f5fcc911be601a8 files/digest-openssl-0.9.8d 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF29H98bi6rjpTunYRAvktAKCTv4XfEdHEzHVDC9qvt/RnhPINlwCggJ7X
-EV9dw4nlvUYL/XYVAzzCvxk=
-=Cn3m
------END PGP SIGNATURE-----
+MD5 b7beba1f496f9ed591d246ccb3986805 files/digest-openssl-0.9.8e 247
+RMD160 70d9be870635c3015dcea57e013ad2017c44f878 files/digest-openssl-0.9.8e 247
+SHA256 2805d899eece0f11f31ca624c548ed874c31daaddf922044a6586a3ad2aad00a files/digest-openssl-0.9.8e 247
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7j b/dev-libs/openssl/files/digest-openssl-0.9.7j
deleted file mode 100644 (file)
index f624403..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 79dd939266b069e7aca587e6ab16a055 openssl-0.9.7j.tar.gz 3290510
-RMD160 b8959f59ca9861ce2981641bb74022239677bf7e openssl-0.9.7j.tar.gz 3290510
-SHA256 65a6e88c3397cb68d19dbb576ecf9f9d8dc41423aa9ac3025cd29e3987274460 openssl-0.9.7j.tar.gz 3290510
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7k b/dev-libs/openssl/files/digest-openssl-0.9.7k
deleted file mode 100644 (file)
index 1c6c8ce..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 be6bba1d67b26eabb48cf1774925416f openssl-0.9.7k.tar.gz 3292692
-RMD160 48642f8fa703a59daf0c0d4f0d658770ceaca675 openssl-0.9.7k.tar.gz 3292692
-SHA256 9bbce75d55c03fad47f7ca5e6790facca4b203b28c6c33428d1a471ef73ee622 openssl-0.9.7k.tar.gz 3292692
diff --git a/dev-libs/openssl/openssl-0.9.7j.ebuild b/dev-libs/openssl/openssl-0.9.7j.ebuild
deleted file mode 100644 (file)
index 5bc9d72..0000000
+++ /dev/null
@@ -1,175 +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.7j.ebuild,v 1.19 2006/09/04 00:34:55 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"
-# make sure your arch is ABI compat before adding KEYWORD back in
-KEYWORDS="-* alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="emacs test bindist 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.7g-ppc64.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7-hppa-fix-detection.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-mem-clr-ptr-cast.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7h-ABI-compat.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-superh.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7i-m68k.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-amd64-fbsd.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7j-doc-updates.patch
-
-       # allow openssl to be cross-compiled
-       cp "${FILESDIR}"/gentoo.config-0.9.7g 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
-
-       case $(gcc-version) in
-               3.2)
-                       filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loop
-               ;;
-               3.4 | 3.3 )
-                       filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops
-                       [[ ${ARCH} == "ppc" ||  ${ARCH} == "ppc64" ]] && append-flags -fno-strict-aliasing
-               ;;
-       esac
-       append-flags -Wa,--noexecstack
-
-       # replace CFLAGS
-       OLDIFS=$IFS
-       IFS=$'\n'
-       for a in $( grep -n -e "^\"linux-" Configure ); do
-               LINE=$( echo $a | awk -F: '{print $1}' )
-               CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' )
-               NEW_CFLAGS=$(echo $CUR_CFLAGS | LC_ALL=C sed -r -e "s|-O[23]||" -e \
-               "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" \
-               -e "s:-mv8::")
-               # ppc64's current toolchain sucks at optimization and will break this package
-               [[ $(tc-arch) != "ppc64" ]] && NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}"
-
-               sed -i "${LINE}s:$CUR_CFLAGS:$NEW_CFLAGS:" Configure || die "sed failed"
-       done
-       IFS=$OLDIFS
-
-       if [ "$(get_libdir)" != "lib" ] ; then
-               # 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 \
-                       || die "sed failed"
-               ./config --test-sanity || die "sanity failed"
-       fi
-}
-
-src_compile() {
-       # 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=""
-       use bindist && confopts="no-idea no-rc5 no-mdc2 -no-ec"
-
-       use zlib && confopts="${confopts} zlib-dynamic"
-
-       local sslout=$(./gentoo.config)
-       einfo "Use configuration ${sslout}"
-
-       local config="Configure"
-       [[ -z ${sslout} ]] && config="config"
-       ./${config} \
-               ${sslout} \
-               ${confopts} \
-               --prefix=/usr \
-               --openssldir=/etc/ssl \
-               shared threads \
-               || die "Configure failed"
-
-       emake \
-               CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \
-               AR="$(tc-getAR) r" \
-               RANLIB="$(tc-getRANLIB)" \
-               all || die "make all failed"
-}
-
-src_test() {
-       # make sure sandbox doesnt die on *BSD
-       addpredict /dev/crypto
-
-       make test || die "make test failed"
-}
-
-src_install() {
-       make    CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \
-               AR="$(tc-getAR) r" \
-               RANLIB="$(tc-getRANLIB)" \
-               INSTALL_PREFIX="${D}" MANDIR=/usr/share/man 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.  Previous openssl builds
-       # would need to create /usr/lib/ssl/certs but this looks
-       # to be the more FHS compliant setup... -raker
-       insinto /etc/ssl/certs
-       doins certs/*.pem
-       LD_LIBRARY_PATH="${D}"/usr/$(get_libdir)/ \
-       OPENSSL="${D}"/usr/bin/openssl /usr/bin/perl tools/c_rehash "${D}"/etc/ssl/certs
-
-       # 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
-
-       fperms a+x /usr/$(get_libdir)/pkgconfig #34088
-}
-
-pkg_postinst() {
-       if [[ -e ${ROOT}/usr/lib/libcrypto.so.0.9.6 ]] ; then
-               ewarn "You must re-compile all packages that are linked against"
-               ewarn "OpenSSL 0.9.6 by using revdep-rebuild from gentoolkit:"
-               ewarn "# revdep-rebuild --library libssl.so.0.9.6"
-               ewarn "# revdep-rebuild --library libcrypto.so.0.9.6"
-               ewarn "After this, you can delete /usr/lib/libssl.so.0.9.6 and /usr/lib/libcrypto.so.0.9.6"
-               touch -c "${ROOT}"/usr/lib/lib{crypto,ssl}.so.0.9.6
-       fi
-}
diff --git a/dev-libs/openssl/openssl-0.9.7k.ebuild b/dev-libs/openssl/openssl-0.9.7k.ebuild
deleted file mode 100644 (file)
index 36911a8..0000000
+++ /dev/null
@@ -1,175 +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.7k.ebuild,v 1.8 2006/09/18 08:38:51 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"
-# make sure your arch is ABI compat before adding KEYWORD back in
-KEYWORDS="-* alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="emacs test bindist 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.7g-ppc64.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7-hppa-fix-detection.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-mem-clr-ptr-cast.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7h-ABI-compat.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-superh.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7i-m68k.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7g-amd64-fbsd.patch
-       epatch "${FILESDIR}"/${PN}-0.9.7j-doc-updates.patch
-
-       # allow openssl to be cross-compiled
-       cp "${FILESDIR}"/gentoo.config-0.9.7g 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
-
-       case $(gcc-version) in
-               3.2)
-                       filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loop
-               ;;
-               3.4 | 3.3 )
-                       filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops
-                       [[ ${ARCH} == "ppc" ||  ${ARCH} == "ppc64" ]] && append-flags -fno-strict-aliasing
-               ;;
-       esac
-       append-flags -Wa,--noexecstack
-
-       # replace CFLAGS
-       OLDIFS=$IFS
-       IFS=$'\n'
-       for a in $( grep -n -e "^\"linux-" Configure ); do
-               LINE=$( echo $a | awk -F: '{print $1}' )
-               CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' )
-               NEW_CFLAGS=$(echo $CUR_CFLAGS | LC_ALL=C sed -r -e "s|-O[23]||" -e \
-               "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" \
-               -e "s:-mv8::")
-               # ppc64's current toolchain sucks at optimization and will break this package
-               [[ $(tc-arch) != "ppc64" ]] && NEW_CFLAGS="${NEW_CFLAGS} ${CFLAGS}"
-
-               sed -i "${LINE}s:$CUR_CFLAGS:$NEW_CFLAGS:" Configure || die "sed failed"
-       done
-       IFS=$OLDIFS
-
-       if [ "$(get_libdir)" != "lib" ] ; then
-               # 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 \
-                       || die "sed failed"
-               ./config --test-sanity || die "sanity failed"
-       fi
-}
-
-src_compile() {
-       # 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=""
-       use bindist && confopts="no-idea no-rc5 no-mdc2 -no-ec"
-
-       use zlib && confopts="${confopts} zlib-dynamic"
-
-       local sslout=$(./gentoo.config)
-       einfo "Use configuration ${sslout}"
-
-       local config="Configure"
-       [[ -z ${sslout} ]] && config="config"
-       ./${config} \
-               ${sslout} \
-               ${confopts} \
-               --prefix=/usr \
-               --openssldir=/etc/ssl \
-               shared threads \
-               || die "Configure failed"
-
-       emake \
-               CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \
-               AR="$(tc-getAR) r" \
-               RANLIB="$(tc-getRANLIB)" \
-               all || die "make all failed"
-}
-
-src_test() {
-       # make sure sandbox doesnt die on *BSD
-       addpredict /dev/crypto
-
-       make test || die "make test failed"
-}
-
-src_install() {
-       make    CC="$(tc-getCC)" MAKEDEPPROG="$(tc-getCC)" \
-               AR="$(tc-getAR) r" \
-               RANLIB="$(tc-getRANLIB)" \
-               INSTALL_PREFIX="${D}" MANDIR=/usr/share/man 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.  Previous openssl builds
-       # would need to create /usr/lib/ssl/certs but this looks
-       # to be the more FHS compliant setup... -raker
-       insinto /etc/ssl/certs
-       doins certs/*.pem
-       LD_LIBRARY_PATH="${D}"/usr/$(get_libdir)/ \
-       OPENSSL="${D}"/usr/bin/openssl /usr/bin/perl tools/c_rehash "${D}"/etc/ssl/certs
-
-       # 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
-
-       fperms a+x /usr/$(get_libdir)/pkgconfig #34088
-}
-
-pkg_postinst() {
-       if [[ -e ${ROOT}/usr/lib/libcrypto.so.0.9.6 ]] ; then
-               ewarn "You must re-compile all packages that are linked against"
-               ewarn "OpenSSL 0.9.6 by using revdep-rebuild from gentoolkit:"
-               ewarn "# revdep-rebuild --library libssl.so.0.9.6"
-               ewarn "# revdep-rebuild --library libcrypto.so.0.9.6"
-               ewarn "After this, you can delete /usr/lib/libssl.so.0.9.6 and /usr/lib/libcrypto.so.0.9.6"
-               touch -c "${ROOT}"/usr/lib/lib{crypto,ssl}.so.0.9.6
-       fi
-}