1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils flag-o-matic toolchain-funcs
8 DESCRIPTION="A timer-based entropy generator"
9 HOMEPAGE="http://www.vanheusden.com/te/"
10 SRC_URI="http://www.vanheusden.com/te/${P}.tgz"
14 KEYWORDS="amd64 ~arm ~mips x86"
17 RDEPEND="selinux? ( sec-policy/selinux-entropyd )"
20 sed -i -e 's:-O2::' Makefile || die
21 epatch "${FILESDIR}"/${PN}-0.1-syslog.patch
25 use debug && append-cppflags -D_DEBUG
34 dodoc Changes readme.txt
35 newinitd "${FILESDIR}/timer_entropyd.initd.1" ${PN} || die
39 elog "To start ${PN} at boot do rc-update add ${PN} default"
40 elog "To start ${PN} now do /etc/init.d/${PN} start"
41 elog "To check the amount of entropy, cat /proc/sys/kernel/random/entropy_avail"