summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-12 14:35:06 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-12 14:35:06 +0100
commitf6d45585128f9f0de341e85bbbeefd85e76f38aa (patch)
tree42a0edae22c1aacc259e01b1bd6de917682562c1 /net-analyzer
parentnet-analyzer/rrdcollect: remove unused patch(es) (diff)
downloadgentoo-f6d45585128f9f0de341e85bbbeefd85e76f38aa.tar.gz
gentoo-f6d45585128f9f0de341e85bbbeefd85e76f38aa.tar.bz2
gentoo-f6d45585128f9f0de341e85bbbeefd85e76f38aa.zip
net-analyzer/smokeping: remove unused patches
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/smokeping/files/smokeping-2.6.9-pod.patch11
-rw-r--r--net-analyzer/smokeping/files/smokeping.init.377
2 files changed, 0 insertions, 88 deletions
diff --git a/net-analyzer/smokeping/files/smokeping-2.6.9-pod.patch b/net-analyzer/smokeping/files/smokeping-2.6.9-pod.patch
deleted file mode 100644
index 81a1e053b4f8..000000000000
--- a/net-analyzer/smokeping/files/smokeping-2.6.9-pod.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lib/Smokeping.pm
-+++ b/lib/Smokeping.pm
-@@ -2631,7 +2631,7 @@
- The base directory where SmokePing keeps the files related to the DYNAMIC function.
- This directory must be writeable by the WWW server. It is also used for temporary
- storage of slave polling results by the master in
--L<the master/slave mode|smokeping_master_slave>.
-+L<the masterE<sol>slave mode|smokeping_master_slave>.
-
- If this variable is not specified, the value of C<datadir> will be used instead.
- DOC
diff --git a/net-analyzer/smokeping/files/smokeping.init.3 b/net-analyzer/smokeping/files/smokeping.init.3
deleted file mode 100644
index 2e5e35795b91..000000000000
--- a/net-analyzer/smokeping/files/smokeping.init.3
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_commands="${opts} dump reload restore"
-
-depend() {
- need net
- use dns
-}
-
-checkconfig() {
- if [ ! -f "/etc/smokeping/config" ] ; then
- eerror "You need /etc/smokeping/config to run smokeping!"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- if [ ! -d /run/smokeping/ ]; then
- mkdir /run/smokeping/
- fi
- chown smokeping:smokeping /run/smokeping/
-
- ebegin "Starting smokeping"
- LC_ALL=C \
- start-stop-daemon --start --name smokeping \
- --pidfile /run/smokeping/smokeping.pid \
- --exec /usr/bin/smokeping \
- --user smokeping:smokeping
- eend $?
-}
-
-stop() {
- ebegin "Stopping smokeping"
- start-stop-daemon --stop \
- --pidfile /run/smokeping/smokeping.pid
- eend $?
-}
-
-reload() {
- ebegin "Reloading smokeping"
- /usr/bin/smokeping --reload 1>/dev/null 2>&1
- eend $?
-}
-
-dump() {
- ebegin "Dumping smokeping rrd files to XML for backup or upgrade use"
- if service_started "${myservice}" ; then
- eerror "You need to stop smokeping before dumping files!"
- return 1
- fi
- for f in `find /var/lib/smokeping -name '*.rrd' -print` ; do
- f_xml=`dirname $f`/`basename $f .rrd`.xml
- rrdtool dump "$f" > "${f_xml}"
- chown root:0 "${f_xml}"
- done
- eend $?
-}
-
-restore() {
- ebegin "Restoring smokeping rrd files from XML dump files"
- if service_started "${myservice}" ; then
- eerror "You need to stop smokeping before restoring files!"
- return 1
- fi
- for f in `find /var/lib/smokeping -name '*.xml' -print` ; do
- f_rrd=`dirname $f`/`basename $f .xml`.rrd
- mv -f "${f_rrd}" "${f_rrd}.bak"
- chown root:0 "${f_rrd}.bak"
- rrdtool restore "$f" "${f_rrd}"
- chown smokeping:smokeping "${f_rrd}"
- done
- eend $?
-}