aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/rng-tools/rng-tools_4.bb
diff options
context:
space:
mode:
authorBalasubramanian, Aparna <aparnab@ti.com>2014-06-25 12:27:18 -0400
committerCliff Brake <cbrake@bec-systems.com>2014-07-01 15:08:41 -0400
commitee24939c4c70b63a9fb7e93a58889a3231d3d367 (patch)
treeb8726f3907c1488633aea7c4c12d3fad59aa6e50 /meta-oe/recipes-support/rng-tools/rng-tools_4.bb
parentd436ffc7ba06107af54866f0d4ab11e4391cefb7 (diff)
downloadmeta-openembedded-ee24939c4c70b63a9fb7e93a58889a3231d3d367.tar.gz
meta-openembedded-ee24939c4c70b63a9fb7e93a58889a3231d3d367.tar.bz2
meta-openembedded-ee24939c4c70b63a9fb7e93a58889a3231d3d367.zip
rng-tools: Update rng-tools version to 4
Signed-off-by: Aparna Balasubramanian <aparnab@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> [Backport from meta-oe/master c992b1ba176af7071416c405df03633ef7bf8e20] Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Diffstat (limited to 'meta-oe/recipes-support/rng-tools/rng-tools_4.bb')
-rw-r--r--meta-oe/recipes-support/rng-tools/rng-tools_4.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/rng-tools/rng-tools_4.bb b/meta-oe/recipes-support/rng-tools/rng-tools_4.bb
new file mode 100644
index 000000000..f620d8a6f
--- /dev/null
+++ b/meta-oe/recipes-support/rng-tools/rng-tools_4.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Random number generator daemon"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+DEPENDS_append_libc-uclibc = " argp-standalone"
+
+SRC_URI = "http://heanet.dl.sourceforge.net/sourceforge/gkernel/${P}.tar.gz \
+ file://init \
+ file://default"
+
+SRC_URI[md5sum] = "ae89dbfcf08bdfbea19066cfbf599127"
+SRC_URI[sha256sum] = "b71bdfd4222c05e8316001556be90e1606f2a1bac3efde60153bd84e873cc195"
+
+inherit autotools update-rc.d
+
+do_install_append() {
+ install -d "${D}${sysconfdir}/init.d"
+ install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools
+ sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir},' \
+ ${D}${sysconfdir}/init.d/rng-tools
+
+ install -d "${D}${sysconfdir}/default"
+ install -m 0644 ${WORKDIR}/default ${D}${sysconfdir}/default
+}
+
+INITSCRIPT_NAME = "rng-tools"
+INITSCRIPT_PARAMS = "defaults"