Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 488418 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/openssl/openssl-1.0.1e-r1.ebuild (-7 / +28 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 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-1.0.1e-r1.ebuild,v 1.16 2013/10/15 01:53:27 vapier Exp $
3
# $Header: $
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit eutils flag-o-matic toolchain-funcs multilib
7
inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
8
8
9
REV="1.7"
9
REV="1.7"
10
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
10
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
Lines 14-20 Link Here
14
14
15
LICENSE="openssl"
15
LICENSE="openssl"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc -ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc -ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
18
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
18
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
19
19
20
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
20
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
Lines 26-31 Link Here
26
# version that lack runtime version checking.  We'll drop them in
26
# version that lack runtime version checking.  We'll drop them in
27
# the future.
27
# the future.
28
RDEPEND="static-libs? ( ${LIB_DEPEND} )
28
RDEPEND="static-libs? ( ${LIB_DEPEND} )
29
	abi_x86_32? (
30
		!<=app-emulation/emul-linux-x86-baselibs-20131008-r5
31
		!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
32
	)
29
	!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
33
	!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
30
	!<net-misc/openssh-5.9_p1-r4
34
	!<net-misc/openssh-5.9_p1-r4
31
	!<net-libs/neon-0.29.6-r1"
35
	!<net-libs/neon-0.29.6-r1"
Lines 35-40 Link Here
35
	test? ( sys-devel/bc )"
39
	test? ( sys-devel/bc )"
36
PDEPEND="app-misc/ca-certificates"
40
PDEPEND="app-misc/ca-certificates"
37
41
42
MULTILIB_WRAPPED_HEADERS=(
43
	usr/include/openssl/rand.h
44
	usr/include/openssl/modes.h
45
	usr/include/openssl/seed.h
46
	usr/include/openssl/opensslconf.h
47
	usr/include/openssl/kssl.h
48
	usr/include/openssl/opensslconf.h
49
	usr/include/openssl/srtp.h
50
	usr/include/openssl/ossl_typ.h
51
	usr/include/openssl/sha.h
52
)
53
38
src_unpack() {
54
src_unpack() {
39
	unpack ${P}.tar.gz
55
	unpack ${P}.tar.gz
40
	SSL_CNF_DIR="/etc/ssl"
56
	SSL_CNF_DIR="/etc/ssl"
Lines 88-96 Link Here
88
	# The config script does stupid stuff to prompt the user.  Kill it.
104
	# The config script does stupid stuff to prompt the user.  Kill it.
89
	sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
105
	sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
90
	./config --test-sanity || die "I AM NOT SANE"
106
	./config --test-sanity || die "I AM NOT SANE"
107
	multilib_copy_sources
91
}
108
}
92
109
93
src_configure() {
110
multilib_src_configure() {
94
	unset APPS #197996
111
	unset APPS #197996
95
	unset SCRIPTS #312551
112
	unset SCRIPTS #312551
96
	unset CROSS_COMPILE #311473
113
	unset CROSS_COMPILE #311473
Lines 123-128 Link Here
123
	einfo "Use configuration ${sslout:-(openssl knows best)}"
140
	einfo "Use configuration ${sslout:-(openssl knows best)}"
124
	local config="Configure"
141
	local config="Configure"
125
	[[ -z ${sslout} ]] && config="config"
142
	[[ -z ${sslout} ]] && config="config"
143
	ECONF_SOURCE=${S} \
126
	echoit \
144
	echoit \
127
	./${config} \
145
	./${config} \
128
		${sslout} \
146
		${sslout} \
Lines 160-166 Link Here
160
		Makefile || die
178
		Makefile || die
161
}
179
}
162
180
163
src_compile() {
181
multilib_src_compile() {
164
	# depend is needed to use $confopts; it also doesn't matter
182
	# depend is needed to use $confopts; it also doesn't matter
165
	# that it's -j1 as the code itself serializes subdirs
183
	# that it's -j1 as the code itself serializes subdirs
166
	emake -j1 depend
184
	emake -j1 depend
Lines 170-181 Link Here
170
	emake rehash
188
	emake rehash
171
}
189
}
172
190
173
src_test() {
191
multilib_src_test() {
174
	emake -j1 test
192
	emake -j1 test
175
}
193
}
176
194
177
src_install() {
195
multilib_src_install() {
178
	emake INSTALL_PREFIX="${D}" install
196
	emake INSTALL_PREFIX="${D}" install
197
}
198
199
multilib_src_install_all() {
179
	dobin "${WORKDIR}"/c_rehash #333117
200
	dobin "${WORKDIR}"/c_rehash #333117
180
	dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
201
	dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
181
	dohtml -r doc/*
202
	dohtml -r doc/*

Return to bug 488418