public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/rng-tools/
Date: Thu, 29 Aug 2024 01:55:24 +0000 (UTC)	[thread overview]
Message-ID: <1724895961.4384ca22120bd0de5859e7262ba52ee6219c5b3a.sam@gentoo> (raw)

commit:     4384ca22120bd0de5859e7262ba52ee6219c5b3a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 01:46:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 01:46:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4384ca22

sys-apps/rng-tools: add 6.17

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/rng-tools/Manifest              |  1 +
 sys-apps/rng-tools/rng-tools-6.17.ebuild | 86 ++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/sys-apps/rng-tools/Manifest b/sys-apps/rng-tools/Manifest
index ebc496f28bee..9d070ea50a5e 100644
--- a/sys-apps/rng-tools/Manifest
+++ b/sys-apps/rng-tools/Manifest
@@ -1 +1,2 @@
 DIST rng-tools-6.16.tar.gz 67401 BLAKE2B ab1a84c9a298e71ea5cdc1e91004ac069199a0128ee9701b1b3e24b6c705c63a642ab3db260a2c6c910c185e8fc75d5775caa3b7c370f102c75fac496e9bca17 SHA512 f4155dca8a54f47227f49ccf5f8453ddd50bd91a37b3b1659b5ad02278ed119028cee42918dd48552c79e19f2e2477277a41afa8e422395b2778b17fab09484d
+DIST rng-tools-6.17.tar.gz 69979 BLAKE2B 4e5a654369ef21ffe19c50fc60bb0242d48ee91c9ea839cde18379aba01fc3648019c610526a51d75094578e25f94a4aa23566bb2dc723b2ff447b9800bfc03f SHA512 fe874e578c0d5916c271ed5a96b87ed8bb5ce4238cc158471d390ca32864959206b0657dd5910ebb0730a3987f3bf9656690759f5a910d1c4a5891a27678e60d

diff --git a/sys-apps/rng-tools/rng-tools-6.17.ebuild b/sys-apps/rng-tools/rng-tools-6.17.ebuild
new file mode 100644
index 000000000000..d09d31b02b80
--- /dev/null
+++ b/sys-apps/rng-tools/rng-tools-6.17.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools readme.gentoo-r1 systemd
+
+DESCRIPTION="Daemon to use hardware random number generators"
+HOMEPAGE="https://github.com/nhorman/rng-tools"
+SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="jitterentropy nistbeacon pkcs11 qrypt rtlsdr selinux test"
+REQUIRED_USE="test? ( jitterentropy )"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/openssl:=
+	sys-libs/libcap
+	jitterentropy? ( app-crypt/jitterentropy:= )
+	nistbeacon? (
+		dev-libs/jansson:=
+		dev-libs/libxml2:2=
+		net-misc/curl[ssl]
+	)
+	pkcs11? ( dev-libs/libp11:= )
+	qrypt? (
+		dev-libs/jansson:=
+		net-misc/curl[ssl]
+	)
+	rtlsdr? ( net-wireless/rtl-sdr )
+	elibc_musl? ( sys-libs/argp-standalone )
+"
+RDEPEND="
+	${DEPEND}
+	selinux? ( sec-policy/selinux-rngd )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	sed -i "s/sleep 30/sleep 120/g" tests/rngtestjitter.sh || die
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable jitterentropy)
+		$(use_with nistbeacon)
+		$(use_with pkcs11)
+		$(use_with rtlsdr)
+		$(use_with qrypt)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	RNGD_JITTER_TIMEOUT=90 default
+}
+
+src_install() {
+	default
+
+	newinitd "${FILESDIR}"/rngd-initd-6.11 rngd
+	newconfd "${FILESDIR}"/rngd-confd-6.11 rngd
+	systemd_dounit rngd.service
+
+	if use pkcs11; then
+		local DISABLE_AUTOFORMATTING=1
+		local DOC_CONTENTS="
+The PKCS11 entropy source may require extra packages (e.g. 'dev-libs/opensc')
+to support various smartcard readers. Make sure 'PKCS11_OPTIONS' in:
+	'${EPREFIX}/etc/conf.d/rngd'
+reflects the correct PKCS11 engine path to be used by rngd.
+"
+		readme.gentoo_create_doc
+	fi
+}
+
+pkg_postinst() {
+	use pkcs11 && readme.gentoo_print_elog
+}


             reply	other threads:[~2024-08-29  1:55 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29  1:55 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-09  0:06 [gentoo-commits] repo/gentoo:master commit in: sys-apps/rng-tools/ Jakov Smolić
2024-10-05 14:36 Arthur Zamarin
2024-10-05 12:58 Arthur Zamarin
2024-10-05 12:02 Arthur Zamarin
2024-10-05 11:48 Arthur Zamarin
2024-05-25  7:35 Sam James
2024-03-13 17:18 Arthur Zamarin
2024-03-10  5:08 Ionen Wolkens
2024-03-10  5:08 Ionen Wolkens
2024-02-18 20:02 Arthur Zamarin
2024-02-18 20:02 Arthur Zamarin
2024-02-18 20:02 Arthur Zamarin
2024-01-08  3:49 Göktürk Yüksek
2023-12-14  4:15 Sam James
2023-12-14  4:15 Sam James
2023-12-14  4:15 Sam James
2023-12-14  4:15 Sam James
2023-12-13  8:06 Florian Schmaus
2023-03-16 14:04 Arthur Zamarin
2023-02-20 20:10 Arthur Zamarin
2023-02-12  6:22 Sam James
2023-01-10 15:05 Sam James
2022-06-21  9:41 David Seifert
2022-05-19 13:36 Agostino Sarubbo
2022-05-19  9:29 Agostino Sarubbo
2022-05-17  9:24 Agostino Sarubbo
2022-05-17  9:21 Agostino Sarubbo
2022-05-17  9:18 Agostino Sarubbo
2022-05-11 14:50 Agostino Sarubbo
2022-02-14  2:07 Sam James
2021-10-03 11:28 David Seifert
2021-10-02 15:43 Sam James
2021-09-25 19:08 Sam James
2021-09-21 16:35 Sam James
2021-09-20  0:27 Sam James
2021-09-19  6:39 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 17:18 Sam James
2021-09-04 17:35 David Seifert
2021-08-17 10:23 Marek Szuba
2021-08-16  2:43 Sam James
2021-07-27  3:16 Sam James
2021-07-26 11:17 Sam James
2021-07-25 20:09 Sam James
2021-07-23 17:58 Sam James
2021-07-23 17:58 Sam James
2021-06-14  9:19 David Seifert
2021-05-13 22:32 David Seifert
2021-05-13 21:17 Sam James
2021-05-13 18:58 Sam James
2021-05-13 18:56 Sam James
2021-05-13 17:52 Sam James
2021-05-13 16:54 Sam James
2021-05-13 16:28 Sam James
2021-05-12  6:25 Matt Turner
2021-05-01 10:14 Mikle Kolyada
2021-04-04 18:31 Mike Gilbert
2021-02-01 15:01 Thomas Deutschmann
2020-12-10  2:13 Matt Turner
2020-10-06 13:43 Sam James
2020-10-05 18:27 Göktürk Yüksek
2020-10-04 16:59 Sam James
2020-09-30  1:49 Sam James
2020-09-26 10:06 Sergei Trofimovich
2020-09-26  9:18 Sergei Trofimovich
2020-09-25  8:46 Agostino Sarubbo
2020-06-04  6:33 Matt Turner
2020-04-05 20:06 Mart Raudsepp
2020-04-05 10:25 Mart Raudsepp
2020-04-05  9:35 Mart Raudsepp
2020-03-31 10:01 Agostino Sarubbo
2020-03-31 10:01 Agostino Sarubbo
2020-03-31 10:00 Agostino Sarubbo
2020-03-31  8:36 Mikle Kolyada
2020-03-31  7:18 Agostino Sarubbo
2020-03-30 12:20 Göktürk Yüksek
2019-12-19 22:48 Göktürk Yüksek
2019-11-14 11:55 Agostino Sarubbo
2019-11-13  7:39 Agostino Sarubbo
2019-11-12 15:08 Agostino Sarubbo
2019-11-08  0:24 Göktürk Yüksek
2019-11-04  9:22 Agostino Sarubbo
2019-11-03 13:40 Mikle Kolyada
2019-11-03  9:13 Piotr Karbowski
2019-08-08 16:01 Matt Turner
2019-08-06 17:50 Matt Turner
2019-06-04 18:48 Göktürk Yüksek
2019-04-21  3:26 Anthony G. Basile
2019-02-27 19:31 Anthony G. Basile
2018-11-07 22:47 Göktürk Yüksek
2018-07-16 22:54 Göktürk Yüksek
2018-05-16 19:46 Göktürk Yüksek
2017-10-10 20:01 Göktürk Yüksek
2017-10-10 20:01 Göktürk Yüksek
2016-05-29 14:19 Pacho Ramos
2016-05-22 17:09 Göktürk Yüksek
2016-04-23 18:13 Patrice Clement
2016-04-23  7:59 Patrice Clement
2015-11-23  9:25 Agostino Sarubbo
2015-11-07 23:45 Mikle Kolyada
2015-11-03 19:13 Markus Meier
2015-10-30 10:15 Agostino Sarubbo
2015-10-25 11:00 Mikle Kolyada
2015-10-05 17:05 Michał Górny
2015-10-05 17:05 Michał Górny
2015-09-25 14:43 Agostino Sarubbo
2015-09-24 13:19 Agostino Sarubbo
2015-08-10 18:29 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1724895961.4384ca22120bd0de5859e7262ba52ee6219c5b3a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox