public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/timer_entropyd/, sys-apps/timer_entropyd/files/
@ 2021-06-09  5:32 Georgy Yakovlev
  0 siblings, 0 replies; only message in thread
From: Georgy Yakovlev @ 2021-06-09  5:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8398ecce45070226a4c1d2bb372f4b0caa4561d0
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  9 05:29:24 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jun  9 05:30:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8398ecce

sys-apps/timer_entropyd: treeclean

Closes: https://bugs.gentoo.org/434900
Closes: https://bugs.gentoo.org/552760
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-apps/timer_entropyd/Manifest                   |  1 -
 .../files/timer_entropyd-0.1-syslog.patch          | 28 ---------------
 .../timer_entropyd/files/timer_entropyd.initd.1    | 13 -------
 sys-apps/timer_entropyd/metadata.xml               | 11 ------
 sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild  | 42 ----------------------
 5 files changed, 95 deletions(-)

diff --git a/sys-apps/timer_entropyd/Manifest b/sys-apps/timer_entropyd/Manifest
deleted file mode 100644
index 79ef5626fdc..00000000000
--- a/sys-apps/timer_entropyd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST timer_entropyd-0.3.tgz 8329 BLAKE2B 96af82883eeb5a136e1f059afb067b6df46e5940fe0da5b4c161047c0e4e40a9885454e3faa926b864c2db64cb6b481d5dfed7d8ba4f28d5c8691959e41d26d2 SHA512 bdfedb594ee32daf7fb961a703842ca3479de158fc19bd75664b183e44bcf2ef3e74645cc6097f340834933db6f9133710df7d433ac062b2375494de5c052dcc

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
deleted file mode 100644
index 91be4a2ffdf..00000000000
--- a/sys-apps/timer_entropyd/files/timer_entropyd-0.1-syslog.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 51dc916e4466d0033728dd14f318203f995b3ad0 Mon Sep 17 00:00:00 2001
-From: Jeremy Olexa <darkside@gentoo.org>
-Date: Tue, 5 Apr 2011 14:19:49 +0000
-Subject: [PATCH] Move syslog call to ifdef _DEBUG
-
-In order to prevent logfile spamming (once every 7 seconds), move the
-syslog call only be used if compiled with -D_DEBUG
----
- main.c |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/main.c b/main.c
-index 13b95dd..781b321 100644
---- a/main.c
-+++ b/main.c
-@@ -66,8 +66,8 @@ int main(int argc, char *argv[])
- 
- 				kernel_rng_add_entropy(bytes, sizeof(bytes), cur_n_bits);
- 
--				syslog(LOG_DEBUG, "added %d bits of entropy data", cur_n_bits);
- #ifdef _DEBUG
-+				syslog(LOG_DEBUG, "added %d bits of entropy data", cur_n_bits);
- 				printf("added %d bits of entropy data\n", cur_n_bits);
- #endif
- 
--- 
-1.7.3.4
-

diff --git a/sys-apps/timer_entropyd/files/timer_entropyd.initd.1 b/sys-apps/timer_entropyd/files/timer_entropyd.initd.1
deleted file mode 100644
index 57178ca4b36..00000000000
--- a/sys-apps/timer_entropyd/files/timer_entropyd.initd.1
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-command=/usr/libexec/timer_entropyd
-
-depend() {
-	need localmount
-	before net
-	use logger
-
-	provide entropy
-}

diff --git a/sys-apps/timer_entropyd/metadata.xml b/sys-apps/timer_entropyd/metadata.xml
deleted file mode 100644
index 748ac538a47..00000000000
--- a/sys-apps/timer_entropyd/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>gyakovlev@gentoo.org</email>
-		<name>Georgy Yakovlev</name>
-	</maintainer>
-	<use>
-		<flag name="debug">Enable printf debugging and logging to the syslog at DEBUG level</flag>
-	</use>
-</pkgmetadata>

diff --git a/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild b/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild
deleted file mode 100644
index 8fe1dd37e06..00000000000
--- a/sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit epatch flag-o-matic toolchain-funcs
-
-DESCRIPTION="A timer-based entropy generator"
-HOMEPAGE="http://www.vanheusden.com/te/"
-SRC_URI="http://www.vanheusden.com/te/${P}.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~mips x86"
-IUSE="debug selinux"
-
-RDEPEND="selinux? ( sec-policy/selinux-entropyd )"
-
-src_prepare() {
-	sed -i -e 's:-O2::' Makefile || die
-	epatch "${FILESDIR}"/${PN}-0.1-syslog.patch
-}
-
-src_compile() {
-	use debug && append-cppflags -D_DEBUG
-
-	tc-export CC
-	emake DEBUG=
-}
-
-src_install() {
-	exeinto /usr/libexec
-	doexe ${PN}
-	dodoc Changes readme.txt
-	newinitd "${FILESDIR}/timer_entropyd.initd.1" ${PN}
-}
-
-pkg_postinst() {
-	elog "To start ${PN} at boot do rc-update add ${PN} default"
-	elog "To start ${PN} now do /etc/init.d/${PN} start"
-	elog "To check the amount of entropy, cat /proc/sys/kernel/random/entropy_avail"
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-09  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-09  5:32 [gentoo-commits] repo/gentoo:master commit in: sys-apps/timer_entropyd/, sys-apps/timer_entropyd/files/ Georgy Yakovlev

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