sys-apps/rng-tools: Drop the unused package

This commit is contained in:
Krzesimir Nowak 2022-03-09 17:38:41 +01:00
parent 2f3761b783
commit fe7a8fde06
18 changed files with 0 additions and 1053 deletions

View File

@ -1,223 +0,0 @@
# ChangeLog for sys-apps/rng-tools
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*rng-tools-5 (09 Aug 2015)
*rng-tools-4-r7 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
+files/fix-textrels-on-PIC-x86.patch,
+files/rng-tools-5-fix-textrels-on-PIC-x86.patch, +files/rngd-confd-4.1,
+files/rngd-initd-4.1, +files/rngd-initd-r1-4.1, +files/rngd.service,
+files/test-for-argp.patch, +metadata.xml, +rng-tools-4-r7.ebuild,
+rng-tools-5.ebuild:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
10 Aug 2015; Mikle Kolyada <zlogene@gentoo.org> rng-tools-5.ebuild:
add ~arm keyword wrt bug #542360
Package-Manager: portage-2.2.20
*rng-tools-5-r1 (14 Aug 2015)
14 Aug 2015; Mike Frysinger <vapier@gentoo.org>
+files/rng-tools-5-man-fill-watermark.patch,
+files/rng-tools-5-man-rng-device.patch, +rng-tools-5-r1.ebuild:
improve the man pages #555094 #555106
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
24 Sep 2015; Agostino Sarubbo <ago@gentoo.org> rng-tools-5.ebuild:
amd64 stable wrt bug #555100
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
25 Sep 2015; Agostino Sarubbo <ago@gentoo.org> rng-tools-5.ebuild:
x86 stable wrt bug #555100
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
01 Oct 2015; Gokturk Yuksek <gokturk@binghamton.edu>
files/rngd-initd-r1-4.1:
remove unused lines from the init script.
rngd-initd-r1-4.1 has been created as a result of the patch
proposed for bug 481254. However, one chunk has been missed
and did not make it to the commit.
The variable DEFAULT_DEVICE isn't used by the init script.
Remove the related lines from the script.
Package-Manager: portage-2.2.20.1
*rng-tools-5-r2 (01 Oct 2015)
01 Oct 2015; Gokturk Yuksek <gokturk@binghamton.edu> +rng-tools-5-r2.ebuild:
do not specify rng device in init script #481254
Linux hw_random driver provides a unified interface for multiple RNGs
and the RNG source is exposed through /dev/hwrng device node. There is
no need for the init script to look for other device nodes under
/dev. By default, rngd uses /dev/hwrng as the entropy source,
therefore it's not required to specify it on the command line
explicitly.
The creation of /dev/hwrng requires CONFIG_DEVTMPFS support in the
kernel. Due to the way hw_random module is written, some device
managers may fail to create /dev/hwrng successfuly. Mdev, for example,
incorrectly creates /dev/hw_random instead of /dev/hwrng, mistaking
module's own name for the device node's name (see related bug
561102). However, per gentoo wiki [1], CONFIG_DEVTMPFS is part of the
mdev setup and these systems will have two device nodes
(/dev/hw_random and /dev/hwrng) that point to the same device. Even in
such setups, rngd will successfuly find /dev/hwrng.
[1] https://wiki.gentoo.org/index.php?title=Mdev&oldid=246636
Gentoo-Bug: https://bugs.gentoo.org/481254
Package-Manager: portage-2.2.20.1
01 Oct 2015; Gokturk Yuksek <gokturk@binghamton.edu> rng-tools-5-r2.ebuild:
handle if redirecting output to a file fails in ebuild
Use '|| die' to handle if redirecting output to a file fails.
Package-Manager: portage-2.2.20.1
01 Oct 2015; Gokturk Yuksek <gokturk@binghamton.edu>
+files/rng-tools-5-fix-noctty.patch, rng-tools-5-r2.ebuild:
open entropy src with O_NOCTTY flag #556456
This revision patches the source file 'rngd_entsource.c', adding 'O_NOCTTY'
flag to the open() call that opens the entropy source for rngd.
Gentoo-Bug: https://bugs.gentoo.org/556456
Package-Manager: portage-2.2.20.1
19 Oct 2015; Agostino Sarubbo <ago@gentoo.org> rng-tools-5-r2.ebuild:
amd64 stable wrt bug #562520
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
25 Oct 2015; Mikle Kolyada <zlogene@gentoo.org> rng-tools-5-r2.ebuild:
x86 stable wrt bug #562520
Package-Manager: portage-2.2.20.1
30 Oct 2015; Agostino Sarubbo <ago@gentoo.org> rng-tools-5-r2.ebuild:
ppc stable wrt bug #562520
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"
03 Nov 2015; Markus Meier <maekke@gentoo.org> rng-tools-5-r2.ebuild:
arm stable, bug #562520
Package-Manager: portage-2.2.23
RepoMan-Options: --include-arches="arm"
07 Nov 2015; Mikle Kolyada <zlogene@gentoo.org> rng-tools-5-r2.ebuild:
ia64 stable wrt bug #562520
Package-Manager: portage-2.2.20.1
23 Nov 2015; Agostino Sarubbo <ago@gentoo.org> rng-tools-5-r2.ebuild:
alpha stable wrt bug #562520
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="alpha"
24 Nov 2015; Mike Frysinger <vapier@gentoo.org> metadata.xml:
standardize various metadata.xml style
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Unify quoting in metadata.xml files for machine processing
Force unified quoting in all metadata.xml files since lxml does not
preserve original use of single and double quotes. Ensuring unified
quoting before the process allows distinguishing the GLEP 67-related
metadata.xml changes from unrelated quoting changes.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
23 Apr 2016; Patrice Clement <monsieurp@gentoo.org> metadata.xml:
reorder maintainers, remove <description>, fix <name>
Package-Manager: portage-2.2.26
Closes: https://github.com/gentoo/gentoo/pull/1316
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
23 Apr 2016; Patrice Clement <monsieurp@gentoo.org> metadata.xml:
Fixes maintainer's name.
18 May 2016; Austin English <wizardedit@gentoo.org> files/rngd-initd-4.1,
files/rngd-initd-r1-4.1:
use #!/sbin/openrc-run instead of #!/sbin/runscript
22 May 2016; Göktürk Yüksek <gokturk@gentoo.org> metadata.xml:
update maintainer email and remove proxy-maint
Package-Manager: portage-2.2.28
29 May 2016; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due to #390951
Package-Manager: portage-2.3.0_rc1

View File

@ -1,274 +0,0 @@
# ChangeLog for sys-apps/rng-tools
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/ChangeLog,v 1.61 2015/07/23 19:59:40 pacho Exp $
23 Jul 2015; Pacho Ramos <pacho@gentoo.org> rng-tools-5.ebuild:
ppc stable wrt bug #555100
17 Jul 2015; NP-Hardass <NP-Hardass@gentoo.org> -files/larger-poolsize.patch,
-rng-tools-5-r1.ebuild:
Revert -r1 due to change in bug #517942. Additionally, included patch has bugs
in it and will need to be reworked if it is to be readded later.
17 Jul 2015; Ian Delaney <idella4@gentoo.org> +files/larger-poolsize.patch,
rng-tools-5-r1.ebuild, rng-tools-5.ebuild:
patch to fix Bug 517942, sourced from Debian, attached to bug #517942 by
cilly, also prompted by proxy maintainer
*rng-tools-5-r1 (17 Jul 2015)
17 Jul 2015; Ian Delaney <idella4@gentoo.org> +files/rngd-initd-r1-4.1,
+rng-tools-5-r1.ebuild, metadata.xml:
rebump; fix to init script, patch by new proxy maintainer via Bug #481254,
metadata.xml updated accordingly
*rng-tools-5 (18 Nov 2014)
18 Nov 2014; Manuel Rüger <mrueg@gentoo.org>
+files/rng-tools-5-fix-textrels-on-PIC-x86.patch, +rng-tools-5.ebuild,
-files/2/rngd, -files/2/rngd-conf, -files/rngd-confd-3, -files/rngd-confd-4,
-files/rngd-initd-3, -files/rngd-initd-4, -rng-tools-2-r1.ebuild,
-rng-tools-3-r1.ebuild, -rng-tools-3.ebuild, -rng-tools-4-r1.ebuild,
-rng-tools-4-r5.ebuild, -rng-tools-4-r6.ebuild:
Version bump. Thanks to klondike for updating the textrel patch. Fixes bug
#518210. Cleanup old.
11 Nov 2014; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r7.ebuild:
Stable for ia64, wrt bug #516838
03 Nov 2014; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r7.ebuild:
Stable for x86, wrt bug #516838
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> rng-tools-4-r7.ebuild:
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
#527698)
02 Nov 2014; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r7.ebuild:
Stable for alpha, wrt bug #516838
01 Nov 2014; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r7.ebuild:
Stable for ppc, wrt bug #516838
30 Oct 2014; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r7.ebuild:
Stable for amd64, wrt bug #516838
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> rng-tools-2-r1.ebuild,
rng-tools-3-r1.ebuild, rng-tools-3.ebuild:
QA: drop trailing '.' from DESCRIPTION
*rng-tools-4-r7 (24 May 2014)
24 May 2014; Pacho Ramos <pacho@gentoo.org> +files/rngd.service,
+rng-tools-4-r7.ebuild:
Add unit file (#510826 by Salah Coronya)
16 Dec 2013; Sven Vermeulen <swift@gentoo.org> rng-tools-4-r5.ebuild,
rng-tools-4-r6.ebuild:
Adding dependency to selinux-rngd
22 May 2013; Mike Frysinger <vapier@gentoo.org> files/rngd-initd-3,
files/rngd-initd-4, files/rngd-initd-4.1:
Change the after clause from "random" (which does not seem to have ever
existed) to "urandom" (which has been around since very old baselayout-1 days)
#470014 by Roman Žilka.
*rng-tools-4-r6 (15 May 2013)
15 May 2013; Anthony G. Basile <blueness@gentoo.org>
+files/fix-textrels-on-PIC-x86.patch, +rng-tools-4-r6.ebuild:
Fix assemby textrels on rdrand_asm.S on PIC x86, bug #469962
14 May 2013; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r5.ebuild:
Stable for x86, wrt bug #458826
07 May 2013; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r5.ebuild:
Stable for ia64, wrt bug #458826
05 May 2013; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r5.ebuild:
Stable for alpha, wrt bug #458826
03 May 2013; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r5.ebuild:
Stable for ppc, wrt bug #458826
02 May 2013; Agostino Sarubbo <ago@gentoo.org> rng-tools-4-r5.ebuild:
Stable for amd64, wrt bug #458826
24 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> files/rngd-initd-4.1:
Fix typo. Thanks to Chris Mayo for reporting.
17 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> files/rngd-confd-4.1,
files/rngd-initd-4.1:
Remove direct uses of /dev/urandom — if the user wants to, they can do it
explicitly; also update the upper limit for the watermark in the comment so
that users know to check the poolsize (hardened can be much bigger than 4k).
No revision bump since it's non-default behaviour anyway.
*rng-tools-4-r5 (17 Dec 2012)
17 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +rng-tools-4-r5.ebuild,
-rng-tools-4-r4.ebuild, files/rngd-initd-4.1:
Handle NO_TPM the way NO_DRNG is handled, as otherwise it can fail the same
way.
*rng-tools-4-r4 (16 Dec 2012)
16 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +rng-tools-4-r4.ebuild,
-rng-tools-4-r3.ebuild, files/rngd-initd-4.1:
Fix init script also when using an actual RNG device. Closes bug #447464 by
Toralf Förster.
16 Dec 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Cleanup due retirement, #95685
*rng-tools-4-r3 (16 Dec 2012)
16 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +rng-tools-4-r3.ebuild,
-rng-tools-4-r2.ebuild, files/rngd-confd-4.1, files/rngd-initd-4.1:
More fixes to the init script if there is no device at all. Also fix handling
of rdrand, as --no-drng=0 misbehaves.
*rng-tools-4-r2 (16 Dec 2012)
16 Dec 2012; Diego E. Pettenò <flameeyes@gentoo.org> +files/rngd-confd-4.1,
+files/rngd-initd-4.1, +rng-tools-4-r2.ebuild:
Update init script so that OpenRC can check on the daemon, also fix stop with
rdrand-capable CPUs (bug #442238), and disallow /dev/urandom mixin by default
(bug #292239). The init script no longer tries to second-guess the
configuration parameters, leaving the erroring out for missing sources to rngd
itself, as it was broken and would have caused more trouble when rdrand is
present.
*rng-tools-4-r1 (11 Nov 2012)
11 Nov 2012; Mike Frysinger <vapier@gentoo.org> +files/rngd-confd-4,
+files/rngd-initd-4, +rng-tools-4-r1.ebuild, -rng-tools-4.ebuild:
Update init.d script to match latest version #442036 by Manuel Rüger.
*rng-tools-4 (06 Nov 2012)
06 Nov 2012; Mike Frysinger <vapier@gentoo.org> +rng-tools-4.ebuild:
Version bump #438648 by Manuel Rüger.
*rng-tools-3-r1 (19 Jul 2012)
19 Jul 2012; Anthony G. Basile <blueness@gentoo.org> +rng-tools-3-r1.ebuild,
+files/test-for-argp.patch:
Patch configure.ac to search for arpg in glibc or libargp, bug #292191
*rng-tools-3 (08 Nov 2010)
08 Nov 2010; Krzysztof Pawlik <nelchael@gentoo.org>
-rng-tools-2-r2.ebuild, -rng-tools-2-r3.ebuild, +files/rngd-confd-3,
-files/2-r2/rngd, +files/rngd-initd-3, +rng-tools-3.ebuild,
-files/2-r2/rngd-conf, -files/rngd_tpm_support.patch,
-files/rngd_tpm_support2.patch:
Version bump, remove old versions. rng-tools-3 contains support for TPM
devices.
15 Sep 2010; Robin H. Johnson <robbat2@gentoo.org> files/2-r2/rngd,
files/2-r2/rngd-conf:
Bug #292239: Make remix of /dev/urandom optional.
*rng-tools-2-r3 (15 Sep 2010)
15 Sep 2010; Robin H. Johnson <robbat2@gentoo.org>
+files/rngd_tpm_support2.patch, +rng-tools-2-r3.ebuild:
New spin of the TPM patch that does not fail when TPM hardware is not
present.
*rng-tools-2-r2 (10 Nov 2009)
10 Nov 2009; Robin H. Johnson <robbat2@gentoo.org> +rng-tools-2-r2.ebuild,
+files/2-r2/rngd, +files/2-r2/rngd-conf:
Add support to use TPM devices as RNG sources per Matt Domsch:
http://domsch.com/blog/?p=107. Also clean up the init script.
04 Sep 2009; William Hubbs <williamh@gentoo.org> -rng-tools-2.ebuild:
removed old version
*rng-tools-2-r1 (03 Sep 2009)
03 Sep 2009; William Hubbs <williamh@gentoo.org> +rng-tools-2-r1.ebuild:
rev bump per robbat2 so that all users will pick up the patch.
15 Jul 2009; Krzysiek Pawlik <nelchael@gentoo.org> files/2/rngd:
Check /dev/hwrng, see bug #276973.
21 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
Fix QA warnings.
16 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
Fix autotools handling, bug #226619.
27 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
Fix variable quoting.
21 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
Use newinitd, newconfd and doenvd, see bug #174266.
03 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/rngd,
-rng-tools-1.1.ebuild:
Remove old version.
03 Sep 2006; Bryan Østergaard <kloeri@gentoo.org> rng-tools-2.ebuild:
Stable on Alpha, bug 139162.
20 Aug 2006; Simon Stelling <blubb@gentoo.org> rng-tools-2.ebuild:
stable on amd64
13 Jul 2006; Aron Griffis <agriffis@gentoo.org> rng-tools-2.ebuild:
Mark 2 stable on ia64. #139162
08 Jul 2006; Lars Weiler <pylon@gentoo.org> rng-tools-2.ebuild:
Stable on ppc; bug #139162.
04 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> rng-tools-2.ebuild:
Stable on x86.
*rng-tools-2 (20 Mar 2006)
20 Mar 2006; Krzysiek Pawlik <nelchael@gentoo.org> +files/2/rngd-conf,
+files/2/rngd, metadata.xml, -rng-tools-1.0.ebuild, +rng-tools-2.ebuild:
Added myself as maintainer, version bump and better init.d/conf.d scripts
(see bug #126852).
08 Feb 2006; Aron Griffis <agriffis@gentoo.org> rng-tools-1.1.ebuild:
Mark 1.1 stable on alpha
07 Feb 2006; Aron Griffis <agriffis@gentoo.org> rng-tools-1.1.ebuild:
Mark 1.1 stable on ia64
01 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> rng-tools-1.1.ebuild:
Add ~alpha + ~ia64 keywords.
12 Aug 2005; Robin H. Johnson <robbat2@gentoo.org> rng-tools-1.1.ebuild:
1.1 stable on x86.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
rng-tools-1.1.ebuild:
Masked rng-tools-1.1.ebuild stable for ppc
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> rng-tools-1.0.ebuild,
rng-tools-1.1.ebuild:
virtual/glibc -> virtual/libc
09 Apr 2004; David Holm <dholm@gentoo.org> rng-tools-1.1.ebuild:
Added to ~ppc.
*rng-tools-1.1 (07 Apr 2004)
07 Apr 2004; Robin H. Johnson <robbat2@gentoo.org> rng-tools-1.1.ebuild,
files/rngd:
bump version, add in change from bug #47107 to use urandom as a feedback input.
07 Apr 2004; Travis Tilley <lv@gentoo.org> rng-tools-1.0.ebuild:
added ~amd64 keyword
*rng-tools-1.0 (05 Oct 2003)
05 Oct 2003; Hanno Boeck <hanno@gentoo.org> rng-tools-1.0.ebuild,
files/rngd:
Fix for latest 2.6 kernels. Mark as x86 stable.
20 Aug 2003; Hanno Boeck <hanno@gentoo.org> files/rngd:
New package for using random number generators.

View File

@ -1,19 +0,0 @@
AUX fix-textrels-on-PIC-x86.patch 1971 SHA256 55d277a1b4dfed429bf82ca430371f2487e47948630203969bb66fc63fad39cb SHA512 201300211d322ca36e945f5adf225d072881f285b4d4a8710baf1416a532386befa91eec6da7131278fb1fbcecbf67d47742e563deecfd6d363f60b477462d09 WHIRLPOOL 92f189ee66e35f4242d2d4e7b6fc7d314775cfe1c211a900a5442f82fa3c18cbb8d375d8c7b80229ee21e8ff5fa4617c56d10a787b6b08831d7ae72cca9d0c35
AUX rng-tools-5-fix-noctty.patch 2065 SHA256 cd8589748f36729d3463132cc93f85bf6165164ea3fa490b325a8c73609c7d38 SHA512 0dc1cb0385ed2c83cb9ecb07917b4a09cae656c7598230673ddaedece478eeacdcc19f835c1a001e1faee60466c36f94fdb4f3f6d646cdb93f8fbbff8eab1e4f WHIRLPOOL 9c169d2c2dc74b8aba663db9c0d76db1d832d77d3b6f45e042e3744a7936ee3ad2bc6a4cf3ed110fc99769d7ca680f2b5c028d0bf105f3ac10e022f351bd9296
AUX rng-tools-5-fix-textrels-on-PIC-x86.patch 2677 SHA256 71fac69129bf3ac6f54cabdd995db2946d5ccc279212de42608cea19fa3c2ada SHA512 8c7c6bced6e0982069ba6ef99c169609ff452a55c32543c25f198a59f81d4e976caf400867cb52bbe2996363f22943ff73c678427da43ad3a019bbe29bd29ce1 WHIRLPOOL 2346261e9891f77a48e8ea54e647fc77e40ec79d099597dec4fd06e265ac3a255eec8d6e2ed46ae00e90fd900998b48a6c3a963bb89d9b81e3cba24cefb7ba11
AUX rng-tools-5-man-fill-watermark.patch 761 SHA256 4c982ff728c40ade1382fd26fe400f90c6a9d7128d972f63d44a67b910aeacd9 SHA512 0ffe1f7a2a01526e33a287ccc6735b801431be6e66310f03c4d0098dd0c68428fc051c08a96e6ebdf6ae2bd6af2bc5f9e2ad2fe5d1dc8e81a31ddbdd1a66b68c WHIRLPOOL 1e9971cf021b3c25dfcdfb744a2cde14ec9b4c981007ca0866a6d31d352c13ae07ade7b904b539b5744067116522fc021c25f4ddd294dbd780aa3859540e5341
AUX rng-tools-5-man-rng-device.patch 394 SHA256 984726c683b9ddd3da88fb47d96439ecdd448355012bc72912b594b4dfb1a441 SHA512 bf5d521aa5a85d363836a53c7258490f22c42bbc68b60c491fde1b86fdbcc4383d83000e73c2218deee2eee1d0d91246d0d6a4d25de7fa484f55c22a37b83619 WHIRLPOOL a23fd3e56d88ee979c2537f1a7bf292a2521bd6f5df7b6baa7574b32483b025a1f1dbfc1233144fe393f0c82e0178610d0235e4063bfd479afdf3cf480764f71
AUX rngd-confd-4.1 562 SHA256 cdbd39f7446f12a9b78e87e9f135cfd0f6f364c4fa4ade0c96084b85c32afc38 SHA512 45e0e9cbe0180162f659bf05c15ee99fb8c1b80274cd8744384ba7f791b1c9a46a63e81eea665b4f492c13b7d5cc1fdb6e524a49a25af77f3791f527b31f688b WHIRLPOOL 87634cea70a1c8ffa7598cc8b0d93c79578433cc21b58bb13bc9144502b9502e2c4f151bcf282ad4ccef44a931f1be5d1e87ff7b9b6d07cfa0a4c288b4172ec3
AUX rngd-initd-4.1 791 SHA256 e75df0fcd52b725b42764ce3d0806abcb52cd52b270d4165d687665233077221 SHA512 4c05cf5953fcac113390944e3951c3c9f7d1b81b4bc067678298888ce6a2b95692c8f090bdc855ae977e6507a38a6e7f4021418d5a50c0e6cea4840c3cf44018 WHIRLPOOL 0a179285fe8e757c82d93273056b5a16fb54063e2c30370d0f6a4f1b235e2e61d0e572b14c813a2f207618a2c25757ef92e9e226e66385ad192188946918ca23
AUX rngd-initd-r1-4.1 501 SHA256 b1a0c488c29c69333ffec3327011924f65b726ecc6537a242998e7d2d450562c SHA512 750e0ac1fa63c22519abe25c789e9bb1b441189a5e51b69869beb95e06c3ed1c124bb7aa3aaf80cd0ef45c99813d748488b5886dec1960ef42ce17c364ee8ee3 WHIRLPOOL 1972a2e0a2bbd509cf32b27d6e1c75acbc0f2b132c4b95de6c70df5b56e0f5e9dce4b061c47145ac5f49dd31c4e900fd42de153601e76c05184f16e0e128bd24
AUX rngd.service 133 SHA256 a05b1075157d39302106221594e1640479fae5dee4595de09442901a3a2d1648 SHA512 51e9ea84b624cda8d3689d6a9a8d60da4a556aa9d2a1a04e698d9a1490717aa47172e152c93711f8d04be8a5b68b1dfd568a762bd8ee7219afb7cdfff15657d2 WHIRLPOOL 093b0cd19a147abd9fc10f366c2c5a167d31b839d755cf2e56f6ae35409b6eb764db0651858d20dc95b71fe1d90b4ca33bde88053c80e40665613d132357366a
AUX test-for-argp.patch 1318 SHA256 222ee3b8bfbe4827140a67af4b8d170aaa135d5317e3a40b236f8d79a06c4274 SHA512 9418bea246052391e9dab1583a7e44c47f87c34d39860c76bf11090fd397ea70ec76cb7e4c91afbe1f18a19c6f8767e0e6ceec02fbd7ef8204e8ab168f3077d8 WHIRLPOOL a54d1e8f4d3e1070cda067120318d775f0a768836984c831cc84929801d29e5f7c694e90e96926e52af57d509a52d4340c3cf9ee847782927d3dfa16fa3f758b
DIST rng-tools-4.tar.gz 110943 SHA256 b71bdfd4222c05e8316001556be90e1606f2a1bac3efde60153bd84e873cc195 SHA512 328627a9ede924026c7a7c391b04be05f098d713d35f7f38d939d52b794853b4f6db3ae125568710ab5a59640236b343f3e9fc0f735806b020cc675c02f80b08 WHIRLPOOL da58bc7d3b7d9cdf6d83d258717f22ba3552482a690311fa2c820e4ce125a5e6c6e498e0b63461ed6c9dc16dff77b2cb47377933845fb9397efa205183346e5b
DIST rng-tools-5.tar.gz 122182 SHA256 60a102b6603bbcce2da341470cad42eeaa9564a16b4490e7867026ca11a3078e SHA512 58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 WHIRLPOOL 073dbeb9d27189db44658a9f25657b93a320b125fbfc8230f7ce7849b8e7c1f7802b4c3a53de3417525b02739194fab8a6e5eb03d5db317a23deb275d72fbb21
EBUILD rng-tools-4-r7.ebuild 851 SHA256 69b4f261276e764fac8d9b16b7dab7bf97acd99606075d3b30b57e57620adccc SHA512 e8a1c2d692c2d42fbac13f0782691ba07871d8c9f6bc62c3028198904168b646d4a6aa6ac9c1fbbdc4178aff9dd84c402cb038390e89abb83f8e7d037e6b4541 WHIRLPOOL 96baa221cabcd031a30d1aa04456d8c72ae5c3c961c680f0597c792db211a268db4b0cf2d48edb2422dd48c283a259dc5efb87a0d02c4a18ade457a184a2054a
EBUILD rng-tools-5-r1.ebuild 1048 SHA256 ca81ef0331484c107c98e3fca97f44464759eb01cb071cf9bbcfbfceded6d790 SHA512 dd0728aa509922a4eed0a6a710e840f58e50567e83d6efd1f18b97bab57a75e90745f4459e8177e1366beb22a154c30c9cc3065e59a23004d894232dbeb8eea4 WHIRLPOOL 3c73492146e1022b88de61bb8401a6f1925bfecdd8d16a2887410d40b68f0411ce50edcc9360cde03dcf4ce4bc07f835622df1c2aa017c8fdfc42b4bdfbaa62c
EBUILD rng-tools-5-r2.ebuild 1105 SHA256 14f1928ccb569b71bff3b1a0456dee94997ab7e0b882dff3fdfd655776616258 SHA512 230ab5ac0b990576c0f789dae3fcd3562b04dea2bd16bbcf6b81e1432f626533baddb7ffde0eeac3b3df9f7ce40ade64f378919a79f9f9d172f841ce6df5fcd4 WHIRLPOOL 07c393a51217547a0acfe8b6bf3aafa3f18c244a9c3ce89df56e353a57cf8348bbc385b87f409189336afd620694564a8792c56f053a8488f02a672bef731ed0
EBUILD rng-tools-5.ebuild 917 SHA256 78a9d01859cb1255c03b0028c888f71b96fdc77572ada663a97b4fcaa1679e5d SHA512 c1a92923022d589d2772e0cc10e6f2a0184a8e4d4a8cca187b65f47ddb2c889a5a7a2c4526c19e637f473e4d1f94060e503407819080fc76a4411e43c48a1c10 WHIRLPOOL 1117d7aa4a88fed0fc61fdf313ee88afa5b061772beda4b98509227a6e5524c156ff799d44b0838107f365456d02b2b863b003a95416b2bcccf12014c2a93190
MISC ChangeLog 8067 SHA256 a232bfd53ae71bba942c0065e502fa2087a6af4b14bc5664cb3177c9e0f4ae40 SHA512 b9143f297136c37d810755bb899b4353008d2982eff54d29de73f62a9790506468ba0034206877f894fe681effed2921bf9e8af54e771f46ef60d288955aecc5 WHIRLPOOL 5c62a5780931f8d50387a08076410aa815d6c7637260eec4f69b17a1ea6f51278d3d15786cefda3213527f47816f9dfaa2e296ed240bb6a543dcb70c0ecd2383
MISC ChangeLog-2015 10419 SHA256 429b14666b303f77b8081e33cb4d2bc4da29c06af72895b37cf17ae3658381ce SHA512 9ef68cdfe956b4918d101ec0cfe3a69a9cf748b52326976edf234b58a48eb8c48fdb32b011fa8fe5e3d0cde8576b212b24d5b4003f87a4e4b327dc2cc0ff59ea WHIRLPOOL 525eb6a7d62820bda06d801c2721e2c38a9ca8af5d26d961c57a9d62c26a8dfec1ab08573f4237f3e6f4ee576de03d6d63a5514424011e773541f29c2b8e3915
MISC metadata.xml 435 SHA256 853adcedbd25773649ea54cda891d50ddb76210f8a09dccc387a7dd8f656d711 SHA512 8e6882d47d45613afd58beaa45cb41134740efab0c34381789eaabd5938441e98aa59fde0efb922766075ecf3f608b40c632bc4e4cdf786d256d954e502296b7 WHIRLPOOL 6dc3ea1f0a1273a6f33e76898b298b1b0e3cb827bf436380b9ab15f425b47f7e16ec1c2d95f2232c2012fa41da4c0992a3d7598ed844bd1e8f2611559b90d3ca

View File

@ -1,71 +0,0 @@
From: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Subject: [PATCH] Fix assemby textrels on rdrand_asm.S on PIC x86
This patch fixes the assembly in rdrand_asm.S so it won't generate textrels on PIC systems.
The main fixes are in the use of leal in SETPTR for such systems, the rest is the usual PIC
support stuff.
This should fix Gentoo bug #469962
This patch is released under the GPLv2 or a higher version license as is the original file
as long as reference to the author and the tester are included in the final code.
Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=469962
Upstream-status: Not sent yet
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Reported-by: cilly <cilly@cilly.mine.nu>
Tested-by: Anthony Basile <blueness@gentoo.org>
--- rng-tools/rdrand_asm.S
+++ rng-tools/rdrand_asm.S
@@ -49,6 +49,7 @@
ret
ENDPROC(x86_rdrand_nlong)
+#define INIT_PIC()
#define SETPTR(var,ptr) leaq var(%rip),ptr
#define PTR0 %rdi
#define PTR1 %rsi
@@ -84,7 +85,16 @@
ret
ENDPROC(x86_rdrand_nlong)
+#if defined(__PIC__)
+#undef __i686 /* gcc builtin define gets in our way */
+#define INIT_PIC() \
+ call __i686.get_pc_thunk.bx ; \
+ addl $_GLOBAL_OFFSET_TABLE_, %ebx
+#define SETPTR(var,ptr) leal (var)@GOTOFF(%ebx),ptr
+#else
+#define INIT_PIC()
#define SETPTR(var,ptr) movl $(var),ptr
+#endif
#define PTR0 %eax
#define PTR1 %edx
#define PTR2 %ecx
@@ -101,6 +111,7 @@
movl 8(%ebp), %eax
movl 12(%ebp), %edx
#endif
+ INIT_PIC()
SETPTR(aes_round_keys, PTR2)
@@ -166,6 +177,17 @@
#endif
ret
ENDPROC(x86_aes_mangle)
+
+#if defined(__i386__) && defined(__PIC__)
+ .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
+.globl __i686.get_pc_thunk.bx
+ .hidden __i686.get_pc_thunk.bx
+ .type __i686.get_pc_thunk.bx,@function
+__i686.get_pc_thunk.bx:
+ movl (%esp), %ebx
+ ret
+#endif
+
/*
* AES round keys for an arbitrary key:
* 00102030405060708090A0B0C0D0E0F0

View File

@ -1,45 +0,0 @@
From: Gokturk Yuksek <gokturk@binghamton.edu>
Subject: [PATCH] Fix rngd to open the entropy source with 'O_NOCTTY' flag
When start-stop-daemon starts a rngd instance configured to use a tty
device as its entropy source, the application crashes due to not being
able to read from the entropy device. This is caused by
start-stop-daemon calling setsid() before executing rngd, which
disassociates the controlling terminal. When rngd attempts to open a
hardware entropy source that's a tty device, per POSIX rules, the
device becomes the controlling terminal for the process. Then rngd
calls daemon(), which internally calls setsid(), and consequently
disassociates the controlling terminal for the child. Meanwhile the
parent rngd process exits. This results in tty device hanging up. By
looking at the strace logs attached to the bug, it can be observed
that although the parent rngd process is able to read() from the
entropy source successfully, further attempts to read() by the child
rngd process return 0. This complies with the POSIX, which states that
read() calls on a hung up terminal shall return 0.
Note that when rngd is started without start-stop-daemon, this problem
does not happen because at the time of opening the entropy source rngd
already has a controlling terminal.
Prevent the entropy source from becoming the controlling terminal by
passing 'O_NOCTTY' flag to open() when opening an entropy source. This
flag prevents a tty device from becoming the controlling terminal for
a process without a controlling terminal at the time of open().
Thanks to John Bowler <jbowler@acm.org> for debugging the problem and
pinpointing the issue as well as confirming the fix.
Gentoo-Bug-URL: https://bugs.gentoo.org/556456
Reported-By: John Bowler <jbowler@acm.org>
--- rngd_entsource.c
+++ rngd_entsource.c
@@ -175,7 +175,7 @@
*/
int init_entropy_source(struct rng *ent_src)
{
- ent_src->rng_fd = open(ent_src->rng_name, O_RDONLY);
+ ent_src->rng_fd = open(ent_src->rng_name, O_RDONLY | O_NOCTTY);
if (ent_src->rng_fd == -1) {
return 1;
}

View File

@ -1,100 +0,0 @@
From: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Subject: [PATCH] Fix assemby textrels on rdrand_asm.S on PIC x86
This patch updates the fixes in the assembly in rdrand_asm.S in
sys-apps/rng-tools-5 so it won't generate textrels on PIC systems.
The main fixes are in the use of leal in SETPTR for such systems, the rest is
the usual PIC support stuff.
This should fix Gentoo bug #469962 and help fix #518210
This patch is released under the GPLv2 or a higher version license as is the
original file as long as the author and the tester are credited.
Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=469962
Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=518210
Upstream-status: Not sent yet
Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
Reported-by: cilly <cilly@cilly.mine.nu>
Reported-by: Manuel Rüger <mrueg@gentoo.org>
Tested-by: Anthony Basile <blueness@gentoo.org>
--- rng-tools/rdrand_asm.S
+++ rng-tools/rdrand_asm.S
@@ -2,6 +2,7 @@
* Copyright (c) 2011-2014, Intel Corporation
* Authors: Fenghua Yu <fenghua.yu@intel.com>,
* H. Peter Anvin <hpa@linux.intel.com>
+ * PIC code by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -174,7 +175,19 @@
jmp 4b
ENDPROC(x86_rdseed_or_rdrand_bytes)
+#if defined(__PIC__)
+#define INIT_PIC() \
+ pushl %ebx ; \
+ call __x86.get_pc_thunk.bx ; \
+ addl $_GLOBAL_OFFSET_TABLE_, %ebx
+#define END_PIC() \
+ popl %ebx
+#define SETPTR(var,ptr) leal (var)@GOTOFF(%ebx),ptr
+#else
+#define INIT_PIC()
+#define END_PIC()
#define SETPTR(var,ptr) movl $(var),ptr
+#endif
#define PTR0 %eax
#define PTR1 %edx
#define PTR2 %ecx
@@ -190,6 +203,7 @@
movl 8(%ebp), %eax
movl 12(%ebp), %edx
push %esi
+ INIT_PIC()
#endif
movl $512, CTR3 /* Number of rounds */
@@ -280,6 +294,7 @@
movdqa %xmm7, (7*16)(PTR1)
#ifdef __i386__
+ END_PIC()
pop %esi
pop %ebp
#endif
@@ -294,6 +309,7 @@
push %ebp
mov %esp, %ebp
movl 8(%ebp), %eax
+ INIT_PIC()
#endif
SETPTR(aes_round_keys, PTR1)
@@ -323,6 +339,7 @@
call 1f
#ifdef __i386__
+ END_PIC()
pop %ebp
#endif
ret
@@ -343,6 +360,16 @@
ENDPROC(x86_aes_expand_key)
+#if defined(__i386__) && defined(__PIC__)
+ .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat
+ .globl __x86.get_pc_thunk.bx
+ .hidden __x86.get_pc_thunk.bx
+ .type __x86.get_pc_thunk.bx, @function
+__x86.get_pc_thunk.bx:
+ movl (%esp), %ebx
+ ret
+#endif
+
.bss
.balign 64
aes_round_keys:

View File

@ -1,17 +0,0 @@
https://bugs.gentoo.org/555094
patch by Gokturk Yuksek <gokturk@binghamton.edu>
--- rngd.8.in
+++ rngd.8.in
@@ -66,7 +66,9 @@
.TP
\fB\-W\fI n\fR, \fB\-\-fill\-watermark=\fInnn\fR
Once we start doing it, feed entropy to \fIrandom-device\fR until at least
-\fIfill-watermark\fR bits of entropy are available in its entropy pool (default: 2048).
+\fIfill-watermark\fR bits of entropy are available in its entropy pool.
+By default, this value is set to 75% of the entropy pool size or 2048 bits
+if the entropy pool size couldn't be determined.
Setting this too high will cause \fIrngd\fR to dominate the contents of the
entropy pool. Low values will hurt system performance during entropy
starves. Do not set \fIfill-watermark\fR above the size of the

View File

@ -1,15 +0,0 @@
https://bugs.gentoo.org/555106
patch by Gokturk Yuksek <gokturk@binghamton.edu>
--- rngd.8.in
+++ rngd.8.in
@@ -59,7 +59,7 @@
.TP
\fB\-r\fI file\fR, \fB\-\-rng-device=\fIfile\fR
Kernel device used for random number input
-(default: /dev/hwrandom)
+(default: /dev/hwrng)
.TP
\fB\-s\fI nnn\fR, \fB\-\-random-step=\fInnn\fR
Number of bytes written to random-device at a time (default: 64)

View File

@ -1,22 +0,0 @@
# /etc/conf.d/rngd
# Please see "/usr/sbin/rngd --help" and "man rngd" for more information
# If a single device is preferred, then specify it here, otherwise we will
# search for suitable devices.
#DEVICE=
# Random step (Number of bytes written to random-device at a time):
STEP=64
# Should TPM be avoided?
# NO_TPM=0
# Should RDRAND be avoided? Please note that unless this is commented
# out, RDRAND _will_ be disabled, as any value will cause it to be
# disabled.
# NO_DRNG=1
# Fill watermark
# 0 <= n <= `sysctl kernel.random.poolsize`
WATERMARK=2048

View File

@ -1,29 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need localmount
after urandom
provide entropy
}
# Do NOT add /dev/tpm to this.
DEFAULT_DEVICE="/dev/hw_random* /dev/hwrandom* /dev/i810_rng /dev/hwrng*"
find_device() {
local d
# The echo is to cause globbing
for d in $(echo ${DEFAULT_DEVICE}) ; do
[ -e "${d}" ] && echo "${d}"
done
}
RNG_DEVICE="${DEVICE:-$(find_device)}"
command=/usr/sbin/rngd
pidfile="/var/run/${SVCNAME}.pid"
command_args="--pid-file ${pidfile} --background --random-step ${STEP:-64} ${NO_TPM:+--no-tpm=1} ${NO_DRNG:+--no-drng=1} --fill-watermark ${WATERMARK} ${RNG_DEVICE:+--rng-device ${RNG_DEVICE}}"
start_stop_daemon_args="--wait 1000"
retry="SIGKILL/5000"

View File

@ -1,17 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need localmount
after urandom
provide entropy
}
command=/usr/sbin/rngd
pidfile="/var/run/${SVCNAME}.pid"
command_args="--pid-file ${pidfile} --background --random-step ${STEP:-64} ${NO_TPM:+--no-tpm=1} \
${NO_DRNG:+--no-drng=1} --fill-watermark ${WATERMARK} ${DEVICE:+--rng-device ${DEVICE}}"
start_stop_daemon_args="--wait 1000"
retry="SIGKILL/5000"

View File

@ -1,8 +0,0 @@
[Unit]
Description=Hardware RNG Entropy Gatherer Daemon
[Service]
ExecStart=/usr/sbin/rngd -f
[Install]
WantedBy=multi-user.target

View File

@ -1,43 +0,0 @@
On glibc systems, argp is provided by libc. However, on
uclibc and other systems which lack argp in their C library,
argp might be provided by a stand alone library, libargp.
This patch adds tests to the build system to find who provides
argp.
X-Gentoo-Bug: 292191
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=292191
Reported-by: Ed Wildgoose <gentoo@wildgooses.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
--- configure.ac.orig 2012-05-26 22:45:42.753478198 +0000
+++ configure.ac 2012-05-27 00:36:23.175844081 +0000
@@ -47,6 +47,28 @@
dnl Checks for optional library functions
dnl -------------------------------------
+dnl First check if we have argp available from libc
+AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM(
+ [#include <argp.h>],
+ [int argc=1; char *argv[]={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;]
+ )],
+ [libc_has_argp="true"],
+ [libc_has_argp="false"]
+)
+
+dnl If libc doesn't provide argp, then test for libargp
+if test "$libc_has_argp" = "false" ; then
+ AC_MSG_WARN("libc does not have argp")
+ AC_CHECK_LIB([argp], [argp_parse], [have_argp="true"], [have_argp="false"])
+
+ if test "$have_argp" = "false"; then
+ AC_MSG_ERROR("no libargp found")
+ else
+ LIBS+=" -largp"
+ fi
+fi
+
dnl -----------------
dnl Configure options
dnl -----------------

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gokturk@gentoo.org</email>
<name>Göktürk Yüksek</name>
</maintainer>
<maintainer type="project">
<email>base-system@gentoo.org</email>
<name>Gentoo Base System</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">gkernel</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils autotools systemd toolchain-funcs
DESCRIPTION="Daemon to use hardware random number generators"
HOMEPAGE="http://gkernel.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ia64 ppc x86"
IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-rngd )"
DEPEND=""
src_prepare() {
echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am
epatch "${FILESDIR}"/test-for-argp.patch
epatch "${FILESDIR}"/fix-textrels-on-PIC-x86.patch
eautoreconf
sed -i '/^AR /d' Makefile.in
tc-export AR
}
src_install() {
default
newinitd "${FILESDIR}"/rngd-initd-4.1 rngd
newconfd "${FILESDIR}"/rngd-confd-4.1 rngd
systemd_dounit "${FILESDIR}"/rngd.service
}

View File

@ -1,40 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools systemd toolchain-funcs
DESCRIPTION="Daemon to use hardware random number generators"
HOMEPAGE="http://gkernel.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ppc ~x86"
IUSE="selinux"
DEPEND="dev-libs/libgcrypt:0
dev-libs/libgpg-error"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-rngd )"
src_prepare() {
echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am
epatch "${FILESDIR}"/test-for-argp.patch
epatch "${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch #469962
epatch "${FILESDIR}"/${P}-man-fill-watermark.patch #555094
epatch "${FILESDIR}"/${P}-man-rng-device.patch #555106
eautoreconf
sed -i '/^AR /d' Makefile.in || die
tc-export AR
}
src_install() {
default
newinitd "${FILESDIR}"/rngd-initd-4.1 rngd
newconfd "${FILESDIR}"/rngd-confd-4.1 rngd
systemd_dounit "${FILESDIR}"/rngd.service
}

View File

@ -1,41 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools systemd toolchain-funcs
DESCRIPTION="Daemon to use hardware random number generators"
HOMEPAGE="http://gkernel.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc x86"
IUSE="selinux"
DEPEND="dev-libs/libgcrypt:0
dev-libs/libgpg-error"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-rngd )"
src_prepare() {
echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die
epatch "${FILESDIR}"/test-for-argp.patch
epatch "${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch #469962
epatch "${FILESDIR}"/${P}-man-fill-watermark.patch #555094
epatch "${FILESDIR}"/${P}-man-rng-device.patch #555106
epatch "${FILESDIR}"/${P}-fix-noctty.patch #556456
eautoreconf
sed -i '/^AR /d' Makefile.in || die
tc-export AR
}
src_install() {
default
newinitd "${FILESDIR}"/rngd-initd-r1-4.1 rngd
newconfd "${FILESDIR}"/rngd-confd-4.1 rngd
systemd_dounit "${FILESDIR}"/rngd.service
}

View File

@ -1,38 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils autotools systemd toolchain-funcs
DESCRIPTION="Daemon to use hardware random number generators"
HOMEPAGE="http://gkernel.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkernel/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc x86"
IUSE="selinux"
DEPEND="dev-libs/libgcrypt:0
dev-libs/libgpg-error"
RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-rngd )"
src_prepare() {
echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am
epatch "${FILESDIR}"/test-for-argp.patch\
"${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch
eautoreconf
sed -i '/^AR /d' Makefile.in || die
tc-export AR
}
src_install() {
default
newinitd "${FILESDIR}"/rngd-initd-4.1 rngd
newconfd "${FILESDIR}"/rngd-confd-4.1 rngd
systemd_dounit "${FILESDIR}"/rngd.service
}