diff options
author | Toralf Förster <toralf@gentoo.de> | 2020-04-07 20:17:39 +0200 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2020-04-10 20:05:29 -0500 |
commit | c1c6e0e60d5b7bbf7685cc8596772d0c1cc65c59 (patch) | |
tree | ffd31414f137f0aaf6c2f52f35a23bf8f5ef4104 /app-crypt/jitterentropy-rngd | |
parent | app-portage/g-cpan: version bump to 0.17.0 (diff) | |
download | gentoo-c1c6e0e60d5b7bbf7685cc8596772d0c1cc65c59.tar.gz gentoo-c1c6e0e60d5b7bbf7685cc8596772d0c1cc65c59.tar.bz2 gentoo-c1c6e0e60d5b7bbf7685cc8596772d0c1cc65c59.zip |
app-crypt/jitterentropy-rngd: added openrc file
Signed-off-by: Toralf Förster <toralf@gentoo.de>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-crypt/jitterentropy-rngd')
-rwxr-xr-x | app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd | 17 | ||||
-rw-r--r-- | app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd new file mode 100755 index 000000000000..1a7fb84723bf --- /dev/null +++ b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="jitterentropy daemon" +command="/usr/sbin/jitterentropy-rngd" +pidfile="/run/jitterentropy-rngd.pid" +command_args="--pid ${pidfile}" + +depend() { + need localmount + before net + use logger + + provide entropy +} + diff --git a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild index bd3a671e48d4..a0f57561d71c 100644 --- a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild +++ b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild @@ -21,4 +21,6 @@ PATCHES=( src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \ UNITDIR="$(systemd_get_systemunitdir)" install + newinitd "${FILESDIR}"/jitterentropy-rngd-initd jitterentropy-rngd } + |