1 |
commit: 8398ecce45070226a4c1d2bb372f4b0caa4561d0 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 9 05:29:24 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 9 05:30:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8398ecce |
7 |
|
8 |
sys-apps/timer_entropyd: treeclean |
9 |
|
10 |
Closes: https://bugs.gentoo.org/434900 |
11 |
Closes: https://bugs.gentoo.org/552760 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
sys-apps/timer_entropyd/Manifest | 1 - |
15 |
.../files/timer_entropyd-0.1-syslog.patch | 28 --------------- |
16 |
.../timer_entropyd/files/timer_entropyd.initd.1 | 13 ------- |
17 |
sys-apps/timer_entropyd/metadata.xml | 11 ------ |
18 |
sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild | 42 ---------------------- |
19 |
5 files changed, 95 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/timer_entropyd/Manifest b/sys-apps/timer_entropyd/Manifest |
22 |
deleted file mode 100644 |
23 |
index 79ef5626fdc..00000000000 |
24 |
--- a/sys-apps/timer_entropyd/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1 +0,0 @@ |
27 |
-DIST timer_entropyd-0.3.tgz 8329 BLAKE2B 96af82883eeb5a136e1f059afb067b6df46e5940fe0da5b4c161047c0e4e40a9885454e3faa926b864c2db64cb6b481d5dfed7d8ba4f28d5c8691959e41d26d2 SHA512 bdfedb594ee32daf7fb961a703842ca3479de158fc19bd75664b183e44bcf2ef3e74645cc6097f340834933db6f9133710df7d433ac062b2375494de5c052dcc |
28 |
|
29 |
diff --git a/sys-apps/timer_entropyd/files/timer_entropyd-0.1-syslog.patch b/sys-apps/timer_entropyd/files/timer_entropyd-0.1-syslog.patch |
30 |
deleted file mode 100644 |
31 |
index 91be4a2ffdf..00000000000 |
32 |
--- a/sys-apps/timer_entropyd/files/timer_entropyd-0.1-syslog.patch |
33 |
+++ /dev/null |
34 |
@@ -1,28 +0,0 @@ |
35 |
-From 51dc916e4466d0033728dd14f318203f995b3ad0 Mon Sep 17 00:00:00 2001 |
36 |
-From: Jeremy Olexa <darkside@g.o> |
37 |
-Date: Tue, 5 Apr 2011 14:19:49 +0000 |
38 |
-Subject: [PATCH] Move syslog call to ifdef _DEBUG |
39 |
- |
40 |
-In order to prevent logfile spamming (once every 7 seconds), move the |
41 |
-syslog call only be used if compiled with -D_DEBUG |
42 |
---- |
43 |
- main.c | 2 +- |
44 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
45 |
- |
46 |
-diff --git a/main.c b/main.c |
47 |
-index 13b95dd..781b321 100644 |
48 |
---- a/main.c |
49 |
-+++ b/main.c |
50 |
-@@ -66,8 +66,8 @@ int main(int argc, char *argv[]) |
51 |
- |
52 |
- kernel_rng_add_entropy(bytes, sizeof(bytes), cur_n_bits); |
53 |
- |
54 |
-- syslog(LOG_DEBUG, "added %d bits of entropy data", cur_n_bits); |
55 |
- #ifdef _DEBUG |
56 |
-+ syslog(LOG_DEBUG, "added %d bits of entropy data", cur_n_bits); |
57 |
- printf("added %d bits of entropy data\n", cur_n_bits); |
58 |
- #endif |
59 |
- |
60 |
--- |
61 |
-1.7.3.4 |
62 |
- |
63 |
|
64 |
diff --git a/sys-apps/timer_entropyd/files/timer_entropyd.initd.1 b/sys-apps/timer_entropyd/files/timer_entropyd.initd.1 |
65 |
deleted file mode 100644 |
66 |
index 57178ca4b36..00000000000 |
67 |
--- a/sys-apps/timer_entropyd/files/timer_entropyd.initd.1 |
68 |
+++ /dev/null |
69 |
@@ -1,13 +0,0 @@ |
70 |
-#!/sbin/openrc-run |
71 |
-# Copyright 1999-2011 Gentoo Foundation |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-command=/usr/libexec/timer_entropyd |
75 |
- |
76 |
-depend() { |
77 |
- need localmount |
78 |
- before net |
79 |
- use logger |
80 |
- |
81 |
- provide entropy |
82 |
-} |
83 |
|
84 |
diff --git a/sys-apps/timer_entropyd/metadata.xml b/sys-apps/timer_entropyd/metadata.xml |
85 |
deleted file mode 100644 |
86 |
index 748ac538a47..00000000000 |
87 |
--- a/sys-apps/timer_entropyd/metadata.xml |
88 |
+++ /dev/null |
89 |
@@ -1,11 +0,0 @@ |
90 |
-<?xml version="1.0" encoding="UTF-8"?> |
91 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
92 |
-<pkgmetadata> |
93 |
- <maintainer type="person"> |
94 |
- <email>gyakovlev@g.o</email> |
95 |
- <name>Georgy Yakovlev</name> |
96 |
- </maintainer> |
97 |
- <use> |
98 |
- <flag name="debug">Enable printf debugging and logging to the syslog at DEBUG level</flag> |
99 |
- </use> |
100 |
-</pkgmetadata> |
101 |
|
102 |
diff --git a/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild b/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild |
103 |
deleted file mode 100644 |
104 |
index 8fe1dd37e06..00000000000 |
105 |
--- a/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,42 +0,0 @@ |
108 |
-# Copyright 1999-2021 Gentoo Authors |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
- |
111 |
-EAPI=5 |
112 |
- |
113 |
-inherit epatch flag-o-matic toolchain-funcs |
114 |
- |
115 |
-DESCRIPTION="A timer-based entropy generator" |
116 |
-HOMEPAGE="http://www.vanheusden.com/te/" |
117 |
-SRC_URI="http://www.vanheusden.com/te/${P}.tgz" |
118 |
- |
119 |
-LICENSE="GPL-2" |
120 |
-SLOT="0" |
121 |
-KEYWORDS="amd64 ~arm ~mips x86" |
122 |
-IUSE="debug selinux" |
123 |
- |
124 |
-RDEPEND="selinux? ( sec-policy/selinux-entropyd )" |
125 |
- |
126 |
-src_prepare() { |
127 |
- sed -i -e 's:-O2::' Makefile || die |
128 |
- epatch "${FILESDIR}"/${PN}-0.1-syslog.patch |
129 |
-} |
130 |
- |
131 |
-src_compile() { |
132 |
- use debug && append-cppflags -D_DEBUG |
133 |
- |
134 |
- tc-export CC |
135 |
- emake DEBUG= |
136 |
-} |
137 |
- |
138 |
-src_install() { |
139 |
- exeinto /usr/libexec |
140 |
- doexe ${PN} |
141 |
- dodoc Changes readme.txt |
142 |
- newinitd "${FILESDIR}/timer_entropyd.initd.1" ${PN} |
143 |
-} |
144 |
- |
145 |
-pkg_postinst() { |
146 |
- elog "To start ${PN} at boot do rc-update add ${PN} default" |
147 |
- elog "To start ${PN} now do /etc/init.d/${PN} start" |
148 |
- elog "To check the amount of entropy, cat /proc/sys/kernel/random/entropy_avail" |
149 |
-} |