1 |
commit: ddb26efe19091b3285ab0f94c7f958cf2e3ac200 |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 1 09:26:29 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 09:26:29 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb26efe |
7 |
|
8 |
app-misc/c_rehash: update openssl blocker |
9 |
|
10 |
Gentoo-Bug: 561852 |
11 |
|
12 |
app-misc/c_rehash/c_rehash-1.7-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 32 insertions(+) |
14 |
|
15 |
diff --git a/app-misc/c_rehash/c_rehash-1.7-r1.ebuild b/app-misc/c_rehash/c_rehash-1.7-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..6a01f8c |
18 |
--- /dev/null |
19 |
+++ b/app-misc/c_rehash/c_rehash-1.7-r1.ebuild |
20 |
@@ -0,0 +1,32 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+DESCRIPTION="c_rehash script from OpenSSL" |
28 |
+HOMEPAGE="http://www.openssl.org/" |
29 |
+SRC_URI="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}" |
30 |
+ |
31 |
+LICENSE="openssl" |
32 |
+SLOT="0" |
33 |
+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" |
34 |
+IUSE="" |
35 |
+ |
36 |
+RDEPEND="!<dev-libs/openssl-1.0.2d-r1:0" |
37 |
+DEPEND="${RDEPEND}" |
38 |
+ |
39 |
+S=${WORKDIR} |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ SSL_CNF_DIR="/etc/ssl" |
43 |
+ sed \ |
44 |
+ -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \ |
45 |
+ -e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \ |
46 |
+ "${DISTDIR}"/openssl-c_rehash.sh.${PV} \ |
47 |
+ > "${WORKDIR}"/c_rehash || die #416717 |
48 |
+} |
49 |
+ |
50 |
+src_install() { |
51 |
+ dobin "${WORKDIR}"/c_rehash |
52 |
+} |