| OLD | NEW |
| 1 # Copyright 1999-2010 Gentoo Foundation | 1 # Copyright 1999-2010 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8o.ebuild,v 1.6
2010/06/21 20:43:49 maekke Exp $ | 3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8o.ebuild,v 1.6
2010/06/21 20:43:49 maekke Exp $ |
| 4 | 4 |
| 5 inherit eutils flag-o-matic toolchain-funcs | 5 inherit eutils flag-o-matic toolchain-funcs |
| 6 | 6 |
| 7 DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" | 7 DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" |
| 8 HOMEPAGE="http://www.openssl.org/" | 8 HOMEPAGE="http://www.openssl.org/" |
| 9 SRC_URI="mirror://openssl/source/${P}.tar.gz" | 9 SRC_URI="mirror://openssl/source/${P}.tar.gz" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 PDEPEND="app-misc/ca-certificates" | 23 PDEPEND="app-misc/ca-certificates" |
| 24 | 24 |
| 25 src_unpack() { | 25 src_unpack() { |
| 26 unpack ${A} | 26 unpack ${A} |
| 27 cd "${S}" | 27 cd "${S}" |
| 28 | 28 |
| 29 epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch | 29 epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch |
| 30 epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch | 30 epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch |
| 31 epatch "${FILESDIR}"/${PN}-0.9.8h-ldflags.patch #181438 | 31 epatch "${FILESDIR}"/${PN}-0.9.8h-ldflags.patch #181438 |
| 32 epatch "${FILESDIR}"/${PN}-0.9.8m-binutils.patch #289130 | 32 epatch "${FILESDIR}"/${PN}-0.9.8m-binutils.patch #289130 |
| 33 epatch "${FILESDIR}"/${PN}-pkcs11-engine.patch |
| 33 | 34 |
| 34 # disable fips in the build | 35 # disable fips in the build |
| 35 # make sure the man pages are suffixed #302165 | 36 # make sure the man pages are suffixed #302165 |
| 36 # don't bother building man pages if they're disabled | 37 # don't bother building man pages if they're disabled |
| 37 sed -i \ | 38 sed -i \ |
| 38 -e '/DIRS/s: fips : :g' \ | 39 -e '/DIRS/s: fips : :g' \ |
| 39 -e '/^MANSUFFIX/s:=.*:=ssl:' \ | 40 -e '/^MANSUFFIX/s:=.*:=ssl:' \ |
| 40 -e '/^MAKEDEPPROG/s:=.*:=$(CC):' \ | 41 -e '/^MAKEDEPPROG/s:=.*:=$(CC):' \ |
| 41 -e $(has noman FEATURES \ | 42 -e $(has noman FEATURES \ |
| 42 && echo '/^install:/s:install_docs::' \ | 43 && echo '/^install:/s:install_docs::' \ |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 keepdir /etc/ssl/private | 163 keepdir /etc/ssl/private |
| 163 } | 164 } |
| 164 | 165 |
| 165 pkg_preinst() { | 166 pkg_preinst() { |
| 166 preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} | 167 preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} |
| 167 } | 168 } |
| 168 | 169 |
| 169 pkg_postinst() { | 170 pkg_postinst() { |
| 170 preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} | 171 preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} |
| 171 } | 172 } |
| OLD | NEW |