summaryrefslogtreecommitdiff
path: root/app-crypt/jitterentropy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-19 05:21:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-19 05:21:10 +0100
commitfc32d443f6a2e4d05c712c050bb74e8f79f4af1f (patch)
tree88e65306c8610da66618d02504f074b776841055 /app-crypt/jitterentropy
parentf39c6dab71f5188f95650d367ece1df4f263e474 (diff)
gentoo auto-resync : 19:09:2022 - 05:21:10
Diffstat (limited to 'app-crypt/jitterentropy')
-rw-r--r--app-crypt/jitterentropy/Manifest2
-rw-r--r--app-crypt/jitterentropy/jitterentropy-3.4.1.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/jitterentropy/Manifest b/app-crypt/jitterentropy/Manifest
index 61a51c1ccb1a..292b6dc85953 100644
--- a/app-crypt/jitterentropy/Manifest
+++ b/app-crypt/jitterentropy/Manifest
@@ -1,7 +1,9 @@
DIST jitterentropy-2.2.0.tar.gz 25556 BLAKE2B d0a8faa9131e9fd5712fad4179725ac29ba813e0d77e5ae9dc905841b92f67fc51e79c407142b2e8c3473f92a59a5b03f03d2013bd7e5d1ae07110da52461255 SHA512 4701a7e0a82ee583cbde5edfdacb737a5f588b42c61b16434b5a11bdfb1a108e7b9df8b8b38d9e92290e702b33f2ae8774580d6a71e6e8ac3af295ffc8ff5ff9
DIST jitterentropy-3.0.1.tar.gz 31212 BLAKE2B 522e9b88e96ed1e6f57e793779c46f7799185f9d25390268f628eb309239a3522ac13277a037acf54dcce7e7b1364b2ec6e15d21a5f13aaa5a87ece7690d57fd SHA512 fd195e150ea861fcd5ff72a84f48ef8b7d0d8a3d44aae51f0fe5c39a1d1409ca98271a6cf06140fa8b6aba08d8bbbddf097cd7d99b5c1b698db08f056236e547
DIST jitterentropy-3.3.1.tar.gz 81596 BLAKE2B ad8bf87d5a30b4bc98a3af7c1dcff442516c0330050aea90f2f05d68c4c2f1e9fe4b8db885f00dcd138ae7cb5a6ca58800686ae507f0e41596c95176a33e2b96 SHA512 7dc17c377cf90d38057bbc135e00730a3f84bc66aeed83eca1ad1b0e1c2fb89c5346ec20bdf25d3ce27f1d21893d44e52c08e96175554c18dfa1934a8d4fd9f7
+DIST jitterentropy-3.4.1.tar.gz 86110 BLAKE2B 729ef7d01a17c9eb16cc352da0286bd292f2faae63754b06036dbb44d52e85e2e2e0d2a38ac57d4350eaebbc47457f0457a988a657f7fe6c5d782d50922552d2 SHA512 c832b33c084a8c56fb9ee0c0f7397fa9206cbd6fcbea047495e543566fc0d9b5d8978c8668103203d87b5b70c0e177f9ef7cc614b3ce689b90fbb8b85e6fedbb
EBUILD jitterentropy-2.2.0.ebuild 923 BLAKE2B 2cdcfbc5e413a0049b0743aeba0f905c7eb274de0fe2b775d65f8b5fd6c576595b796745b5ed55a4c006774412a2948e8fc75720b3fef9e233719b1dd48c2dfa SHA512 1aa071401c70f21315e819adc18b139af5c294f19bed9a6f2481b24c102654571cbc2dbfde46ef74927b2c1680cd615bf989d880d9e857d951e0f13b46c81d92
EBUILD jitterentropy-3.0.1.ebuild 967 BLAKE2B d8d88a202b58736e7c26733f5877c19924865e350fdeb317fa6d91f3c98734c609dfa9a9d11e2ef1e7494237f662660e362f33c3e49779f77a838d2fb12b3429 SHA512 951dbe3572d366f35f326790a9243597eab572739b234865390121b4e6056e17dc3c415dd44fc87b13ff0b72c119625cebaa8e326ab18f106479e1e3117e6a67
EBUILD jitterentropy-3.3.1.ebuild 1611 BLAKE2B 68bb4a6caa3b8a1fc27ac77fd7a869b8382038b1298343bef3421cdef5a717989b1e0cd48609daf6e2251d983acde87cd73d2beef71a6fd1b867358bf8f821a3 SHA512 f877aed4be270d51c485bce5be1cd156a4b77c4c4c3254c0e821b177a21a9fd2275ca1549a18e59a8baf0c12fbaf0e1ef648421fbcc185e4cdd8de0ef0e24529
+EBUILD jitterentropy-3.4.1.ebuild 1617 BLAKE2B 5eaa309e01186953ce0e0a15164425755d3f3f579a63387d43b7b7b980ee327f8d3f8f8b121e86e141b2ebebd5d0e4ba68efab7b46fe736af53b39e8f7086981 SHA512 dd26125a48ce890ff674c6ba6764ad394cd6a6c78440380fc229a78d8fe1d442df6c5c2a6a1ad61f2bbc54b8e642372cf9356403c175470f73a500eba4004913
MISC metadata.xml 667 BLAKE2B 9133417986fe9e64d3fd5abe0cae7b0e8e8d9fa792645c13599856b1a30f929f4291f05b58d38f7ef1cf99a91fb60ff56a61571bd48da801c9b5a5ff87166447 SHA512 47cbaa73c37c0eb2b6ad0321b716e31342e721828413f6523fda7d688d3851c83ad714cd23a6ba7d0147367c09ec2a45f6c2da44ffa7f7b2905cd41d18502b7d
diff --git a/app-crypt/jitterentropy/jitterentropy-3.4.1.ebuild b/app-crypt/jitterentropy/jitterentropy-3.4.1.ebuild
new file mode 100644
index 000000000000..4f867c12ca00
--- /dev/null
+++ b/app-crypt/jitterentropy/jitterentropy-3.4.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 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"
+
+# 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 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="static-libs"
+
+S="${WORKDIR}/${PN}-library-${PV}"
+
+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 '')
+}