summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-08 22:29:24 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-08 22:30:09 -0700
commit8398ecce45070226a4c1d2bb372f4b0caa4561d0 (patch)
tree50903159d6e765ddd66a4659b97bb88cfd89fa55 /sys-apps
parentsys-fs/zfs-kmod: fix a patch that's too large (diff)
downloadgentoo-8398ecce45070226a4c1d2bb372f4b0caa4561d0.tar.gz
gentoo-8398ecce45070226a4c1d2bb372f4b0caa4561d0.tar.bz2
gentoo-8398ecce45070226a4c1d2bb372f4b0caa4561d0.zip
sys-apps/timer_entropyd: treeclean
Closes: https://bugs.gentoo.org/434900 Closes: https://bugs.gentoo.org/552760 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/timer_entropyd/Manifest1
-rw-r--r--sys-apps/timer_entropyd/files/timer_entropyd-0.1-syslog.patch28
-rw-r--r--sys-apps/timer_entropyd/files/timer_entropyd.initd.113
-rw-r--r--sys-apps/timer_entropyd/metadata.xml11
-rw-r--r--sys-apps/timer_entropyd/timer_entropyd-0.3.ebuild42
5 files changed, 0 insertions, 95 deletions
diff --git a/sys-apps/timer_entropyd/Manifest b/sys-apps/timer_entropyd/Manifest
deleted file mode 100644
index 79ef5626fdce..000000000000
--- 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 91be4a2ffdf0..000000000000
--- 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 57178ca4b36f..000000000000
--- 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 748ac538a47e..000000000000
--- 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 8fe1dd37e068..000000000000
--- 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"
-}