summaryrefslogtreecommitdiff
path: root/app-crypt/scdrand
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /app-crypt/scdrand
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'app-crypt/scdrand')
-rw-r--r--app-crypt/scdrand/Manifest3
-rw-r--r--app-crypt/scdrand/metadata.xml8
-rw-r--r--app-crypt/scdrand/scdrand-0.3.4.ebuild34
3 files changed, 45 insertions, 0 deletions
diff --git a/app-crypt/scdrand/Manifest b/app-crypt/scdrand/Manifest
new file mode 100644
index 000000000000..02216e9cac8c
--- /dev/null
+++ b/app-crypt/scdrand/Manifest
@@ -0,0 +1,3 @@
+DIST scdtools-0.3.4.tar.gz 254227 BLAKE2B d2959d1be860b4809f4b20b5b3e2b06534bb49220b6818b4ac9c8e73751c31dfa4a6c0200cc6bbb33d4a627f0d55b1c3cefda3def6a78bde925a0c58d9c0429a SHA512 ff25f6360c9bd73e63cefd8fe37103dc1ef2528d87ddf7c1006e913c921e78569ff6f12096d1407bfabf626e73376f13e25f606f8c45cba79803689176801b73
+EBUILD scdrand-0.3.4.ebuild 725 BLAKE2B 4e17b08da3816d491153209c6bdec8eac2f3e81acc63134972b534fad2db20abd610a9bbb196de2a0407f35a34aff5edc5ac47bcf265be8ff245a9b2638c204e SHA512 297cc015cf40cceba7fea13b837b715698d9aaf61f9efb97efdd6ddaa0d5b82df2026686850620a99f42b35fa923897f26e7ddcbdd59a2ba499d22acc8e9d728
+MISC metadata.xml 247 BLAKE2B 1750cec57189e711ca5eba89a78e1d317f0839fa53564fbd39b4e955c28d98f4ae04caf9069afc20a18536cdc92b30fe7b15eb086767c742bad07d9980cfd24b SHA512 d6e2ea8a9d74791bcbf3d6311a66bafc20b8f4db3a576d9a8d54b86d7afb231122b8d87f71f3f46360980adf8d815c633b6d5041f9a30fc8656e8fb66057a282
diff --git a/app-crypt/scdrand/metadata.xml b/app-crypt/scdrand/metadata.xml
new file mode 100644
index 000000000000..0319eec4c8be
--- /dev/null
+++ b/app-crypt/scdrand/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 type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/scdrand/scdrand-0.3.4.ebuild b/app-crypt/scdrand/scdrand-0.3.4.ebuild
new file mode 100644
index 000000000000..a440b78d2180
--- /dev/null
+++ b/app-crypt/scdrand/scdrand-0.3.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P=scdtools-${PV}
+DESCRIPTION="Feed kernel entropy pool from smartcard's TRNG"
+HOMEPAGE="https://incenp.org/dvlpt/scdtools.html"
+SRC_URI="https://incenp.org/files/softs/scdtools/$(ver_cut 1-2)/${MY_P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/libgcrypt:=
+ dev-libs/libassuan:=
+ dev-libs/libgpg-error:="
+RDEPEND="${DEPEND}
+ app-crypt/gnupg"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ emake -C lib
+ emake -C src scdrand
+}
+
+src_test() { :; }
+
+src_install() {
+ emake DESTDIR="${D}" -C man man_MANS="scdrand.1" install
+ emake DESTDIR="${D}" -C src bin_PROGRAMS="scdrand" install
+}