summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/c_rehash')
-rw-r--r--app-misc/c_rehash/Manifest1
-rw-r--r--app-misc/c_rehash/c_rehash-1.7.ebuild32
-rw-r--r--app-misc/c_rehash/metadata.xml8
3 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/c_rehash/Manifest b/app-misc/c_rehash/Manifest
new file mode 100644
index 000000000000..f31dde2fbb05
--- /dev/null
+++ b/app-misc/c_rehash/Manifest
@@ -0,0 +1 @@
+DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
diff --git a/app-misc/c_rehash/c_rehash-1.7.ebuild b/app-misc/c_rehash/c_rehash-1.7.ebuild
new file mode 100644
index 000000000000..8b2d6b636b16
--- /dev/null
+++ b/app-misc/c_rehash/c_rehash-1.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="c_rehash script from OpenSSL"
+HOMEPAGE="http://www.openssl.org/"
+SRC_URI="http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openssl/openssl-c_rehash.sh?rev=${PV} -> openssl-c_rehash.sh.${PV}"
+
+LICENSE="openssl"
+SLOT="0"
+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"
+IUSE=""
+
+RDEPEND="!dev-libs/openssl:0"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ SSL_CNF_DIR="/etc/ssl"
+ sed \
+ -e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
+ -e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
+ "${DISTDIR}"/openssl-c_rehash.sh.${PV} \
+ > "${WORKDIR}"/c_rehash || die #416717
+}
+
+src_install() {
+ dobin "${WORKDIR}"/c_rehash
+}
diff --git a/app-misc/c_rehash/metadata.xml b/app-misc/c_rehash/metadata.xml
new file mode 100644
index 000000000000..a309a9b4706a
--- /dev/null
+++ b/app-misc/c_rehash/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>