From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5692A15807A for ; Mon, 7 Oct 2024 07:41:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F562E29A4; Mon, 7 Oct 2024 07:41:15 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BCCBE29A4 for ; Mon, 7 Oct 2024 07:41:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 954FA3430D6 for ; Mon, 7 Oct 2024 07:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00FDD11DF for ; Mon, 7 Oct 2024 07:41:13 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1728286855.1b7d723c70fda76183ac14a7cf3e3208dfd3a912.gokturk@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/jitterentropy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/jitterentropy/Manifest app-crypt/jitterentropy/jitterentropy-3.6.0.ebuild X-VCS-Directories: app-crypt/jitterentropy/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 1b7d723c70fda76183ac14a7cf3e3208dfd3a912 X-VCS-Branch: master Date: Mon, 7 Oct 2024 07:41:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eced0dde-153c-42ce-b709-913ee4ba0dfc X-Archives-Hash: 08b7f415ac194a45a853071897047e84 commit: 1b7d723c70fda76183ac14a7cf3e3208dfd3a912 Author: Göktürk Yüksek gentoo org> AuthorDate: Mon Oct 7 07:34:59 2024 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Mon Oct 7 07:40:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7d723c app-crypt/jitterentropy: add 3.6.0 Signed-off-by: Göktürk Yüksek gentoo.org> app-crypt/jitterentropy/Manifest | 1 + app-crypt/jitterentropy/jitterentropy-3.6.0.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-crypt/jitterentropy/Manifest b/app-crypt/jitterentropy/Manifest index 7da1002321d2..3851d1a1f269 100644 --- a/app-crypt/jitterentropy/Manifest +++ b/app-crypt/jitterentropy/Manifest @@ -1 +1,2 @@ DIST jitterentropy-3.4.1.tar.gz 86110 BLAKE2B 729ef7d01a17c9eb16cc352da0286bd292f2faae63754b06036dbb44d52e85e2e2e0d2a38ac57d4350eaebbc47457f0457a988a657f7fe6c5d782d50922552d2 SHA512 c832b33c084a8c56fb9ee0c0f7397fa9206cbd6fcbea047495e543566fc0d9b5d8978c8668103203d87b5b70c0e177f9ef7cc614b3ce689b90fbb8b85e6fedbb +DIST jitterentropy-3.6.0.tar.gz 96456 BLAKE2B 5e4fc185f16b59456a681e37f90de3b1e381bd6269bf72294822c1b8db11bbd5fe48640f2f38257c9b1238df38df7d95c2d1b9136b12364dde6e5cf3395c2e6e SHA512 8b234d0ac8115d004e8b1f41318e42d72324dfcbea0b3ba96499a6f9d740e13659c5bea032f77baad8d8ea3846fcd628665df573ab12b6111785f4bb5954834c diff --git a/app-crypt/jitterentropy/jitterentropy-3.6.0.ebuild b/app-crypt/jitterentropy/jitterentropy-3.6.0.ebuild new file mode 100644 index 000000000000..987687b0feb5 --- /dev/null +++ b/app-crypt/jitterentropy/jitterentropy-3.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Hardware RNG based on CPU timing jitter" +HOMEPAGE="https://github.com/smuellerDD/jitterentropy-library" +SRC_URI="https://github.com/smuellerDD/jitterentropy-library/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-library-${PV}" + +# For future reference, tests/raw-entropy/validation-{restart,runtime} +# have a weird license clause where it says: +# The licensee IS NOT granted permission to redistribute the source code or +# derivatives of the source code, and the binaries compiled from the source +# code or its derivatives to any third parties. +# Do not package these two components! +LICENSE="BSD" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="static-libs" + +src_prepare() { + default + + # Disable man page compression on install + sed -e '/\tgzip.*man/ d' -i Makefile || die +} + +src_compile() { + # Upstream defines some of CFLAGS in the Makefile using '?=' + # This allows those default flags to be overwritten by + # user-defined CFLAGS. Restore some of the defaults. + append-cflags '-fwrapv' '-fvisibility=hidden' '-fPIE' + # Optimizations are not allowed by upstream, which already + # overrides CFLAGS in Makefile. We need to handle CPPFLAGS here. + append-cppflags '-O0' + emake AR="$(tc-getAR)" CC="$(tc-getCC)" +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" \ + LIBDIR="$(get_libdir)" \ + DESTDIR="${D}" \ + INSTALL_STRIP="install" \ + install $(usex static-libs install-static '') +}