Also updated the metadata.xml.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10258
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <longdescription>
+ OneRNG is an entropy source / hardware random number generator (HWRNG),
+ designed to be connected via USB to your computer. Entropy is collected
+ from an avalanche diode circuit and optionally an RF circuit,
+ whitened and presented over a USB/Serial connection.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/OneRNG/onerng.github.io/issues</bugs-to>
+ <remote-id type="github">OneRNG/onerng.github.io</remote-id>
+ </upstream>
</pkgmetadata>
--- /dev/null
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/-/_}"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+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/${MY_P}.orig.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 LGPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="virtual/pkgconfig"
+
+DEPEND="virtual/udev"
+
+RDEPEND="
+ ${DEPEND}
+ app-crypt/gnupg
+ dev-python/python-gnupg[${PYTHON_USEDEP}]
+ sys-apps/rng-tools
+ sys-process/at
+"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}