Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/
Date: Mon, 28 Aug 2017 19:08:50
Message-Id: 1503947318.afff3103d8b81f06058e0b0028bd19f8decca724.robbat2@gentoo
1 commit: afff3103d8b81f06058e0b0028bd19f8decca724
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 28 19:08:03 2017 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 28 19:08:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afff3103
7
8 dev-libs/openssl: bug 629224: fix global tr.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
12
13 dev-libs/openssl/openssl-0.9.8z_p8.ebuild | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-libs/openssl/openssl-0.9.8z_p8.ebuild b/dev-libs/openssl/openssl-0.9.8z_p8.ebuild
17 index cc1b39afb2c..f6a3c0025f1 100644
18 --- a/dev-libs/openssl/openssl-0.9.8z_p8.ebuild
19 +++ b/dev-libs/openssl/openssl-0.9.8z_p8.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 # this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat
26 @@ -7,7 +7,8 @@ EAPI="5"
27
28 inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal
29
30 -PLEVEL=$(echo "${PV##*_p}" | tr '[1-9]' '[a-i]')
31 +#PLEVEL=$(printf "\\$(printf '%03o' $((${PV##*_p} + 96)))")
32 +PLEVEL='h' # _p8 -> tr '[1-9]' '[a-i]' -> 'h'
33 MY_PV=${PV/_p*/${PLEVEL}}
34 MY_P=${PN}-${MY_PV}
35 S="${WORKDIR}/${MY_P}"