1 |
commit: 8819e214c540384ea388799f63013ce6eda3e87a |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 22:51:37 2018 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 22:51:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8819e214 |
7 |
|
8 |
sys-apps/rng-tools: bump to 6.3.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/rng-tools/Manifest | 1 + |
13 |
sys-apps/rng-tools/rng-tools-6.3.1.ebuild | 69 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/rng-tools/Manifest b/sys-apps/rng-tools/Manifest |
17 |
index b5c76696588..6e3960c5627 100644 |
18 |
--- a/sys-apps/rng-tools/Manifest |
19 |
+++ b/sys-apps/rng-tools/Manifest |
20 |
@@ -1,5 +1,6 @@ |
21 |
DIST rng-tools-5.tar.gz 122182 BLAKE2B de7085d530e38de21a1c33792d67a72e0131b221082d690cdb299367b80b0a123c2976174aa3f895a4a2ab1216aacfaa8e09de485c85154dc4a5b8f960d05245 SHA512 58047c37cad4f5f1210b696e4dba122878f78e57d05d9cb822f79234240ecce31efd2d39061fea1eb5b2e81d48d8c3bf6b92d06451f1ce5d5db7117704e89c50 |
22 |
DIST rng-tools-6.1.tar.gz 29814 BLAKE2B 4102c03ced36b33f9db6f7e5f77e8f918c4b9286a4c94cfd9ea9645c394f054fb3165255c3beb0f73d897d066831301f69a64e2758296b4418808343c97f3269 SHA512 388593ffeef0b5f2770532629418cdf1b6421092ae9c5fe0a68d198a5cbd4ff733fbca8091d497e09620c61a9e8b982298fb064edfd05a0fc36fa49c22eef5c9 |
23 |
DIST rng-tools-6.2.tar.gz 30421 BLAKE2B 646628095cbc611aee4113198e0874b5f0672cd787f04f1649ff350883edebe6b31753aef3ac2bca1f05eedcf3c1400435c084382bde9f97fe6dcdd71adf18c2 SHA512 ffd8be5b232f092f8bcfdb6281580ce9053ec8bb87ff6bcae76585c38e3e91b9e464a9544a33ecd9814a9f244a89bac973d15c9bd3560d1164559685c720d174 |
24 |
+DIST rng-tools-6.3.1.tar.gz 31797 BLAKE2B 00d75d8436b4b49798bca8fb76e43a98feac8805b47a57d2315c22e72ed3dff30c6305b206168531c85c0576dc1d9864585eb3d4c2af833e9bec8dc5a478e19b SHA512 cb85674e6448e8152f92b4a82e944a9258dcc9ce68349404c0000c09378ac5f6fb298c50ed2d9a1b18d76c5f35b0a4884d5efd0f4dd434ec0952107e0738b937 |
25 |
DIST rng-tools-6.3.tar.gz 31474 BLAKE2B 4d3924b3ca85d31d1999ceb45908cf64e8d2978d2e0aa638d9bbd3054a11a41251f9db54db35583c8fc080fd0667387cd63792c15486048d1f52300217e02fa9 SHA512 c00ac28c059ba689f114480958fe993e2199a1428137b151779a0331b9cc5a667f08770aa7b28d98c801166a509e8bd40d6b92f5c29b6ff73eb50a1cb0f2dd13 |
26 |
DIST rng-tools-6.tar.gz 26024 BLAKE2B a523328fcce56997e2847940cdc096abd5a539135f857f0a4cd3d782a1659f4d2978870149caac47b839c80788df6a3d891adcd39371d5968149dd29bc46bc62 SHA512 2aea947c4dba5e8c4df33396957f7224b62200be0e3d10aac08c84155fa473a67df5f49e07a07b2cbea4dfd772d90c1b194e8fce3d8eea762463a7f4a16d6ce4 |
27 |
|
28 |
diff --git a/sys-apps/rng-tools/rng-tools-6.3.1.ebuild b/sys-apps/rng-tools/rng-tools-6.3.1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..17386bfd005 |
31 |
--- /dev/null |
32 |
+++ b/sys-apps/rng-tools/rng-tools-6.3.1.ebuild |
33 |
@@ -0,0 +1,69 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit autotools systemd toolchain-funcs |
40 |
+ |
41 |
+DESCRIPTION="Daemon to use hardware random number generators" |
42 |
+HOMEPAGE="https://github.com/nhorman/rng-tools" |
43 |
+SRC_URI="https://github.com/nhorman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86" |
48 |
+IUSE="jitterentropy nistbeacon selinux" |
49 |
+ |
50 |
+DEPEND="dev-libs/libgcrypt:0 |
51 |
+ dev-libs/libgpg-error |
52 |
+ sys-fs/sysfsutils |
53 |
+ jitterentropy? ( |
54 |
+ app-crypt/jitterentropy:= |
55 |
+ ) |
56 |
+ nistbeacon? ( |
57 |
+ net-misc/curl[ssl] |
58 |
+ dev-libs/libxml2:2= |
59 |
+ dev-libs/openssl:0= |
60 |
+ ) |
61 |
+" |
62 |
+RDEPEND="${DEPEND} |
63 |
+ selinux? ( sec-policy/selinux-rngd )" |
64 |
+DEPEND="${DEPEND} |
65 |
+ nistbeacon? ( |
66 |
+ virtual/pkgconfig |
67 |
+ ) |
68 |
+" |
69 |
+ |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}"/test-for-argp.patch |
72 |
+ "${FILESDIR}"/${PN}-5-fix-textrels-on-PIC-x86.patch #469962 |
73 |
+ "${FILESDIR}"/${PN}-6.3-jitterentropy-linking-fix.patch |
74 |
+) |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die |
78 |
+ default |
79 |
+ |
80 |
+ mv README.md README || die |
81 |
+ |
82 |
+ if use jitterentropy; then |
83 |
+ # Fool the build system into thinking that |
84 |
+ # jitterentropy source code exists |
85 |
+ touch "${S}"/jitterentropy-library/Makefile || die |
86 |
+ fi |
87 |
+ eautoreconf |
88 |
+ |
89 |
+ sed -i '/^AR /d' Makefile.in || die |
90 |
+ tc-export AR |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ econf $(use_with nistbeacon) |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ default |
99 |
+ newinitd "${FILESDIR}"/rngd-initd-6 rngd |
100 |
+ newconfd "${FILESDIR}"/rngd-confd-4.1 rngd |
101 |
+ systemd_dounit "${FILESDIR}"/rngd.service |
102 |
+} |