From fd021052ba744fd527f69bb145d9c092d99ebe88 Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Tue, 29 Mar 2022 14:30:19 +1100 Subject: [PATCH] New package: jitterentropy-rngd-1.2.8 --- srcpkgs/jitterentropy-rngd/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/jitterentropy-rngd/template diff --git a/srcpkgs/jitterentropy-rngd/template b/srcpkgs/jitterentropy-rngd/template new file mode 100644 index 000000000000..a9f201d4419c --- /dev/null +++ b/srcpkgs/jitterentropy-rngd/template @@ -0,0 +1,29 @@ +# Template file for 'jitterentropy-rngd' +pkgname=jitterentropy-rngd +version=1.2.8 +revision=1 +build_style=gnu-makefile +make_use_env=yes +short_desc="Jitter RNG Daemon" +maintainer="Andy Weidenbaum " +license="BSD-3-Clause, GPL-2.0-only" +homepage="https://www.chronox.de/jent.html" +distfiles="https://www.chronox.de/jent/${pkgname}-${version}.tar.xz" +checksum=c4480c67d888fd9c6c9c3bcf06c785578ad81984ec978da3c33d16aa019664fb + +CFLAGS="-O0" + +pre_configure() { + # fix sbin and disable systemd service installation + sed \ + -i \ + -e 's/sbin/bin/g' \ + -e '/jitterentropy\.service\ /d' \ + Makefile +} + +post_install() { + vlicense COPYING + vlicense COPYING.bsd + vlicense COPYING.gplv2 +}