summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-08-12 13:45:46 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-08-12 13:45:46 +0000
commite4a0bcdf196b4f487ffc3ba583109572d1170936 (patch)
tree3cd2c87456fe46baf4fb08dd45e29adff0e37502 /dev-libs/openssl
parentremove old version package masked for security reasons (diff)
downloadhistorical-e4a0bcdf196b4f487ffc3ba583109572d1170936.tar.gz
historical-e4a0bcdf196b4f487ffc3ba583109572d1170936.tar.bz2
historical-e4a0bcdf196b4f487ffc3ba583109572d1170936.zip
remove stale version
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r--dev-libs/openssl/ChangeLog5
-rw-r--r--dev-libs/openssl/Manifest4
-rw-r--r--dev-libs/openssl/files/digest-openssl-0.9.7e2
-rw-r--r--dev-libs/openssl/openssl-0.9.7e.ebuild263
4 files changed, 5 insertions, 269 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog
index fcfe229c2a4b..e68d989bb48d 100644
--- a/dev-libs/openssl/ChangeLog
+++ b/dev-libs/openssl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/openssl
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.131 2005/08/12 13:43:55 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.132 2005/08/12 13:45:46 caleb Exp $
+
+ 12 Aug 2005; Caleb Tennis <caleb@gentoo.org> -openssl-0.9.7e.ebuild:
+ remove stale version
12 Aug 2005; Caleb Tennis <caleb@gentoo.org>
-files/openssl-0.9.7c-gentoo.diff, -files/openssl-0.9.7c-tempfile.patch,
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest
index 1462c15e2efb..b1d8c6c2db23 100644
--- a/dev-libs/openssl/Manifest
+++ b/dev-libs/openssl/Manifest
@@ -1,8 +1,7 @@
MD5 6fbe613b51aae6d38f151388b4125695 openssl-0.9.7d-r2.ebuild 9016
MD5 8d7f8781163db66038adf0b641b9b12c openssl-0.9.8.ebuild 5324
MD5 60c5e8df5d366b67c905c00a8aeb3c72 openssl-0.9.7e-r1.ebuild 8559
-MD5 68620bfc8489164f3cd05a42729cbd4b openssl-0.9.7e.ebuild 7888
-MD5 328aa78a92d477d720c98b2bbdadf527 ChangeLog 21012
+MD5 64cc68af2d0b68f572d2637cde099364 ChangeLog 21107
MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220
MD5 b91b6b7600491807429dc884497ca2d8 openssl-0.9.7g.ebuild 5411
MD5 685c33f8a3f1980105944ab3c23a346c openssl-0.9.6m.ebuild 3074
@@ -17,7 +16,6 @@ MD5 f886f4a6a62eb4ec7bc718952d76900d files/openssl-0.9.7e-gentoo.patch 460
MD5 7483d6f0412e857e9063dce4aecf2991 files/openssl-0.9.7d-gentoo.diff 936
MD5 be045f45d974ec215ec4986c6c7b6ffb files/openssl-0.9.7g-ppc64.patch 856
MD5 2e6ed24d513a8f2b1b6f03709ab5ba18 files/digest-openssl-0.9.6m 67
-MD5 acab4ad88a6c249a7cde0511a0961a2c files/digest-openssl-0.9.7e 134
MD5 1a7aabb860415c7be612863579d67b4d files/digest-openssl-0.9.7g 67
MD5 53599279769faf50e5247b68d2907b10 files/openssl-0.9.7e-no-fips.patch 1344
MD5 42382797e3cefc7b26da8770347cf555 files/gentoo.config-0.9.7g 3233
diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7e b/dev-libs/openssl/files/digest-openssl-0.9.7e
deleted file mode 100644
index 81d2db421e96..000000000000
--- a/dev-libs/openssl/files/digest-openssl-0.9.7e
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 a8777164bca38d84e5eb2b1535223474 openssl-0.9.7e.tar.gz 3043231
-MD5 1b63bfdca1c37837dddde9f1623498f9 openssl-0.9.6m.tar.gz 2184918
diff --git a/dev-libs/openssl/openssl-0.9.7e.ebuild b/dev-libs/openssl/openssl-0.9.7e.ebuild
deleted file mode 100644
index 54b0bfa3c8d5..000000000000
--- a/dev-libs/openssl/openssl-0.9.7e.ebuild
+++ /dev/null
@@ -1,263 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7e.ebuild,v 1.16 2005/07/05 23:45:20 azarah Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-OLD_096_P="${PN}-0.9.6m"
-
-DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-HOMEPAGE="http://www.openssl.org/"
-SRC_URI="mirror://openssl/source/${P}.tar.gz
- mirror://openssl/source/${OLD_096_P}.tar.gz"
-
-LICENSE="openssl"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="emacs"
-
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- sys-apps/diffutils
- >=dev-lang/perl-5
- >=sys-apps/sed-4
- !elibc_uclibc? ( sys-devel/bc )"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- # openssl-0.9.7
- cd ${WORKDIR}/${P}
-
- epatch ${FILESDIR}/${PN}-0.9.7c-tempfile.patch
- [[ $(tc-arch) == "ppc64" ]] && epatch ${FILESDIR}/addppc64support.diff
- epatch ${FILESDIR}/${PN}-0.9.7e-gentoo.patch
- epatch ${FILESDIR}/${PN}-0.9.7-arm-big-endian.patch
- epatch ${FILESDIR}/${PN}-0.9.7-hppa-fix-detection.patch
- epatch ${FILESDIR}/${PN}-0.9.7-alpha-default-gcc.patch
-
- 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
- if [[ ${ARCH} == "ppc" || ${ARCH} == "ppc64" ]] ; then
- append-flags -fno-strict-aliasing
- fi
- ;;
- esac
-
- # 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}' )
- # for ppc64 I have to be careful given current toolchain issues
- if [[ ${ARCH} != "ppc64" ]]; then
- NEW_CFLAGS="$( echo $CUR_CFLAGS | sed -r -e "s|-O[23]||" -e "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" ) $CFLAGS"
- else
- NEW_CFLAGS="$( echo $CUR_CFLAGS | sed -r -e "s|-O[23]||" -e "s:-fomit-frame-pointer::" -e "s:-mcpu=[-a-z0-9]+::" -e "s:-m486::" ) "
-
- fi
-
- 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
-
- # openssl-0.9.6
- test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
- cd ${WORKDIR}/${OLD_096_P}
-
- epatch ${FILESDIR}/${OLD_096_P}-gentoo.diff
-
- case ${ARCH} in
- mips)
- epatch ${FILESDIR}/openssl-0.9.6-mips.diff
- ;;
- arm)
- # patch linker to add -ldl or things linking aginst libcrypto fail
- sed -i -e \
- 's!^"linux-elf-arm"\(.*\)::BN\(.*\)!"linux-elf-arm"\1:-ldl:BN\2!' \
- Configure \
- || die "sed failed"
- ;;
- hppa)
- # Tells to compile a static version of openssl
- sed -i -e \
- 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \
- Configure \
- || die "sed failed"
- # Fix detection of parisc running 64 bit kernel
- sed -i -e 's/parisc-\*-linux2/parisc\*-\*-linux2/' config \
- || die "sed failed"
- esac
-
- # 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 | sed -r -e "s|-O[23]||" -e "s/-fomit-frame-pointer//" -e "s/-mcpu=[-a-z0-9]+//" -e "s/-m486//" ) $CFLAGS"
- sed -i "${LINE}s/$CUR_CFLAGS/$NEW_CFLAGS/" Configure \
- || die "sed failed"
- done
- IFS=$OLDIFS
- }
-}
-
-src_compile() {
- # openssl-0.9.7
- cd ${WORKDIR}/${P}
-
- # Build correctly for mips, mips64, & mipsel
- if use mips; then
- if [[ ${CHOST/mipsel} != ${CHOST} ]] ; then
- mipsarch="linux-mipsel"
- else
- mipsarch="linux-mips"
- fi
-
- ./Configure ${mipsarch} --prefix=/usr --openssldir=/etc/ssl \
- shared threads || die
- # force sparcv8 on sparc32 profile
- elif [ "$PROFILE_ARCH" = "sparc" ]; then
- ./Configure linux-sparcv8 --prefix=/usr --openssldir=/etc/ssl \
- shared threads || die
- elif [ "${ABI}" = "sparc64" ]; then
- ./Configure linux64-sparcv9 --prefix=/usr --openssldir=/etc/ssl \
- shared threads || die
- else
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die "config failed"
- fi
-
- einfo "Compiling ${P}"
- make all || die "make all failed"
-
- # openssl-0.9.6
- test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
- cd ${WORKDIR}/${OLD_096_P}
-
- # force sparcv8 on sparc32 profile
- if [ "$PROFILE_ARCH" = "sparc" ]; then
- SSH_TARGET="linux-sparcv8"
- elif [ "`uname -m`" = "parisc" -o "`uname -m`" = "parisc64" ]; then
- SSH_TARGET="linux-parisc"
- elif use mips; then
- if [ "`echo ${CHOST} | grep "mipsel"`" ]; then
- SSH_TARGET="linux-mipsel"
- else
- SSH_TARGET="linux-mips"
- fi
- fi
-
- case ${CHOST} in
- alphaev56*|alphaev6*)
- SSH_TARGET="linux-alpha+bwx-${CC:-gcc}"
- ;;
- alpha*)
- SSH_TARGET="linux-alpha-${CC:-gcc}" ;;
- esac
-
- 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
-
- einfo "Compiling ${OLD_096_P}"
- make all || die
- }
-}
-
-src_test() {
- cd ${WORKDIR}/${P}
- make test || die "make test failed"
-
- # openssl-0.9.6
- test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
- cd ${WORKDIR}/${OLD_096_P}
- make all || die
- }
-}
-
-src_install() {
- # openssl-0.9.7
- cd ${WORKDIR}/${P}
- make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die
- dodoc CHANGES* FAQ LICENSE NEWS README
- dodoc 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
-
- # These man pages with other packages so rename them
- cd "${D}"/usr/share/man
- for m in man1/passwd.1 man3/rand.3 man3/err.3 ; do
- d=${m%%/*} ; m=${m##*/}
- mv ${d}/{,ssl-}${m}
- ln -s ssl-${m} ${d}/openssl-${m}
- done
-
- # openssl-0.9.6
- test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
- cd ${WORKDIR}/${OLD_096_P}
- make || die
- dolib.so ${WORKDIR}/${OLD_096_P}/libcrypto.so.0.9.6||die "libcrypto.so.0.9.6 not found"
- dolib.so ${WORKDIR}/${OLD_096_P}/libssl.so.0.9.6|| die "libssl.so.0.9.6 not found"
- }
- fperms a+x /usr/$(get_libdir)/pkgconfig #34088
-}
-
-pkg_postinst() {
- local BN_H="${ROOT}$(gcc-config -L)/include/openssl/bn.h"
- # Breaks things one some boxen, bug #13795. The problem is that
- # if we have a 'gcc fixed' version in $(gcc-config -L) from 0.9.6,
- # then breaks as it was defined as 'int BN_mod(...)' and in 0.9.7 it
- # is a define with BN_div(...) - <azarah@gentoo.org> (24 Sep 2003)
- if [ -f "${BN_H}" ] && [ -n "$(grep '^int[[:space:]]*BN_mod(' "${BN_H}")" ]
- then
- rm -f "${BN_H}"
- fi
-
- test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
- einfo "You can now re-compile all packages that are linked against"
- einfo "OpenSSL 0.9.6 by using revdep-rebuild from gentoolkit:"
- einfo "# revdep-rebuild --soname libssl.so.0.9.6"
- einfo "# revdep-rebuild --soname libcrypto.so.0.9.6"
- einfo "After this, you can delete /usr/lib/libssl.so.0.9.6 and /usr/lib/libcrypto.so.0.9.6"
- }
-
-
- ewarn "If you do not etc-update now and update /etc/ssl/misc/der_chop to the new version, your"
- ewarn "system IS VULNERABLE to a symlink attack as described in bug 68407"
- ewarn "refer to http://bugs.gentoo.org/show_bug.cgi?id=68407 if you have any doubts"
-}