sys-apps/frandom: initial commit of frandom from bug #325541, minor modifications...
authorZero_Chaos <zerochaos@gentoo.org>
Wed, 6 Apr 2016 18:10:10 +0000 (14:10 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Wed, 6 Apr 2016 18:10:27 +0000 (14:10 -0400)
Package-Manager: portage-2.2.28

sys-apps/frandom/Manifest [new file with mode: 0644]
sys-apps/frandom/frandom-1.1.ebuild [new file with mode: 0644]
sys-apps/frandom/metadata.xml [new file with mode: 0644]

diff --git a/sys-apps/frandom/Manifest b/sys-apps/frandom/Manifest
new file mode 100644 (file)
index 0000000..b5c38d5
--- /dev/null
@@ -0,0 +1 @@
+DIST frandom-1.1.tar.gz 8146 SHA256 9ad27d13cb5087e4c061b03da46963d9581b26ed625e1dfe79982b07c9f42f97 SHA512 f64bd1bc1482d223f84f344554b04a4a413be32cf6c348e006b831e68eea0165f1231e194536bb6867450dfc901e80e765e71ba6369209ce579597ad1cdfdeaf WHIRLPOOL 9eb8226348627b2f2ab7d36fc8f240b8860e00446b1b12a96fee77a8d8d90b02f9c5f6621f539d000ef561d333a7adaf065930fe7858ce7af2b4fd8b90b036fa
diff --git a/sys-apps/frandom/frandom-1.1.ebuild b/sys-apps/frandom/frandom-1.1.ebuild
new file mode 100644 (file)
index 0000000..277faaf
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit linux-mod udev
+
+DESCRIPTION="Fast kernel-land pseudo-random number generator using the RC4 algorithm"
+HOMEPAGE="http://billauer.co.il/frandom.html"
+SRC_URI="mirror://sourceforge/project/frandom//${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="strip"
+
+BUILD_TARGETS="default"
+BUILD_TARGET_ARCH="${ARCH}"
+MODULE_NAMES="frandom(misc)"
+
+src_prepare() {
+       sed -i -e "s:\$(shell uname -r):${KV_FULL}:" "${S}"/Makefile || die "sed failed"
+}
+
+src_install() {
+       linux-mod_src_install
+
+       udev_dorules "${S}"/10-${PN}.rules
+}
diff --git a/sys-apps/frandom/metadata.xml b/sys-apps/frandom/metadata.xml
new file mode 100644 (file)
index 0000000..3d7c3da
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>zerochaos@gentoo.org</email>
+    <name>Rick Farina</name>
+    <description>maintainer</description>
+  </maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>