diff options
| author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2022-03-21 19:22:00 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-24 09:45:25 -0700 |
| commit | fd8ccc80fb08b2aa7fbdb837d14094cb2237d71b (patch) | |
| tree | df85e3091914eaddfba3f00ca4a3d2ab52160e46 | |
| parent | b910e78a4386ede2da2836819143a0e5bd2d2144 (diff) | |
| download | meta-openembedded-fd8ccc80fb08b2aa7fbdb837d14094cb2237d71b.tar.gz | |
haveged: update from 1.9.14 to 1.9.17
Remove the daemon support code since this feature is deprecated by merging
the ideas from the HAVEGE algorithm into the kernel:
297bdf1 Update README.md
Starting from Linux kernel v5.6, the HAVEGED **service** has become obsolete.
The userspace application as well as the haveged library are not affected.
...
Update the HOMEPAGE link to https.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/haveged/haveged_1.9.14.bb | 47 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/haveged/haveged_1.9.17.bb | 26 |
2 files changed, 26 insertions, 47 deletions
diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.14.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.14.bb deleted file mode 100644 index 3e4edae9d7..0000000000 --- a/meta-oe/recipes-extended/haveged/haveged_1.9.14.bb +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | SUMMARY = "haveged - A simple entropy daemon" | ||
| 2 | DESCRIPTION = "The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. Haveged was created to remedy low-entropy conditions in the Linux random device that can occur under some workloads, especially on headless servers." | ||
| 3 | AUTHOR = "Gary Wuertz" | ||
| 4 | HOMEPAGE = "http://www.issihosts.com/haveged/index.html" | ||
| 5 | LICENSE = "GPL-3.0-only" | ||
| 6 | LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 7 | |||
| 8 | # v1.9.14 | ||
| 9 | SRCREV = "4da3080ad4587860e5da73072d6ed54d0052938c" | ||
| 10 | SRC_URI = "git://github.com/jirka-h/haveged.git;branch=master;protocol=https \ | ||
| 11 | " | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | UPSTREAM_CHECK_URI = "https://github.com/jirka-h/haveged/releases" | ||
| 15 | |||
| 16 | inherit autotools update-rc.d systemd | ||
| 17 | |||
| 18 | EXTRA_OECONF = "\ | ||
| 19 | --enable-nistest=yes \ | ||
| 20 | --enable-olt=yes \ | ||
| 21 | --enable-threads=no \ | ||
| 22 | " | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | ||
| 25 | PACKAGECONFIG[systemd] = "--enable-init=service.fedora --enable-initdir=${systemd_system_unitdir}, --enable-init=sysv.redhat, systemd" | ||
| 26 | |||
| 27 | INITSCRIPT_PACKAGES = "${PN}" | ||
| 28 | INITSCRIPT_NAME = "haveged" | ||
| 29 | INITSCRIPT_PARAMS:${PN} = "defaults 9" | ||
| 30 | |||
| 31 | SYSTEMD_PACKAGES = "${PN}" | ||
| 32 | SYSTEMD_SERVICE:${PN} = "haveged.service" | ||
| 33 | |||
| 34 | do_install:append() { | ||
| 35 | # The exit status is 143 when the service is stopped | ||
| 36 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
| 37 | sed -i '/ExecStart/a SuccessExitStatus=143' ${D}${systemd_system_unitdir}/haveged.service | ||
| 38 | # Hybrid systemd-sysvinit distros must install the initscript manually | ||
| 39 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
| 40 | install -d ${D}${INIT_D_DIR} | ||
| 41 | sed -e "s,@SBINDIR@,${sbindir},g" <${S}/init.d/sysv.redhat >${D}${INIT_D_DIR}/haveged | ||
| 42 | chmod 755 ${D}${INIT_D_DIR}/haveged | ||
| 43 | fi | ||
| 44 | fi | ||
| 45 | } | ||
| 46 | |||
| 47 | MIPS_INSTRUCTION_SET = "mips" | ||
diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.17.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.17.bb new file mode 100644 index 0000000000..25007c7773 --- /dev/null +++ b/meta-oe/recipes-extended/haveged/haveged_1.9.17.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "haveged - A simple entropy daemon" | ||
| 2 | DESCRIPTION = "The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. Haveged was created to remedy low-entropy conditions in the Linux random device that can occur under some workloads, especially on headless servers." | ||
| 3 | |||
| 4 | AUTHOR = "Gary Wuertz" | ||
| 5 | HOMEPAGE = "https://www.issihosts.com/haveged/index.html" | ||
| 6 | |||
| 7 | LICENSE = "GPL-3.0-only" | ||
| 8 | LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 9 | |||
| 10 | # v1.9.17 | ||
| 11 | SRCREV = "1ff76272aba9803501e6f473dd5083f0e09289ac" | ||
| 12 | SRC_URI = "git://github.com/jirka-h/haveged.git;branch=master;protocol=https \ | ||
| 13 | " | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | UPSTREAM_CHECK_URI = "https://github.com/jirka-h/haveged/releases" | ||
| 17 | |||
| 18 | inherit autotools | ||
| 19 | |||
| 20 | EXTRA_OECONF = "\ | ||
| 21 | --enable-nistest=yes \ | ||
| 22 | --enable-olt=yes \ | ||
| 23 | --enable-threads=no \ | ||
| 24 | " | ||
| 25 | |||
| 26 | MIPS_INSTRUCTION_SET = "mips" | ||
