diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-04-23 22:24:28 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-26 21:50:04 +0200 |
commit | 80ed857db41f7fffe7091fcd3a1931ff977fada5 (patch) | |
tree | 1d5ab46fd830a39e6d65b2e07a9abc1765b62467 /app-crypt/scdrand | |
parent | net-misc/dhcpcd: arm64 stable (bug #684430) (diff) | |
download | gentoo-80ed857db41f7fffe7091fcd3a1931ff977fada5.tar.gz gentoo-80ed857db41f7fffe7091fcd3a1931ff977fada5.tar.bz2 gentoo-80ed857db41f7fffe7091fcd3a1931ff977fada5.zip |
app-crypt/scdrand: Initial ebuild for 0.3.4
Initial ebuild for scdrand, the tool to feed kernel's random thingy
from smartcard (e.g. Nitrokey).
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-crypt/scdrand')
-rw-r--r-- | app-crypt/scdrand/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/scdrand/metadata.xml | 8 | ||||
-rw-r--r-- | app-crypt/scdrand/scdrand-0.3.4.ebuild | 34 |
3 files changed, 43 insertions, 0 deletions
diff --git a/app-crypt/scdrand/Manifest b/app-crypt/scdrand/Manifest new file mode 100644 index 000000000000..a91e0fbfebdb --- /dev/null +++ b/app-crypt/scdrand/Manifest @@ -0,0 +1 @@ +DIST scdtools-0.3.4.tar.gz 254227 BLAKE2B d2959d1be860b4809f4b20b5b3e2b06534bb49220b6818b4ac9c8e73751c31dfa4a6c0200cc6bbb33d4a627f0d55b1c3cefda3def6a78bde925a0c58d9c0429a SHA512 ff25f6360c9bd73e63cefd8fe37103dc1ef2528d87ddf7c1006e913c921e78569ff6f12096d1407bfabf626e73376f13e25f606f8c45cba79803689176801b73 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 +} |