public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/jitterentropy-rngd/, app-crypt/jitterentropy-rngd/files/
@ 2020-01-15  8:51 Matthias Maier
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Maier @ 2020-01-15  8:51 UTC (permalink / raw
  To: gentoo-commits

commit:     98bda6b93d184903bd7c91f05f7a1da7b94c5e86
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 08:35:23 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 08:50:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98bda6b9

app-crypt/jitterentropy-rngd: new package

Add the jitterentropy-rng userland daemon. This package requires the
jitterentropy-rng.ko kernel module to be loaded.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-crypt/jitterentropy-rngd/Manifest              |  1 +
 ...ropy-rngd-1.1.0-do-not-strip-and-compress.patch | 16 +++++++++++++++
 .../jitterentropy-rngd-1.1.0.ebuild                | 24 ++++++++++++++++++++++
 app-crypt/jitterentropy-rngd/metadata.xml          | 17 +++++++++++++++
 4 files changed, 58 insertions(+)

diff --git a/app-crypt/jitterentropy-rngd/Manifest b/app-crypt/jitterentropy-rngd/Manifest
new file mode 100644
index 00000000000..25bae508a6c
--- /dev/null
+++ b/app-crypt/jitterentropy-rngd/Manifest
@@ -0,0 +1 @@
+DIST jitterentropy-rngd-1.1.0.tar.gz 25891 BLAKE2B f711b173c68b74cbc0dbac1ae1b7a2beb5352b38e411f96172aa36ac7f720f05469f5fac2fa97b3514ec11fbe2ccfe0351ee7df8f51a8b36a566635ef93e4d08 SHA512 32835475b604e502caaab9b0d1cd9fe2920c126a27841669f6cf9c717094bfd4c11feab0f9f706ee4cf4caeedf26ced7039075499a3faaf41830c72968544646

diff --git a/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-1.1.0-do-not-strip-and-compress.patch b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-1.1.0-do-not-strip-and-compress.patch
new file mode 100644
index 00000000000..069c005df3a
--- /dev/null
+++ b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-1.1.0-do-not-strip-and-compress.patch
@@ -0,0 +1,16 @@
+diff --git a/Makefile b/Makefile
+index 55b65b1..b04f270 100644
+--- a/Makefile
++++ b/Makefile
+@@ -36,10 +36,9 @@ $(NAME): $(OBJS)
+ strip: $(NAME)
+ 	$(STRIP) --strip-unneeded $(NAME)
+ 
+-install: strip
++install:
+ 	$(INSTALL) -D -m 0755 $(NAME) $(DESTDIR)$(PREFIX)/sbin/$(NAME)
+ 	$(INSTALL) -D -m 0644 $(NAME).1 $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1
+-	gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/$(NAME).1
+ 	sed "s|@PATH@|$(PREFIX)/sbin|" jitterentropy.service.in > jitterentropy.service
+ 	$(INSTALL) -D -m 0644 jitterentropy.service $(DESTDIR)$(UNITDIR)/jitterentropy.service
+ 

diff --git a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild
new file mode 100644
index 00000000000..bd3a671e48d
--- /dev/null
+++ b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd
+
+DESCRIPTION="Jitter RNG daemon"
+HOMEPAGE="http://www.chronox.de/jent.html"
+SRC_URI="https://github.com/smuellerDD/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+PATCHES=(
+	"${FILESDIR}"/${P}-do-not-strip-and-compress.patch
+)
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+		UNITDIR="$(systemd_get_systemunitdir)" install
+}

diff --git a/app-crypt/jitterentropy-rngd/metadata.xml b/app-crypt/jitterentropy-rngd/metadata.xml
new file mode 100644
index 00000000000..5db19de18fb
--- /dev/null
+++ b/app-crypt/jitterentropy-rngd/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+	<email>tamiko@gentoo.org</email>
+	<name>Matthias Maier</name>
+</maintainer>
+<longdescription>
+	The Jitter RNG daemon provides an entropy source that feeds into the
+	Linux /dev/random device if its entropy runs low. It updates the
+	/dev/random entropy estimator such that the newly provided entropy
+	unblocks /dev/random.
+</longdescription>
+<upstream>
+	<remote-id type="github">smuellerDD/jitterentropy-rngd</remote-id>
+</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/jitterentropy-rngd/, app-crypt/jitterentropy-rngd/files/
@ 2020-04-11  1:06 Matthias Maier
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Maier @ 2020-04-11  1:06 UTC (permalink / raw
  To: gentoo-commits

commit:     d16d0e6f646fd30be8e2a4cf1c4875b2a31a8f88
Author:     Toralf Förster <toralf <AT> gentoo <DOT> de>
AuthorDate: Tue Apr  7 19:34:19 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Apr 11 01:05:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16d0e6f

app-crypt/jitterentropy-rngd: fixed qa issues reported by the bot

Signed-off-by: Toralf Förster <toralf <AT> gentoo.de>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd  | 0
 app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild | 1 -
 2 files changed, 1 deletion(-)

diff --git a/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd b/app-crypt/jitterentropy-rngd/files/jitterentropy-rngd-initd
old mode 100755
new mode 100644

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 a0f57561d71..b205fd7dfde 100644
--- a/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild
+++ b/app-crypt/jitterentropy-rngd/jitterentropy-rngd-1.1.0.ebuild
@@ -23,4 +23,3 @@ src_install() {
 		UNITDIR="$(systemd_get_systemunitdir)" install
 	newinitd "${FILESDIR}"/jitterentropy-rngd-initd jitterentropy-rngd
 }
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-11  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-15  8:51 [gentoo-commits] repo/gentoo:master commit in: app-crypt/jitterentropy-rngd/, app-crypt/jitterentropy-rngd/files/ Matthias Maier
  -- strict thread matches above, loose matches on Subject: below --
2020-04-11  1:06 Matthias Maier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox