1 |
commit: 5d19cee5dc3501f2d5d58c96e4b2506f38abe85e |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 00:33:58 2019 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 00:41:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d19cee5 |
7 |
|
8 |
sys-apps/rng-tools: remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/679122 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org> |
13 |
|
14 |
sys-apps/rng-tools/Manifest | 7 --- |
15 |
...ools-6.1-fix-nistbeacon-validation-on-x86.patch | 45 -------------- |
16 |
.../rng-tools-6.3-jitterentropy-linking-fix.patch | 36 ----------- |
17 |
.../rng-tools-6.4-jitterentropy-linking-fix.patch | 36 ----------- |
18 |
...6.5-jitterentropy-automagic-detection-fix.patch | 60 ------------------- |
19 |
sys-apps/rng-tools/files/rngd-initd-6 | 16 ----- |
20 |
sys-apps/rng-tools/rng-tools-6-r1.ebuild | 47 --------------- |
21 |
sys-apps/rng-tools/rng-tools-6.1-r2.ebuild | 62 ------------------- |
22 |
sys-apps/rng-tools/rng-tools-6.2.ebuild | 61 ------------------- |
23 |
sys-apps/rng-tools/rng-tools-6.3.1.ebuild | 70 ---------------------- |
24 |
sys-apps/rng-tools/rng-tools-6.3.ebuild | 70 ---------------------- |
25 |
sys-apps/rng-tools/rng-tools-6.4.ebuild | 70 ---------------------- |
26 |
sys-apps/rng-tools/rng-tools-6.5.ebuild | 70 ---------------------- |
27 |
sys-apps/rng-tools/rng-tools-6.6.ebuild | 69 --------------------- |
28 |
14 files changed, 719 deletions(-) |
29 |
|
30 |
diff --git a/sys-apps/rng-tools/Manifest b/sys-apps/rng-tools/Manifest |
31 |
index d17b7055c3c..3152e7a0de1 100644 |
32 |
--- a/sys-apps/rng-tools/Manifest |
33 |
+++ b/sys-apps/rng-tools/Manifest |
34 |
@@ -1,10 +1,3 @@ |
35 |
DIST rng-tools-5.tar.gz 122182 BLAKE2B de7085d530e38de21a1c33792d67a72e0131b221082d690cdb299367b80b0a123c2976174aa3f895a4a2ab1216aacfaa8e09de485c85154dc4a5b8f960d05245 SHA512 58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 |
36 |
-DIST rng-tools-6.1.tar.gz 29814 BLAKE2B 4102c03ced36b33f9db6f7e5f77e8f918c4b9286a4c94cfd9ea9645c394f054fb3165255c3beb0f73d897d066831301f69a64e2758296b4418808343c97f3269 SHA512 388593ffeef0b5f2770532629418cdf1b6421092ae9c5fe0a68d198a5cbd4ff733fbca8091d497e09620c61a9e8b982298fb064edfd05a0fc36fa49c22eef5c9 |
37 |
-DIST rng-tools-6.2.tar.gz 30421 BLAKE2B 646628095cbc611aee4113198e0874b5f0672cd787f04f1649ff350883edebe6b31753aef3ac2bca1f05eedcf3c1400435c084382bde9f97fe6dcdd71adf18c2 SHA512 ffd8be5b232f092f8bcfdb6281580ce9053ec8bb87ff6bcae76585c38e3e91b9e464a9544a33ecd9814a9f244a89bac973d15c9bd3560d1164559685c720d174 |
38 |
-DIST rng-tools-6.3.1.tar.gz 31797 BLAKE2B 00d75d8436b4b49798bca8fb76e43a98feac8805b47a57d2315c22e72ed3dff30c6305b206168531c85c0576dc1d9864585eb3d4c2af833e9bec8dc5a478e19b SHA512 cb85674e6448e8152f92b4a82e944a9258dcc9ce68349404c0000c09378ac5f6fb298c50ed2d9a1b18d76c5f35b0a4884d5efd0f4dd434ec0952107e0738b937 |
39 |
-DIST rng-tools-6.3.tar.gz 31474 BLAKE2B 4d3924b3ca85d31d1999ceb45908cf64e8d2978d2e0aa638d9bbd3054a11a41251f9db54db35583c8fc080fd0667387cd63792c15486048d1f52300217e02fa9 SHA512 c00ac28c059ba689f114480958fe993e2199a1428137b151779a0331b9cc5a667f08770aa7b28d98c801166a509e8bd40d6b92f5c29b6ff73eb50a1cb0f2dd13 |
40 |
-DIST rng-tools-6.4.tar.gz 41248 BLAKE2B 16000e0779cf7aa25936a95661a0c40d4f0f12ed91fa36160924782d22a1057838bfb466f60614f91ef6c5576e0a29b6c1028bb72d5f5403c9a61d8f5ec16edd SHA512 12da9819b6e9a9ea688e82d1689642a690f6c9d78ad5fcf159a71b37a49f79120c8f62d4e1b8e81a496eac46a28137c5c87973499b31e1881a7866de99a168f0 |
41 |
-DIST rng-tools-6.5.tar.gz 51484 BLAKE2B 92700cbe1b48244effeae4f058507c27f8c9714f9bb5435ee7c6c08e260ce57891084208ea62391ab68b6551a3d95997c91d88020e9541564488abcf2041e479 SHA512 ae356ae18cb8584a594519038789d17e0f1b3d30122c058f86f3919a9c5ebfe0c48f8d7bfa6154b37d4f92d89c8b8a4a91007de0d1262ce5b86af19248c57bd0 |
42 |
DIST rng-tools-6.6.tar.gz 51468 BLAKE2B 47231c60d78a48ade07855dfe8a807d6c10b8e27dc662ff7d98cf232b50e6c32f24197291a813d6ed6d15325a33fe9683d82943109a80cac1d9e348fc30cb849 SHA512 00bbe7f817d8f228f357a79ca270c27c62c0e588a99cd76917ecb7e88dfb627028c66497a59c9918205f3551aaf631963c8fd6504cb4198ddf57f714204c21c4 |
43 |
DIST rng-tools-6.7.tar.gz 52792 BLAKE2B 3789aa4c6e2f024dcaef6b9b51521e206d65500a94ab456db61dc45c69ac5e4849a1e74abbe0f7640827ffb4bb20675c1f639a5be852d21d0d1a3c6b2e96bb5e SHA512 2f09edacb5448087041257326faf570c303b42f90bb695a1999b2c7543f20a28b15cdf705a2eca55cae8e9cf9fb5205c056fc26cfaf6af958bcda2cde1952b4d |
44 |
-DIST rng-tools-6.tar.gz 26024 BLAKE2B a523328fcce56997e2847940cdc096abd5a539135f857f0a4cd3d782a1659f4d2978870149caac47b839c80788df6a3d891adcd39371d5968149dd29bc46bc62 SHA512 2aea947c4dba5e8c4df33396957f7224b62200be0e3d10aac08c84155fa473a67df5f49e07a07b2cbea4dfd772d90c1b194e8fce3d8eea762463a7f4a16d6ce4 |
45 |
|
46 |
diff --git a/sys-apps/rng-tools/files/rng-tools-6.1-fix-nistbeacon-validation-on-x86.patch b/sys-apps/rng-tools/files/rng-tools-6.1-fix-nistbeacon-validation-on-x86.patch |
47 |
deleted file mode 100644 |
48 |
index 1872444bc4a..00000000000 |
49 |
--- a/sys-apps/rng-tools/files/rng-tools-6.1-fix-nistbeacon-validation-on-x86.patch |
50 |
+++ /dev/null |
51 |
@@ -1,45 +0,0 @@ |
52 |
-From e8d7ea04e39f1209a79c003f3b62c9f1761dec0e Mon Sep 17 00:00:00 2001 |
53 |
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@g.o> |
54 |
-Date: Thu, 19 Apr 2018 05:29:01 -0400 |
55 |
-Subject: [PATCH] rngd_nistbeacon: fix the size of frequency and timestamp on |
56 |
- x86_32 |
57 |
- |
58 |
-The members "frequency" and "timestamp" of struct nist_data_block are |
59 |
-defined as int and long, respectively. On x86_64, their sizes |
60 |
-correctly correspond to 4 and 8 bytes. However, on 32-bit x86 |
61 |
-architectures, both int and long are defined as 4 bytes, causing the |
62 |
-digest verification to fail. Fix it by using uint32_t and uint64_t |
63 |
-explicitly. |
64 |
---- |
65 |
- rngd_nistbeacon.c | 8 ++++---- |
66 |
- 1 file changed, 4 insertions(+), 4 deletions(-) |
67 |
- |
68 |
-diff --git a/rngd_nistbeacon.c b/rngd_nistbeacon.c |
69 |
-index fbebc53..eadde39 100644 |
70 |
---- a/rngd_nistbeacon.c |
71 |
-+++ b/rngd_nistbeacon.c |
72 |
-@@ -97,8 +97,8 @@ BIO *bfp; |
73 |
- |
74 |
- struct nist_data_block { |
75 |
- char *version; |
76 |
-- int frequency; |
77 |
-- long timestamp; |
78 |
-+ uint32_t frequency; |
79 |
-+ uint64_t timestamp; |
80 |
- char *seedvalue; |
81 |
- size_t seedvaluelen; |
82 |
- char *previoushash; |
83 |
-@@ -355,8 +355,8 @@ static int validate_nist_block() |
84 |
- |
85 |
- |
86 |
- EVP_VerifyUpdate(mdctx, block.version, strlen(block.version)); |
87 |
-- EVP_VerifyUpdate(mdctx, &block.frequency, sizeof(int)); |
88 |
-- EVP_VerifyUpdate(mdctx, &block.timestamp, sizeof(long)); |
89 |
-+ EVP_VerifyUpdate(mdctx, &block.frequency, sizeof(uint32_t)); |
90 |
-+ EVP_VerifyUpdate(mdctx, &block.timestamp, sizeof(uint64_t)); |
91 |
- EVP_VerifyUpdate(mdctx, block.seedvalue, block.seedvaluelen); |
92 |
- EVP_VerifyUpdate(mdctx, block.previoushash, block.previoushashlen); |
93 |
- EVP_VerifyUpdate(mdctx, &block.errorcode, block.errorcodelen); |
94 |
--- |
95 |
-2.13.6 |
96 |
- |
97 |
|
98 |
diff --git a/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch b/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch |
99 |
deleted file mode 100644 |
100 |
index f7b87c88715..00000000000 |
101 |
--- a/sys-apps/rng-tools/files/rng-tools-6.3-jitterentropy-linking-fix.patch |
102 |
+++ /dev/null |
103 |
@@ -1,36 +0,0 @@ |
104 |
-From c9f795da2dbeb0e85025f6264321aef1ba12059e Mon Sep 17 00:00:00 2001 |
105 |
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@g.o> |
106 |
-Date: Fri, 6 Jul 2018 17:20:28 -0400 |
107 |
-Subject: [PATCH] Makefile.am: use the libjitterentropy available on the system |
108 |
- |
109 |
---- |
110 |
- Makefile.am | 6 ++---- |
111 |
- 1 file changed, 2 insertions(+), 4 deletions(-) |
112 |
- |
113 |
-diff --git a/Makefile.am b/Makefile.am |
114 |
-index b80e9a0..5d33aaf 100644 |
115 |
---- a/Makefile.am |
116 |
-+++ b/Makefile.am |
117 |
-@@ -2,9 +2,7 @@ |
118 |
- ## Toplevel Makefile.am for rng-tools |
119 |
- ## |
120 |
- if JITTER |
121 |
-- JSUBDIR = jitterentropy-library |
122 |
-- JSUBLIB = ./jitterentropy-library/libjitterentropy.a |
123 |
-- AM_CPPFLAGS = -I./jitterentropy-library |
124 |
-+ jitterentropy_LIBS = -ljitterentropy |
125 |
- endif |
126 |
- |
127 |
- SUBDIRS = contrib tests $(JSUBDIR) |
128 |
-@@ -33,7 +31,7 @@ if JITTER |
129 |
- rngd_SOURCES += rngd_jitter.c |
130 |
- endif |
131 |
- |
132 |
--rngd_LDADD = librngd.a -lsysfs $(JSUBLIB) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} |
133 |
-+rngd_LDADD = librngd.a -lsysfs $(jitterentropy_LIBS) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} |
134 |
- |
135 |
- rngd_CFLAGS = ${libxml2_CFLAGS} ${openssl_CFLAGS} |
136 |
- |
137 |
--- |
138 |
-2.17.0 |
139 |
- |
140 |
|
141 |
diff --git a/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch b/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch |
142 |
deleted file mode 100644 |
143 |
index e6cf95d13f3..00000000000 |
144 |
--- a/sys-apps/rng-tools/files/rng-tools-6.4-jitterentropy-linking-fix.patch |
145 |
+++ /dev/null |
146 |
@@ -1,36 +0,0 @@ |
147 |
-From ac00de69665a14bc1884be90ec83f8e8bc4d69f0 Mon Sep 17 00:00:00 2001 |
148 |
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@g.o> |
149 |
-Date: Wed, 19 Sep 2018 16:45:37 -0400 |
150 |
-Subject: [PATCH] Makefile.am: use the libjitterentropy available on the system |
151 |
- |
152 |
---- |
153 |
- Makefile.am | 6 ++---- |
154 |
- 1 file changed, 2 insertions(+), 4 deletions(-) |
155 |
- |
156 |
-diff --git a/Makefile.am b/Makefile.am |
157 |
-index fa8ecca..abc759a 100644 |
158 |
---- a/Makefile.am |
159 |
-+++ b/Makefile.am |
160 |
-@@ -2,9 +2,7 @@ |
161 |
- ## Toplevel Makefile.am for rng-tools |
162 |
- ## |
163 |
- if JITTER |
164 |
-- JSUBDIR = jitterentropy-library |
165 |
-- JSUBLIB = ./jitterentropy-library/libjitterentropy.a |
166 |
-- AM_CPPFLAGS = -I./jitterentropy-library |
167 |
-+ jitterentropy_LIBS = -ljitterentropy |
168 |
- endif |
169 |
- |
170 |
- SUBDIRS = contrib tests $(JSUBDIR) |
171 |
-@@ -33,7 +31,7 @@ if JITTER |
172 |
- rngd_SOURCES += rngd_jitter.c |
173 |
- endif |
174 |
- |
175 |
--rngd_LDADD = librngd.a -lsysfs $(JSUBLIB) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} $(PTHREAD_LIBS) |
176 |
-+rngd_LDADD = librngd.a -lsysfs $(jitterentropy_LIBS) ${libcurl_LIBS} ${libxml2_LIBS} ${openssl_LIBS} $(PTHREAD_LIBS) |
177 |
- |
178 |
- rngd_CFLAGS = ${libxml2_CFLAGS} ${openssl_CFLAGS} $(PTHREAD_CFLAGS) |
179 |
- rngd_LDFLAGS = $(PTHREAD_CFLAGS) |
180 |
--- |
181 |
-2.19.0 |
182 |
- |
183 |
|
184 |
diff --git a/sys-apps/rng-tools/files/rng-tools-6.5-jitterentropy-automagic-detection-fix.patch b/sys-apps/rng-tools/files/rng-tools-6.5-jitterentropy-automagic-detection-fix.patch |
185 |
deleted file mode 100644 |
186 |
index b03960180ed..00000000000 |
187 |
--- a/sys-apps/rng-tools/files/rng-tools-6.5-jitterentropy-automagic-detection-fix.patch |
188 |
+++ /dev/null |
189 |
@@ -1,60 +0,0 @@ |
190 |
-From 76cfc06afb69019dcf0bbd9938f6378168e37411 Mon Sep 17 00:00:00 2001 |
191 |
-From: =?UTF-8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= <gokturk@g.o> |
192 |
-Date: Wed, 26 Sep 2018 13:32:39 -0400 |
193 |
-Subject: [PATCH] configure.ac: control jitterentropy support using |
194 |
- --with-jitter |
195 |
- |
196 |
-Replace automagic detection of jitterentropy DSO with an AC_ARG_WITH |
197 |
-macro so that rngd can be compiled without jitter support even when |
198 |
-the jitterentropy library is available on the system. |
199 |
---- |
200 |
- configure.ac | 26 +++++++++++++++++++------- |
201 |
- 1 file changed, 19 insertions(+), 7 deletions(-) |
202 |
- |
203 |
-diff --git a/configure.ac b/configure.ac |
204 |
-index b1544d9..1e58184 100644 |
205 |
---- a/configure.ac |
206 |
-+++ b/configure.ac |
207 |
-@@ -40,6 +40,13 @@ AC_ARG_WITH([nistbeacon], |
208 |
- [with_nistbeacon=check] |
209 |
- ) |
210 |
- |
211 |
-+AC_ARG_WITH([jitter], |
212 |
-+ AS_HELP_STRING([--without-jitter], |
213 |
-+ [Disable jitter entropy library support. ]), |
214 |
-+ [], |
215 |
-+ [with_jitter=check] |
216 |
-+) |
217 |
-+ |
218 |
- dnl Make sure anyone changing configure.ac/Makefile.am has a clue |
219 |
- AM_MAINTAINER_MODE |
220 |
- AM_PROG_AS |
221 |
-@@ -61,13 +68,18 @@ AS_IF([test $target_cpu = powerpc64le], [AC_DEFINE([HAVE_DARN],1,[Enable DARN])] |
222 |
- |
223 |
- AM_CONDITIONAL([JITTER], [false]) |
224 |
- AM_CONDITIONAL([JITTER_DSO], [false]) |
225 |
--AS_IF([test -f jitterentropy-library/Makefile], |
226 |
-- [AM_CONDITIONAL([JITTER], [true]) |
227 |
-- AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])], |
228 |
-- [AC_SEARCH_LIBS(jent_version,jitterentropy, |
229 |
-- [AM_CONDITIONAL([JITTER_DSO], [true]) |
230 |
-- AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])], |
231 |
-- [AC_MSG_NOTICE([Disabling JITTER entropy source])])]) |
232 |
-+AS_IF( |
233 |
-+ [ test "x$with_jitter" != "xno" ], |
234 |
-+ [ |
235 |
-+ AS_IF([test -f jitterentropy-library/Makefile], |
236 |
-+ [AM_CONDITIONAL([JITTER], [true]) |
237 |
-+ AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])], |
238 |
-+ [AC_SEARCH_LIBS(jent_version,jitterentropy, |
239 |
-+ [AM_CONDITIONAL([JITTER_DSO], [true]) |
240 |
-+ AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])], |
241 |
-+ [AC_MSG_NOTICE([Disabling JITTER entropy source])])]) |
242 |
-+ ] |
243 |
-+) |
244 |
- |
245 |
- #AM_CONDITIONAL([JITTER], [test -f jitterentropy-library/Makefile]) |
246 |
- #AS_IF([test -f jitterentropy-library/Makefile], [AC_DEFINE([HAVE_JITTER],1,[Enable JITTER])],[AC_MSG_NOTICE([Disabling JITTER entropy source])]) |
247 |
--- |
248 |
-2.19.0 |
249 |
- |
250 |
|
251 |
diff --git a/sys-apps/rng-tools/files/rngd-initd-6 b/sys-apps/rng-tools/files/rngd-initd-6 |
252 |
deleted file mode 100644 |
253 |
index c3b48bf2209..00000000000 |
254 |
--- a/sys-apps/rng-tools/files/rngd-initd-6 |
255 |
+++ /dev/null |
256 |
@@ -1,16 +0,0 @@ |
257 |
-#!/sbin/openrc-run |
258 |
-# Copyright 1999-2017 Gentoo Foundation |
259 |
-# Distributed under the terms of the GNU General Public License v2 |
260 |
- |
261 |
-depend() { |
262 |
- need localmount |
263 |
- after urandom |
264 |
- provide entropy |
265 |
-} |
266 |
- |
267 |
-command=/usr/sbin/rngd |
268 |
-pidfile="/var/run/${SVCNAME}.pid" |
269 |
-command_args="--pid-file ${pidfile} --background --random-step ${STEP:-64} ${NO_TPM:+-x 1} \ |
270 |
- ${NO_DRNG:+-x 2} --fill-watermark ${WATERMARK} ${DEVICE:+--rng-device ${DEVICE}}" |
271 |
-start_stop_daemon_args="--wait 1000" |
272 |
-retry="SIGKILL/5000" |
273 |
|
274 |
diff --git a/sys-apps/rng-tools/rng-tools-6-r1.ebuild b/sys-apps/rng-tools/rng-tools-6-r1.ebuild |
275 |
deleted file mode 100644 |
276 |
index 1cee6b6717b..00000000000 |
277 |
--- a/sys-apps/rng-tools/rng-tools-6-r1.ebuild |
278 |
+++ /dev/null |
279 |
@@ -1,47 +0,0 @@ |
280 |
-# Copyright 1999-2019 Gentoo Authors |
281 |
-# Distributed under the terms of the GNU General Public License v2 |
282 |
- |
283 |
-EAPI=6 |
284 |
- |
285 |
-inherit eutils autotools systemd toolchain-funcs |
286 |
- |
287 |
-DESCRIPTION="Daemon to use hardware random number generators" |
288 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
289 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/${P}.tar.gz" |
290 |
- |
291 |
-LICENSE="GPL-2" |
292 |
-SLOT="0" |
293 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
294 |
-IUSE="selinux" |
295 |
- |
296 |
-DEPEND="dev-libs/libgcrypt:0 |
297 |
- dev-libs/libgpg-error |
298 |
- elibc_musl? ( sys-libs/argp-standalone )" |
299 |
-RDEPEND="${DEPEND} |
300 |
- sys-fs/sysfsutils |
301 |
- selinux? ( sec-policy/selinux-rngd )" |
302 |
- |
303 |
-S="${WORKDIR}/${PN}-${P}" |
304 |
- |
305 |
-PATCHES=( |
306 |
- "${FILESDIR}"/test-for-argp.patch |
307 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
308 |
- "${FILESDIR}"/${PN}-5-man-fill-watermark.patch #555094 |
309 |
- "${FILESDIR}"/${PN}-6-fix-noctty.patch #556456 |
310 |
-) |
311 |
- |
312 |
-src_prepare() { |
313 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
314 |
- default |
315 |
- eautoreconf |
316 |
- |
317 |
- sed -i '/^AR /d' Makefile.in || die |
318 |
- tc-export AR |
319 |
-} |
320 |
- |
321 |
-src_install() { |
322 |
- default |
323 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
324 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
325 |
- systemd_dounit "${FILESDIR}"/rngd.service |
326 |
-} |
327 |
|
328 |
diff --git a/sys-apps/rng-tools/rng-tools-6.1-r2.ebuild b/sys-apps/rng-tools/rng-tools-6.1-r2.ebuild |
329 |
deleted file mode 100644 |
330 |
index c51a2821f9d..00000000000 |
331 |
--- a/sys-apps/rng-tools/rng-tools-6.1-r2.ebuild |
332 |
+++ /dev/null |
333 |
@@ -1,62 +0,0 @@ |
334 |
-# Copyright 1999-2019 Gentoo Authors |
335 |
-# Distributed under the terms of the GNU General Public License v2 |
336 |
- |
337 |
-EAPI=6 |
338 |
- |
339 |
-inherit autotools systemd toolchain-funcs |
340 |
- |
341 |
-DESCRIPTION="Daemon to use hardware random number generators" |
342 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
343 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
344 |
- |
345 |
-LICENSE="GPL-2" |
346 |
-SLOT="0" |
347 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
348 |
-IUSE="nistbeacon selinux" |
349 |
- |
350 |
-DEPEND="dev-libs/libgcrypt:0 |
351 |
- dev-libs/libgpg-error |
352 |
- nistbeacon? ( |
353 |
- net-misc/curl[ssl] |
354 |
- dev-libs/libxml2:2= |
355 |
- dev-libs/openssl:0= |
356 |
- ) |
357 |
- elibc_musl? ( sys-libs/argp-standalone ) |
358 |
-" |
359 |
-RDEPEND="${DEPEND} |
360 |
- sys-fs/sysfsutils |
361 |
- selinux? ( sec-policy/selinux-rngd )" |
362 |
-DEPEND="${DEPEND} |
363 |
- nistbeacon? ( |
364 |
- virtual/pkgconfig |
365 |
- ) |
366 |
-" |
367 |
- |
368 |
-PATCHES=( |
369 |
- "${FILESDIR}"/test-for-argp.patch |
370 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
371 |
- "${FILESDIR}"/${PN}-6.1-fix-nistbeacon-validation-on-x86.patch |
372 |
-) |
373 |
- |
374 |
-src_prepare() { |
375 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
376 |
- default |
377 |
- |
378 |
- mv README.md README || die |
379 |
- |
380 |
- eautoreconf |
381 |
- |
382 |
- sed -i '/^AR /d' Makefile.in || die |
383 |
- tc-export AR |
384 |
-} |
385 |
- |
386 |
-src_configure() { |
387 |
- econf $(use_with nistbeacon) |
388 |
-} |
389 |
- |
390 |
-src_install() { |
391 |
- default |
392 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
393 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
394 |
- systemd_dounit "${FILESDIR}"/rngd.service |
395 |
-} |
396 |
|
397 |
diff --git a/sys-apps/rng-tools/rng-tools-6.2.ebuild b/sys-apps/rng-tools/rng-tools-6.2.ebuild |
398 |
deleted file mode 100644 |
399 |
index 45197defe8b..00000000000 |
400 |
--- a/sys-apps/rng-tools/rng-tools-6.2.ebuild |
401 |
+++ /dev/null |
402 |
@@ -1,61 +0,0 @@ |
403 |
-# Copyright 1999-2019 Gentoo Authors |
404 |
-# Distributed under the terms of the GNU General Public License v2 |
405 |
- |
406 |
-EAPI=6 |
407 |
- |
408 |
-inherit autotools systemd toolchain-funcs |
409 |
- |
410 |
-DESCRIPTION="Daemon to use hardware random number generators" |
411 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
412 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
413 |
- |
414 |
-LICENSE="GPL-2" |
415 |
-SLOT="0" |
416 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
417 |
-IUSE="nistbeacon selinux" |
418 |
- |
419 |
-DEPEND="dev-libs/libgcrypt:0 |
420 |
- dev-libs/libgpg-error |
421 |
- sys-fs/sysfsutils |
422 |
- nistbeacon? ( |
423 |
- net-misc/curl[ssl] |
424 |
- dev-libs/libxml2:2= |
425 |
- dev-libs/openssl:0= |
426 |
- ) |
427 |
- elibc_musl? ( sys-libs/argp-standalone ) |
428 |
-" |
429 |
-RDEPEND="${DEPEND} |
430 |
- selinux? ( sec-policy/selinux-rngd )" |
431 |
-DEPEND="${DEPEND} |
432 |
- nistbeacon? ( |
433 |
- virtual/pkgconfig |
434 |
- ) |
435 |
-" |
436 |
- |
437 |
-PATCHES=( |
438 |
- "${FILESDIR}"/test-for-argp.patch |
439 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
440 |
-) |
441 |
- |
442 |
-src_prepare() { |
443 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
444 |
- default |
445 |
- |
446 |
- mv README.md README || die |
447 |
- |
448 |
- eautoreconf |
449 |
- |
450 |
- sed -i '/^AR /d' Makefile.in || die |
451 |
- tc-export AR |
452 |
-} |
453 |
- |
454 |
-src_configure() { |
455 |
- econf $(use_with nistbeacon) |
456 |
-} |
457 |
- |
458 |
-src_install() { |
459 |
- default |
460 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
461 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
462 |
- systemd_dounit "${FILESDIR}"/rngd.service |
463 |
-} |
464 |
|
465 |
diff --git a/sys-apps/rng-tools/rng-tools-6.3.1.ebuild b/sys-apps/rng-tools/rng-tools-6.3.1.ebuild |
466 |
deleted file mode 100644 |
467 |
index a8887e279b0..00000000000 |
468 |
--- a/sys-apps/rng-tools/rng-tools-6.3.1.ebuild |
469 |
+++ /dev/null |
470 |
@@ -1,70 +0,0 @@ |
471 |
-# Copyright 1999-2019 Gentoo Authors |
472 |
-# Distributed under the terms of the GNU General Public License v2 |
473 |
- |
474 |
-EAPI=6 |
475 |
- |
476 |
-inherit autotools systemd toolchain-funcs |
477 |
- |
478 |
-DESCRIPTION="Daemon to use hardware random number generators" |
479 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
480 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
481 |
- |
482 |
-LICENSE="GPL-2" |
483 |
-SLOT="0" |
484 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
485 |
-IUSE="jitterentropy nistbeacon selinux" |
486 |
- |
487 |
-DEPEND="dev-libs/libgcrypt:0 |
488 |
- dev-libs/libgpg-error |
489 |
- sys-fs/sysfsutils |
490 |
- jitterentropy? ( |
491 |
- app-crypt/jitterentropy:= |
492 |
- ) |
493 |
- nistbeacon? ( |
494 |
- net-misc/curl[ssl] |
495 |
- dev-libs/libxml2:2= |
496 |
- dev-libs/openssl:0= |
497 |
- ) |
498 |
- elibc_musl? ( sys-libs/argp-standalone ) |
499 |
-" |
500 |
-RDEPEND="${DEPEND} |
501 |
- selinux? ( sec-policy/selinux-rngd )" |
502 |
-DEPEND="${DEPEND} |
503 |
- nistbeacon? ( |
504 |
- virtual/pkgconfig |
505 |
- ) |
506 |
-" |
507 |
- |
508 |
-PATCHES=( |
509 |
- "${FILESDIR}"/test-for-argp.patch |
510 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
511 |
- "${FILESDIR}"/${PN}-6.3-jitterentropy-linking-fix.patch |
512 |
-) |
513 |
- |
514 |
-src_prepare() { |
515 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
516 |
- default |
517 |
- |
518 |
- mv README.md README || die |
519 |
- |
520 |
- if use jitterentropy; then |
521 |
- # Fool the build system into thinking that |
522 |
- # jitterentropy source code exists |
523 |
- touch "${S}"/jitterentropy-library/Makefile || die |
524 |
- fi |
525 |
- eautoreconf |
526 |
- |
527 |
- sed -i '/^AR /d' Makefile.in || die |
528 |
- tc-export AR |
529 |
-} |
530 |
- |
531 |
-src_configure() { |
532 |
- econf $(use_with nistbeacon) |
533 |
-} |
534 |
- |
535 |
-src_install() { |
536 |
- default |
537 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
538 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
539 |
- systemd_dounit "${FILESDIR}"/rngd.service |
540 |
-} |
541 |
|
542 |
diff --git a/sys-apps/rng-tools/rng-tools-6.3.ebuild b/sys-apps/rng-tools/rng-tools-6.3.ebuild |
543 |
deleted file mode 100644 |
544 |
index a8887e279b0..00000000000 |
545 |
--- a/sys-apps/rng-tools/rng-tools-6.3.ebuild |
546 |
+++ /dev/null |
547 |
@@ -1,70 +0,0 @@ |
548 |
-# Copyright 1999-2019 Gentoo Authors |
549 |
-# Distributed under the terms of the GNU General Public License v2 |
550 |
- |
551 |
-EAPI=6 |
552 |
- |
553 |
-inherit autotools systemd toolchain-funcs |
554 |
- |
555 |
-DESCRIPTION="Daemon to use hardware random number generators" |
556 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
557 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
558 |
- |
559 |
-LICENSE="GPL-2" |
560 |
-SLOT="0" |
561 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
562 |
-IUSE="jitterentropy nistbeacon selinux" |
563 |
- |
564 |
-DEPEND="dev-libs/libgcrypt:0 |
565 |
- dev-libs/libgpg-error |
566 |
- sys-fs/sysfsutils |
567 |
- jitterentropy? ( |
568 |
- app-crypt/jitterentropy:= |
569 |
- ) |
570 |
- nistbeacon? ( |
571 |
- net-misc/curl[ssl] |
572 |
- dev-libs/libxml2:2= |
573 |
- dev-libs/openssl:0= |
574 |
- ) |
575 |
- elibc_musl? ( sys-libs/argp-standalone ) |
576 |
-" |
577 |
-RDEPEND="${DEPEND} |
578 |
- selinux? ( sec-policy/selinux-rngd )" |
579 |
-DEPEND="${DEPEND} |
580 |
- nistbeacon? ( |
581 |
- virtual/pkgconfig |
582 |
- ) |
583 |
-" |
584 |
- |
585 |
-PATCHES=( |
586 |
- "${FILESDIR}"/test-for-argp.patch |
587 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
588 |
- "${FILESDIR}"/${PN}-6.3-jitterentropy-linking-fix.patch |
589 |
-) |
590 |
- |
591 |
-src_prepare() { |
592 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
593 |
- default |
594 |
- |
595 |
- mv README.md README || die |
596 |
- |
597 |
- if use jitterentropy; then |
598 |
- # Fool the build system into thinking that |
599 |
- # jitterentropy source code exists |
600 |
- touch "${S}"/jitterentropy-library/Makefile || die |
601 |
- fi |
602 |
- eautoreconf |
603 |
- |
604 |
- sed -i '/^AR /d' Makefile.in || die |
605 |
- tc-export AR |
606 |
-} |
607 |
- |
608 |
-src_configure() { |
609 |
- econf $(use_with nistbeacon) |
610 |
-} |
611 |
- |
612 |
-src_install() { |
613 |
- default |
614 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
615 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
616 |
- systemd_dounit "${FILESDIR}"/rngd.service |
617 |
-} |
618 |
|
619 |
diff --git a/sys-apps/rng-tools/rng-tools-6.4.ebuild b/sys-apps/rng-tools/rng-tools-6.4.ebuild |
620 |
deleted file mode 100644 |
621 |
index 3ee017a12dc..00000000000 |
622 |
--- a/sys-apps/rng-tools/rng-tools-6.4.ebuild |
623 |
+++ /dev/null |
624 |
@@ -1,70 +0,0 @@ |
625 |
-# Copyright 1999-2019 Gentoo Authors |
626 |
-# Distributed under the terms of the GNU General Public License v2 |
627 |
- |
628 |
-EAPI=6 |
629 |
- |
630 |
-inherit autotools systemd toolchain-funcs |
631 |
- |
632 |
-DESCRIPTION="Daemon to use hardware random number generators" |
633 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
634 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
635 |
- |
636 |
-LICENSE="GPL-2" |
637 |
-SLOT="0" |
638 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
639 |
-IUSE="jitterentropy nistbeacon selinux" |
640 |
- |
641 |
-DEPEND="dev-libs/libgcrypt:0 |
642 |
- dev-libs/libgpg-error |
643 |
- sys-fs/sysfsutils |
644 |
- jitterentropy? ( |
645 |
- app-crypt/jitterentropy:= |
646 |
- ) |
647 |
- nistbeacon? ( |
648 |
- net-misc/curl[ssl] |
649 |
- dev-libs/libxml2:2= |
650 |
- dev-libs/openssl:0= |
651 |
- ) |
652 |
- elibc_musl? ( sys-libs/argp-standalone ) |
653 |
-" |
654 |
-RDEPEND="${DEPEND} |
655 |
- selinux? ( sec-policy/selinux-rngd )" |
656 |
-DEPEND="${DEPEND} |
657 |
- nistbeacon? ( |
658 |
- virtual/pkgconfig |
659 |
- ) |
660 |
-" |
661 |
- |
662 |
-PATCHES=( |
663 |
- "${FILESDIR}"/test-for-argp.patch |
664 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
665 |
- "${FILESDIR}"/${PN}-6.4-jitterentropy-linking-fix.patch |
666 |
-) |
667 |
- |
668 |
-src_prepare() { |
669 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
670 |
- default |
671 |
- |
672 |
- mv README.md README || die |
673 |
- |
674 |
- if use jitterentropy; then |
675 |
- # Fool the build system into thinking that |
676 |
- # jitterentropy source code exists |
677 |
- touch "${S}"/jitterentropy-library/Makefile || die |
678 |
- fi |
679 |
- eautoreconf |
680 |
- |
681 |
- sed -i '/^AR /d' Makefile.in || die |
682 |
- tc-export AR |
683 |
-} |
684 |
- |
685 |
-src_configure() { |
686 |
- econf $(use_with nistbeacon) |
687 |
-} |
688 |
- |
689 |
-src_install() { |
690 |
- default |
691 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
692 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
693 |
- systemd_dounit "${FILESDIR}"/rngd.service |
694 |
-} |
695 |
|
696 |
diff --git a/sys-apps/rng-tools/rng-tools-6.5.ebuild b/sys-apps/rng-tools/rng-tools-6.5.ebuild |
697 |
deleted file mode 100644 |
698 |
index b7c7cd5116b..00000000000 |
699 |
--- a/sys-apps/rng-tools/rng-tools-6.5.ebuild |
700 |
+++ /dev/null |
701 |
@@ -1,70 +0,0 @@ |
702 |
-# Copyright 1999-2019 Gentoo Authors |
703 |
-# Distributed under the terms of the GNU General Public License v2 |
704 |
- |
705 |
-EAPI=6 |
706 |
- |
707 |
-inherit autotools systemd toolchain-funcs |
708 |
- |
709 |
-DESCRIPTION="Daemon to use hardware random number generators" |
710 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
711 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
712 |
- |
713 |
-LICENSE="GPL-2" |
714 |
-SLOT="0" |
715 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
716 |
-IUSE="jitterentropy nistbeacon selinux" |
717 |
- |
718 |
-DEPEND="dev-libs/libgcrypt:0 |
719 |
- dev-libs/libgpg-error |
720 |
- sys-fs/sysfsutils |
721 |
- jitterentropy? ( |
722 |
- app-crypt/jitterentropy:= |
723 |
- ) |
724 |
- nistbeacon? ( |
725 |
- net-misc/curl[ssl] |
726 |
- dev-libs/libxml2:2= |
727 |
- dev-libs/openssl:0= |
728 |
- ) |
729 |
- elibc_musl? ( sys-libs/argp-standalone ) |
730 |
-" |
731 |
-RDEPEND="${DEPEND} |
732 |
- selinux? ( sec-policy/selinux-rngd )" |
733 |
-DEPEND="${DEPEND} |
734 |
- nistbeacon? ( |
735 |
- virtual/pkgconfig |
736 |
- ) |
737 |
-" |
738 |
- |
739 |
-PATCHES=( |
740 |
- "${FILESDIR}"/test-for-argp.patch |
741 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
742 |
- "${FILESDIR}"/${PN}-6.5-jitterentropy-automagic-detection-fix.patch |
743 |
-) |
744 |
- |
745 |
-src_prepare() { |
746 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
747 |
- default |
748 |
- |
749 |
- mv README.md README || die |
750 |
- |
751 |
- eautoreconf |
752 |
- |
753 |
- sed -i '/^AR /d' Makefile.in || die |
754 |
- tc-export AR |
755 |
-} |
756 |
- |
757 |
-src_configure() { |
758 |
- local myeconfargs=( |
759 |
- $(use_with nistbeacon) |
760 |
- $(use_with jitterentropy jitter) |
761 |
- ) |
762 |
- |
763 |
- econf "${myeconfargs[@]}" |
764 |
-} |
765 |
- |
766 |
-src_install() { |
767 |
- default |
768 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
769 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
770 |
- systemd_dounit "${FILESDIR}"/rngd.service |
771 |
-} |
772 |
|
773 |
diff --git a/sys-apps/rng-tools/rng-tools-6.6.ebuild b/sys-apps/rng-tools/rng-tools-6.6.ebuild |
774 |
deleted file mode 100644 |
775 |
index d32e279caa0..00000000000 |
776 |
--- a/sys-apps/rng-tools/rng-tools-6.6.ebuild |
777 |
+++ /dev/null |
778 |
@@ -1,69 +0,0 @@ |
779 |
-# Copyright 1999-2019 Gentoo Authors |
780 |
-# Distributed under the terms of the GNU General Public License v2 |
781 |
- |
782 |
-EAPI=6 |
783 |
- |
784 |
-inherit autotools systemd toolchain-funcs |
785 |
- |
786 |
-DESCRIPTION="Daemon to use hardware random number generators" |
787 |
-HOMEPAGE="https://github.com/nhorman/rng-tools" |
788 |
-SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
789 |
- |
790 |
-LICENSE="GPL-2" |
791 |
-SLOT="0" |
792 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
793 |
-IUSE="jitterentropy nistbeacon selinux" |
794 |
- |
795 |
-DEPEND="dev-libs/libgcrypt:0 |
796 |
- dev-libs/libgpg-error |
797 |
- sys-fs/sysfsutils |
798 |
- jitterentropy? ( |
799 |
- app-crypt/jitterentropy:= |
800 |
- ) |
801 |
- nistbeacon? ( |
802 |
- net-misc/curl[ssl] |
803 |
- dev-libs/libxml2:2= |
804 |
- dev-libs/openssl:0= |
805 |
- ) |
806 |
- elibc_musl? ( sys-libs/argp-standalone ) |
807 |
-" |
808 |
-RDEPEND="${DEPEND} |
809 |
- selinux? ( sec-policy/selinux-rngd )" |
810 |
-DEPEND="${DEPEND} |
811 |
- nistbeacon? ( |
812 |
- virtual/pkgconfig |
813 |
- ) |
814 |
-" |
815 |
- |
816 |
-PATCHES=( |
817 |
- "${FILESDIR}"/test-for-argp.patch |
818 |
- "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
819 |
-) |
820 |
- |
821 |
-src_prepare() { |
822 |
- echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
823 |
- default |
824 |
- |
825 |
- mv README.md README || die |
826 |
- |
827 |
- eautoreconf |
828 |
- |
829 |
- sed -i '/^AR /d' Makefile.in || die |
830 |
- tc-export AR |
831 |
-} |
832 |
- |
833 |
-src_configure() { |
834 |
- local myeconfargs=( |
835 |
- $(use_with nistbeacon) |
836 |
- $(use_enable jitterentropy) |
837 |
- ) |
838 |
- |
839 |
- econf "${myeconfargs[@]}" |
840 |
-} |
841 |
- |
842 |
-src_install() { |
843 |
- default |
844 |
- newinitd "${FILESDIR}"/rngd-initd-6 rngd |
845 |
- newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
846 |
- systemd_dounit "${FILESDIR}"/rngd.service |
847 |
-} |