commit:     09d5a7b0ce9ff87dc6d8ad80f25e0028a55f3770
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 02:21:21 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 02:38:59 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d5a7b0

app-misc/c_rehash: bump to latest upstream #572790 #573786

Switch to latest upstream github to get newer versions. #573786

Also add openssl to RDEPEND since we execute it directly. #572790

This version won't get pulled in directly yet.  We'll have to move the
1.7-r1 version in a future change, but we need to update the openssl
and ca-certificates packages first.

 app-misc/c_rehash/Manifest                  |  1 +
 app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild | 35 +++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/app-misc/c_rehash/Manifest b/app-misc/c_rehash/Manifest
index f31dde2..8484380 100644
--- a/app-misc/c_rehash/Manifest
+++ b/app-misc/c_rehash/Manifest
@@ -1 +1,2 @@
+DIST openssl-1.0.2g-8.tar.gz 21497 SHA256 
69e153c62a9a583a097c713be78fb19a7c494b248f1f502f7d47309109a2e105 SHA512 
1b8c0cf8d21f2c9f2f32b4442e02a0832ab9cf9d4ec9943b20ec8363df916bfb218da26b9cbc79783090dea01a9b04accd797c3dada893ac767565ab32047eeb
 WHIRLPOOL 
21e4f5ca6d38b31962d55f8e85d3f9e21615aa9f701567058d5638e0422f072cde4ea4227d3a426b20b4434392d2e3cfe85420c94d7d4d8de69639adcb00065e
 DIST openssl-c_rehash.sh.1.7 4167 SHA256 
4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 
55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da
 WHIRLPOOL 
c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1

diff --git a/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild 
b/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild
new file mode 100644
index 0000000..b15751d
--- /dev/null
+++ b/app-misc/c_rehash/c_rehash-1.0.2g_p8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+MY_P="openssl-${PV/_p/-}"
+
+DESCRIPTION="c_rehash script written in POSIX shell for OpenSSL"
+HOMEPAGE="https://www.openssl.org/ https://github.com/pld-linux/openssl/";
+SRC_URI="https://github.com/pld-linux/openssl/archive/auto/th/${MY_P}.tar.gz";
+
+LICENSE="openssl"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux 
~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="libressl"
+
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0 )
+       libressl? ( dev-libs/libressl:0 )
+"
+
+S="${WORKDIR}/openssl-auto-th-${MY_P}"
+
+src_prepare() {
+       SSL_CNF_DIR="/etc/ssl"
+       sed -i \
+               -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
+               -e '1iOPENSSL=openssl' \
+               openssl-c_rehash.sh || die #416717
+}
+
+src_install() {
+       newbin openssl-c_rehash.sh c_rehash
+}

Reply via email to