diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-11-18 16:51:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-21 23:08:20 +0000 |
commit | 11e6ba7503f2f93a56d896eada5a3056fbf8a08c (patch) | |
tree | 9d2004d6a7a0c622f7f2879e23922226966d1b1c /meta/recipes-support/rng-tools/rng-tools_6.7.bb | |
parent | 191265a935d23275732c329fe935b82140fb12a4 (diff) | |
download | poky-11e6ba7503f2f93a56d896eada5a3056fbf8a08c.tar.gz |
rng-tools: upgrade 6.7 -> 6.8
(From OE-Core rev: 1c6f29a7dc6172c4ddaca4a74bb5c178ead14182)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools_6.7.bb')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools_6.7.bb | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools_6.7.bb b/meta/recipes-support/rng-tools/rng-tools_6.7.bb deleted file mode 100644 index b4e453f67f..0000000000 --- a/meta/recipes-support/rng-tools/rng-tools_6.7.bb +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | SUMMARY = "Random number generator daemon" | ||
2 | DESCRIPTION = "Check and feed random data from hardware device to kernel" | ||
3 | AUTHOR = "Philipp Rumpf, Jeff Garzik <jgarzik@pobox.com>, \ | ||
4 | Henrique de Moraes Holschuh <hmh@debian.org>" | ||
5 | HOMEPAGE = "https://github.com/nhorman/rng-tools" | ||
6 | BUGTRACKER = "https://github.com/nhorman/rng-tools/issues" | ||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
9 | DEPENDS = "sysfsutils" | ||
10 | |||
11 | SRC_URI = "\ | ||
12 | git://github.com/nhorman/rng-tools.git \ | ||
13 | file://init \ | ||
14 | file://default \ | ||
15 | file://rngd.service \ | ||
16 | " | ||
17 | SRCREV = "9fc873c5af0e392632e6b736938b811f7ca97251" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit autotools update-rc.d systemd pkgconfig | ||
22 | |||
23 | PACKAGECONFIG ??= "libgcrypt libjitterentropy" | ||
24 | PACKAGECONFIG_libc-musl = "libargp libjitterentropy" | ||
25 | |||
26 | PACKAGECONFIG[libargp] = "--with-libargp,--without-libargp,argp-standalone," | ||
27 | PACKAGECONFIG[libgcrypt] = "--with-libgcrypt,--without-libgcrypt,libgcrypt," | ||
28 | PACKAGECONFIG[libjitterentropy] = "--enable-jitterentropy,--disable-jitterentropy,libjitterentropy" | ||
29 | PACKAGECONFIG[libp11] = "--with-pkcs11,--without-pkcs11,libp11 openssl" | ||
30 | PACKAGECONFIG[nistbeacon] = "--with-nistbeacon,--without-nistbeacon,curl libxml2 openssl" | ||
31 | |||
32 | INITSCRIPT_NAME = "rng-tools" | ||
33 | INITSCRIPT_PARAMS = "start 03 2 3 4 5 . stop 30 0 6 1 ." | ||
34 | |||
35 | SYSTEMD_SERVICE_${PN} = "rngd.service" | ||
36 | |||
37 | # Refer autogen.sh in rng-tools | ||
38 | do_configure_prepend() { | ||
39 | cp ${S}/README.md ${S}/README | ||
40 | } | ||
41 | |||
42 | do_install_append() { | ||
43 | install -Dm 0644 ${WORKDIR}/default ${D}${sysconfdir}/default/rng-tools | ||
44 | install -Dm 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rng-tools | ||
45 | install -Dm 0644 ${WORKDIR}/rngd.service \ | ||
46 | ${D}${systemd_system_unitdir}/rngd.service | ||
47 | sed -i \ | ||
48 | -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | ||
49 | -e 's,@SBINDIR@,${sbindir},g' \ | ||
50 | ${D}${sysconfdir}/init.d/rng-tools \ | ||
51 | ${D}${systemd_system_unitdir}/rngd.service | ||
52 | } | ||