summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-14 01:30:53 +0100
committerSam James <sam@gentoo.org>2021-05-14 01:35:47 +0100
commite1324cc309fc3ce57c34c41d9570cafd485f3cc9 (patch)
tree64d480ff28488d26cf13ff8b62f6abe520e0156b /app-admin/logsurfer+
parentapp-admin/tenshi: drop 0.17 (diff)
downloadgentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.tar.gz
gentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.tar.bz2
gentoo-e1324cc309fc3ce57c34c41d9570cafd485f3cc9.zip
app-admin/logsurfer+: drop 1.8-r3
Closes: https://bugs.gentoo.org/790050 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/logsurfer+')
-rw-r--r--app-admin/logsurfer+/files/logsurfer-1.8.initd50
-rw-r--r--app-admin/logsurfer+/logsurfer+-1.8-r3.ebuild39
2 files changed, 0 insertions, 89 deletions
diff --git a/app-admin/logsurfer+/files/logsurfer-1.8.initd b/app-admin/logsurfer+/files/logsurfer-1.8.initd
deleted file mode 100644
index 9ef420cfad30..000000000000
--- a/app-admin/logsurfer+/files/logsurfer-1.8.initd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-pidfile="/var/run/logsurfer.pid"
-command="/usr/bin/logsurfer"
-command_args="-D -p ${pidfile} ${LOGSURFER_OPTS}"
-extra_started_commands="reload dump"
-
-conffile="/etc/logsurfer.conf"
-
-depend() {
- use logger
-}
-
-checkconfig() {
- if [ ! -f /etc/logsurfer.conf ] ; then
- eerror "Please create /etc/logsurfer.conf"
- return 1
- fi
- return 0
-}
-
-start_pre() {
- checkconfig || return $?
-
- checkpath --file --owner logsurfer --mode 0644 "${pidfile}"
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon \
- --start \
- --user logsurfer \
- --exec ${command} \
- -- ${command_args}
- eend $? "Failed to start ${SVCNAME}"
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME}"
- start-stop-daemon --signal HUP --pidfile "${pidfile}"
- eend $? "Failed to reload ${SVCNAME}"
-}
-
-dump() {
- ebegin "Dumping ${SVCNAME} internal state"
- start-stop-daemon --signal USR1 --pidfile "${pidfile}"
- eend $? "Failed to dump ${SVCNAME} internal state"
-}
diff --git a/app-admin/logsurfer+/logsurfer+-1.8-r3.ebuild b/app-admin/logsurfer+/logsurfer+-1.8-r3.ebuild
deleted file mode 100644
index 6bd3a96d4632..000000000000
--- a/app-admin/logsurfer+/logsurfer+-1.8-r3.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs user
-
-MY_P="logsurfer-${PV}"
-DESCRIPTION="Real Time Log Monitoring and Alerting"
-HOMEPAGE="https://www.crypt.gen.nz/logsurfer/"
-SRC_URI="mirror://sourceforge/logsurfer/${MY_P}.tar.gz"
-
-LICENSE="freedist GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-RESTRICT="bindist" #444330
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
- econf --with-etcdir=/etc
-}
-
-src_compile() {
- emake CC="$(tc-getCC)"
-}
-
-src_install() {
- dobin src/logsurfer
- doman man/logsurfer.1 man/logsurfer.conf.4
-
- newinitd "${FILESDIR}"/logsurfer-1.8.initd-r1 logsurfer
- newconfd "${FILESDIR}"/logsurfer.confd logsurfer
- dodoc ChangeLog README TODO
-}
-
-pkg_postinst() {
- enewuser logsurfer -1 -1 -1 daemon
-}