summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/onerng')
-rw-r--r--sys-apps/onerng/Manifest1
-rw-r--r--sys-apps/onerng/metadata.xml12
-rw-r--r--sys-apps/onerng/onerng-3.6.ebuild35
3 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/onerng/Manifest b/sys-apps/onerng/Manifest
new file mode 100644
index 000000000000..44cc68c1624c
--- /dev/null
+++ b/sys-apps/onerng/Manifest
@@ -0,0 +1 @@
+DIST onerng-3.6.tar.gz 108126 BLAKE2B 717fc2b795aa991fdca28e2032da0a7729c487cb684361799421f806f60ae4cb70e8d29cd72de2eec9bdf38e4bf1d530261fc19bfbee6e95360a7648b8a45858 SHA512 d2f2bceb458e1441c4321526e5477ecb26df9f84e8554df723b97c3f09ad4c04149ac844bb88a182abf5350566cd5762c35137ba3c6b71685671a69ba12ccc58
diff --git a/sys-apps/onerng/metadata.xml b/sys-apps/onerng/metadata.xml
new file mode 100644
index 000000000000..54d5423c4060
--- /dev/null
+++ b/sys-apps/onerng/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-apps/onerng/onerng-3.6.ebuild b/sys-apps/onerng/onerng-3.6.ebuild
new file mode 100644
index 000000000000..811776a17c32
--- /dev/null
+++ b/sys-apps/onerng/onerng-3.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit python-r1 udev
+
+DESCRIPTION="Software for the Open Hardware Random Number Generator called OneRNG"
+HOMEPAGE="https://www.onerng.info/"
+SRC_URI="https://github.com/OneRNG/onerng.github.io/raw/master/sw/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-crypt/gnupg
+ dev-python/python-gnupg[${PYTHON_USEDEP}]
+ sys-apps/rng-tools
+ sys-process/at
+ virtual/udev"
+
+DEPEND="virtual/pkgconfig
+ virtual/udev"
+
+S="${WORKDIR}/${PN}_${PV}"
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}