Line
Link Here
|
0 |
-- /usr/portage/dev-libs/openssl/openssl-1.0.2d.ebuild |
0 |
++ /usr/portage/dev-libs/openssl/openssl-1.0.2d-r1.ebuild |
Lines 10-28
Link Here
|
10 |
MY_P=${P/_/-} |
10 |
MY_P=${P/_/-} |
11 |
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)" |
11 |
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)" |
12 |
HOMEPAGE="http://www.openssl.org/" |
12 |
HOMEPAGE="http://www.openssl.org/" |
13 |
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz |
13 |
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz" |
14 |
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}" |
|
|
15 |
|
14 |
|
16 |
LICENSE="openssl" |
15 |
LICENSE="openssl" |
17 |
SLOT="0" |
16 |
SLOT="0" |
18 |
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" |
17 |
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" |
19 |
IUSE="+asm bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 static-libs test +tls-heartbeat vanilla zlib" |
18 |
IUSE="+asm bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 static-libs test +tls-heartbeat vanilla zlib" |
20 |
RESTRICT="!bindist? ( bindist )" |
19 |
RESTRICT="!bindist? ( bindist )" |
21 |
|
20 |
|
22 |
# The blocks are temporary just to make sure people upgrade to a |
21 |
# The blocks are temporary just to make sure people upgrade to a |
23 |
# version that lack runtime version checking. We'll drop them in |
22 |
# version that lack runtime version checking. We'll drop them in |
24 |
# the future. |
23 |
# the future. |
25 |
RDEPEND="gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
24 |
RDEPEND=">=app-misc/c_rehash-1.7-r1 |
|
|
25 |
gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
26 |
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
26 |
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) |
27 |
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] ) |
27 |
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] ) |
28 |
abi_x86_32? ( |
28 |
abi_x86_32? ( |
Lines 45-56
Link Here
|
45 |
) |
45 |
) |
46 |
|
46 |
|
47 |
src_prepare() { |
47 |
src_prepare() { |
|
|
48 |
# keep this in sync with app-misc/c_rehash |
48 |
SSL_CNF_DIR="/etc/ssl" |
49 |
SSL_CNF_DIR="/etc/ssl" |
49 |
sed \ |
|
|
50 |
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \ |
51 |
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \ |
52 |
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \ |
53 |
> "${WORKDIR}"/c_rehash || die #416717 |
54 |
|
50 |
|
55 |
# Make sure we only ever touch Makefile.org and avoid patching a file |
51 |
# Make sure we only ever touch Makefile.org and avoid patching a file |
56 |
# that gets blown away anyways by the Configure script in src_configure |
52 |
# that gets blown away anyways by the Configure script in src_configure |
Lines 204-210
Link Here
|
204 |
} |
200 |
} |
205 |
|
201 |
|
206 |
multilib_src_install_all() { |
202 |
multilib_src_install_all() { |
207 |
dobin "${WORKDIR}"/c_rehash #333117 |
|
|
208 |
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el |
203 |
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el |
209 |
dohtml -r doc/* |
204 |
dohtml -r doc/* |
210 |
use rfc3779 && dodoc engines/ccgost/README.gost |
205 |
use rfc3779 && dodoc engines/ccgost/README.gost |