* [gentoo-commits] repo/gentoo:master commit in: profiles/, app-admin/swatchdog/files/, app-admin/swatchdog/, profiles/updates/
@ 2021-11-22 9:14 Jakov Smolić
0 siblings, 0 replies; only message in thread
From: Jakov Smolić @ 2021-11-22 9:14 UTC (permalink / raw
To: gentoo-commits
commit: 936c013e070874119caed00e1ba96835001b793b
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 08:36:57 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 09:13:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936c013e
app-admin/swatchdog: treeclean
Closes: https://bugs.gentoo.org/819693
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
app-admin/swatchdog/Manifest | 1 -
app-admin/swatchdog/files/swatchdog-confd | 25 -------------
app-admin/swatchdog/files/swatchdog-init | 53 ---------------------------
app-admin/swatchdog/files/swatchdogrc | 10 -----
app-admin/swatchdog/metadata.xml | 24 ------------
app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild | 34 -----------------
profiles/package.mask | 5 ---
profiles/updates/3Q-2016 | 1 -
8 files changed, 153 deletions(-)
diff --git a/app-admin/swatchdog/Manifest b/app-admin/swatchdog/Manifest
deleted file mode 100644
index 0ca2609642b9..000000000000
--- a/app-admin/swatchdog/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST swatchdog-3.2.4.tar.gz 30122 BLAKE2B 103491a231306cedad030fca8cc309ce89e8cbc8a3fcee63cd482efb733b91db8b29193bb1e9b9c5213261b150e3dc6be2b506dee83b2297d5af2f1451f596c8 SHA512 4e0a4e3feed00df0f0d04f94cc090e53e71fa9b20d46236ec41d63b98b5733d80a5941b491cffcbb0b655a9c7d2b5c9423ca7ae043346dbe1b05ee6ab24b9489
diff --git a/app-admin/swatchdog/files/swatchdog-confd b/app-admin/swatchdog/files/swatchdog-confd
deleted file mode 100644
index 13f8a0aed79e..000000000000
--- a/app-admin/swatchdog/files/swatchdog-confd
+++ /dev/null
@@ -1,25 +0,0 @@
-# /etc/conf.d/swatchdog: config file for /etc/init.d/swatchdog
-
-# Path to the swatchdog program.
-#SWATCHDOG_BINARY="/usr/bin/swatchdog"
-
-# Swatchrc to read patterns and actions from.
-#SWATCHDOGRC="/etc/swatchdogrc"
-
-# File to monitor
-#SWATCHDOG_TAILFILE="/var/log/syslog"
-
-# Arguments to tail program
-#SWATCHDOG_TAILARGS=""
-
-# Swatch log file
-#SWATCHDOG_LOGFILE="/var/log/swatchdog.log"
-
-# Swatch error file
-#SWATCHDOG_ERRFILE="/var/log/swatchdog-err.log"
-
-# Where to output the generated script to. Should not be writable by others.
-#SWATCHDOG_SCRIPT="/run/swatchdog/swatchdog_script.pl"
-
-# Whether to parse the complete file once at startup. Defaults to "NO".
-PARSE_FULL="NO"
diff --git a/app-admin/swatchdog/files/swatchdog-init b/app-admin/swatchdog/files/swatchdog-init
deleted file mode 100644
index d623070073f7..000000000000
--- a/app-admin/swatchdog/files/swatchdog-init
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/sbin/openrc-run
-# This script is based on the one created by Phil (bug #255329).
-
-depend() {
- need logger
-}
-
-SWATCHDOG_BINARY=${SWATCHDOG_BINARY:-/usr/bin/swatchdog}
-SWATCHDOGRC=${SWATCHDOGRC:-/etc/swatchdogrc}
-SWATCHDOG_TAILFILE=${SWATCHDOG_TAILFILE:-/var/log/syslog}
-SWATCHDOG_LOGFILE=${SWATCHDOG_LOGFILE:-/var/log/swatchdog.log}
-SWATCHDOG_ERRFILE=${SWATCHDOG_ERRFILE:-/var/log/swatchdog-err.log}
-SWATCHDOG_SCRIPT=${SWATCHDOG_SCRIPT:-/run/swatchdog/swatchdog_script.pl}
-
-gen_script() {
- local tailargs=""
- if [ "${SWATCHDOG_TAILARGS}" ]; then
- tailargs="--tail-args=\"${SWATCHDOG_TAILARGS}\""
- fi
- ebegin "Generating swatchdog script from config"
- ${SWATCHDOG_BINARY} --dump-script="${SWATCHDOG_SCRIPT}" \
- --use-cpan-file-tail ${tailargs} \
- --config-file "${SWATCHDOGRC}" $1 "${SWATCHDOG_TAILFILE}"
- eend $?
-}
-
-parse_full() {
- gen_script --examine
- ebegin "Parsing complete file once"
- /usr/bin/perl ${SWATCHDOG_SCRIPT} 1>/dev/null
- eend $?
-}
-
-start() {
- checkpath -d -q -m 0750 -o root:root /run/swatchdog
- if [ "${PARSE_FULL}" = "YES" ]; then
- parse_full
- fi
- gen_script --tail-file
- ebegin "Starting swatchdog"
- start-stop-daemon --start --quiet --background \
- --make-pidfile --pidfile /run/swatchdog/swatchdog.pid \
- --stdout ${SWATCHDOG_LOGFILE} --stderr ${SWATCHDOG_ERRFILE} \
- --exec /usr/bin/perl -- ${SWATCHDOG_SCRIPT}
- eend $?
-}
-
-stop() {
- ebegin "Stopping swatchdog"
- start-stop-daemon --stop --exec /usr/bin/perl \
- --pidfile /run/swatchdog/swatchdog.pid --quiet
- eend $?
-}
diff --git a/app-admin/swatchdog/files/swatchdogrc b/app-admin/swatchdog/files/swatchdogrc
deleted file mode 100644
index 5132f855852b..000000000000
--- a/app-admin/swatchdog/files/swatchdogrc
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# A sample configuration file for swatchdog.
-#
-# See "man swatchdog" for details.
-
-# Mails root when invalid remote login attempted.
-watchfor /(.*) (.*) (.*) (.*) (.*):( [iI]nvalid [uU]ser )(.*)( from )(.*)$/
- threshold track_by=$9,type=limit,count=3,seconds=30
- mail root,subject="Invalid user"
-
diff --git a/app-admin/swatchdog/metadata.xml b/app-admin/swatchdog/metadata.xml
deleted file mode 100644
index 90990ad69a29..000000000000
--- a/app-admin/swatchdog/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- swatchdog.pl started out as swatch, the "simple watchdog"
- for activity monitoring log files produced by UNIX's syslog
- facility. It has since been evolving into a utility that can
- monitor just about any type of log. The name has been changed
- to satisfy a request made by the old Swiss watch company.
- </longdescription>
- <longdescription lang="es">
- swatchdog.pl comenzó como swatch, el "simple perro guardián"
- para monitorizar la actividad en los ficheros de registro
- producidos por la característica syslog de los sistemas UNIX.
- Desde entonces ha evolucionado hacia una utilidad que puede
- monitorizar cualquier tipo de registro. Se ha cambiado el
- nombre del proyecto para satisfacer una petición realizada
- por la empresa de relojes suiza.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">swatch</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild b/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild
deleted file mode 100644
index d6766029f57a..000000000000
--- a/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module
-
-DESCRIPTION="Simple log watcher"
-HOMEPAGE="https://sourceforge.net/projects/swatch/"
-SRC_URI="mirror://sourceforge/swatch/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="dev-perl/Date-Manip
- dev-perl/Date-Calc
- dev-perl/File-Tail
- dev-perl/TimeDate
- >=virtual/perl-Time-HiRes-1.12
- !app-admin/swatch"
-
-src_install() {
- emake install
- newinitd "${FILESDIR}/${PN}-init" "${PN}"
- newconfd "${FILESDIR}/${PN}-confd" "${PN}"
- insinto /etc
- doins "${FILESDIR}/${PN}rc"
-
- # Clean up perl localpod and packlist (bug #620886)
- perl_delete_localpod
- perl_fix_packlist
-}
diff --git a/profiles/package.mask b/profiles/package.mask
index 996f424d2fb3..01744ec9249e 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -352,11 +352,6 @@ app-forensics/yasat
# Removal on 2021-11-22. Bug #819699.
app-admin/reportmagic
-# Jakov Smolić <jsmolic@gentoo.org> (2021-10-23)
-# No maintainer, dead upstream, EAPI 5, no revdeps.
-# Removal on 2021-11-22. Bug #819693.
-app-admin/swatchdog
-
# Sergey Popov <pinkbyte@gentoo.org> (2021-10-22)
# Upstream support discontinued, see https://bw.org/2019/03/19/bw-whois/
# Suggested replacement - net-misc/whois
diff --git a/profiles/updates/3Q-2016 b/profiles/updates/3Q-2016
index ca92a00e33c3..eaac5151829a 100644
--- a/profiles/updates/3Q-2016
+++ b/profiles/updates/3Q-2016
@@ -20,4 +20,3 @@ move dev-perl/data-buffer dev-perl/Data-Buffer
move dev-perl/dbix-searchbuilder dev-perl/DBIx-SearchBuilder
move dev-perl/digest-bubblebabble dev-perl/Digest-BubbleBabble
move dev-perl/digest-md2 dev-perl/Digest-MD2
-move app-admin/swatch app-admin/swatchdog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-22 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-22 9:14 [gentoo-commits] repo/gentoo:master commit in: profiles/, app-admin/swatchdog/files/, app-admin/swatchdog/, profiles/updates/ Jakov Smolić
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox