Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376318 Details for
Bug 488418
dev-libs/openssl - Add gx86-multilib support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openssl-1.0.1g.ebuild.patch
openssl-1.0.1g.ebuild.patch (text/plain), 3.42 KB, created by
Michael Mair-Keimberger (mm1ke)
on 2014-05-04 10:17:38 UTC
(
hide
)
Description:
openssl-1.0.1g.ebuild.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (mm1ke)
Created:
2014-05-04 10:17:38 UTC
Size:
3.42 KB
patch
obsolete
>--- /usr/portage/dev-libs/openssl/openssl-1.0.1g.ebuild 2014-04-29 21:31:11.000000000 +0200 >+++ openssl-1.0.1g.ebuild 2014-05-04 12:15:46.000000000 +0200 >@@ -4,7 +4,7 @@ > > EAPI="4" > >-inherit eutils flag-o-matic toolchain-funcs multilib >+inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal > > REV="1.7" > DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)" >@@ -17,16 +17,16 @@ > KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux" > IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib" > >-# Have the sub-libs in RDEPEND with [static-libs] since, logically, >-# our libssl.a depends on libz.a/etc... at runtime. >-LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] ) >- zlib? ( sys-libs/zlib[static-libs(+)] ) >- kerberos? ( app-crypt/mit-krb5 )" > # The blocks are temporary just to make sure people upgrade to a > # version that lack runtime version checking. We'll drop them in > # the future. >-RDEPEND="static-libs? ( ${LIB_DEPEND} ) >- !static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} ) >+RDEPEND="gmp? ( dev-libs/gmp[static-libs?,${MULTILIB_USEDEP}] ) >+ zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] ) >+ kerberos? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) >+ abi_x86_32? ( >+ !<=app-emulation/emul-linux-x86-baselibs-20131008-r5 >+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] >+ ) > !<net-misc/openssh-5.9_p1-r4 > !<net-libs/neon-0.29.6-r1" > DEPEND="${RDEPEND} >@@ -35,17 +35,26 @@ > test? ( sys-devel/bc )" > PDEPEND="app-misc/ca-certificates" > >-src_unpack() { >- unpack ${P}.tar.gz >+MULTILIB_WRAPPED_HEADERS=( >+ usr/include/openssl/rand.h >+ usr/include/openssl/modes.h >+ usr/include/openssl/seed.h >+ usr/include/openssl/opensslconf.h >+ usr/include/openssl/kssl.h >+ usr/include/openssl/opensslconf.h >+ usr/include/openssl/srtp.h >+ usr/include/openssl/ossl_typ.h >+ usr/include/openssl/sha.h >+) >+ >+src_prepare() { > SSL_CNF_DIR="/etc/ssl" > sed \ > -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \ > -e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \ > "${DISTDIR}"/${PN}-c_rehash.sh.${REV} \ > > "${WORKDIR}"/c_rehash || die #416717 >-} > >-src_prepare() { > # Make sure we only ever touch Makefile.org and avoid patching a file > # that gets blown away anyways by the Configure script in src_configure > rm -f Makefile >@@ -89,9 +98,10 @@ > # The config script does stupid stuff to prompt the user. Kill it. > sed -i '/stty -icanon min 0 time 50; read waste/d' config || die > ./config --test-sanity || die "I AM NOT SANE" >+ multilib_copy_sources > } > >-src_configure() { >+multilib_src_configure() { > unset APPS #197996 > unset SCRIPTS #312551 > unset CROSS_COMPILE #311473 >@@ -125,6 +135,7 @@ > einfo "Use configuration ${sslout:-(openssl knows best)}" > local config="Configure" > [[ -z ${sslout} ]] && config="config" >+ > echoit \ > ./${config} \ > ${sslout} \ >@@ -162,7 +173,7 @@ > Makefile || die > } > >-src_compile() { >+multilib_src_compile() { > # depend is needed to use $confopts; it also doesn't matter > # that it's -j1 as the code itself serializes subdirs > emake -j1 depend >@@ -172,12 +183,15 @@ > emake rehash > } > >-src_test() { >+multilib_src_test() { > emake -j1 test > } > >-src_install() { >+multilib_src_install() { > emake INSTALL_PREFIX="${D}" install >+} >+ >+multilib_src_install_all() { > dobin "${WORKDIR}"/c_rehash #333117 > dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el > dohtml -r doc/*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 488418
:
361152
|
361154
|
361156
|
367068
|
367086
| 376318