Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 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 = "GPLv3" |
| 6 | LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 7 | |
| 8 | SRC_URI = "http://www.issihosts.com/haveged/haveged-${PV}.tar.gz \ |
| 9 | file://remove-systemd-unit-503.patch \ |
| 10 | " |
| 11 | |
| 12 | SRC_URI[md5sum] = "015ff58cd10607db0e0de60aeca2f5f8" |
| 13 | SRC_URI[sha256sum] = "9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715" |
| 14 | |
| 15 | PR = "r0" |
| 16 | |
| 17 | inherit autotools systemd |
| 18 | |
| 19 | EXTRA_OECONF = "\ |
| 20 | --enable-init=service.redhat \ |
| 21 | --enable-nistest=yes \ |
| 22 | --enable-olt=yes \ |
| 23 | --enable-threads=no \ |
| 24 | " |
| 25 | |
| 26 | SYSTEMD_PACKAGES = "${PN}" |
| 27 | SYSTEMD_SERVICE_${PN} = "haveged.service" |
| 28 | |
| 29 | do_install_append() { |
| 30 | mkdir -p ${D}${systemd_unitdir}/system |
| 31 | install -p -m644 ${B}/init.d/haveged.service ${D}${systemd_unitdir}/system |
| 32 | } |