diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2012-07-18 14:06:48 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2012-07-18 14:06:48 +0000 |
commit | 16d97efdc843da1e9783430aa6de126ced6582c2 (patch) | |
tree | d6d9fff11c24bbd7224b686cae0b04c31c202b4a /net-analyzer/munin/files | |
parent | rm dev-utils/catalyst since I do not use it anymore (diff) | |
download | darkside-16d97efdc843da1e9783430aa6de126ced6582c2.tar.gz darkside-16d97efdc843da1e9783430aa6de126ced6582c2.tar.bz2 darkside-16d97efdc843da1e9783430aa6de126ced6582c2.zip |
[net-analyzer/munin] remove from overlay, better version in main tree
Diffstat (limited to 'net-analyzer/munin/files')
-rw-r--r-- | net-analyzer/munin/files/logrotate.d-munin | 21 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch | 41 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-2.0_rc-Makefile.patch | 79 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-2.0_rc-crontab | 11 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-2.0_rc-plugins.conf | 68 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-node_conf.d_2.0_rc | 8 | ||||
-rw-r--r-- | net-analyzer/munin/files/munin-node_init.d_2.0_rc | 41 |
7 files changed, 0 insertions, 269 deletions
diff --git a/net-analyzer/munin/files/logrotate.d-munin b/net-analyzer/munin/files/logrotate.d-munin deleted file mode 100644 index c1a8816..0000000 --- a/net-analyzer/munin/files/logrotate.d-munin +++ /dev/null @@ -1,21 +0,0 @@ -/var/log/munin/munin-node.log { - daily - missingok - rotate 7 - compress - copytruncate - notifempty - create 640 root root - postrotate - /etc/init.d/munin-node restart 1>/dev/null || true - endscript -} - -/var/log/munin/munin-update.log /var/log/munin/munin-graph.log /var/log/munin/munin-html.log /var/log/munin/munin-limits.log { - daily - missingok - rotate 7 - compress - notifempty - nocreate -} diff --git a/net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch b/net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch deleted file mode 100644 index 22c4d73..0000000 --- a/net-analyzer/munin/files/munin-1.4.7-munin-version-identifier.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 480f78e713b9e9a425ad425342afac70420a4043 Mon Sep 17 00:00:00 2001 -From: Jeremy Olexa <darkside@gentoo.org> -Date: Wed, 18 Apr 2012 16:30:57 +0000 -Subject: [PATCH] Fix warnings from previous patch - -Use of uninitialized value $Munin::Common::Defaults::MUNIN_VERSION in -sprintf at /etc/munin/plugins/nginx_status line 110. ---- - plugins/node.d/nginx_request.in | 2 ++ - plugins/node.d/nginx_status.in | 2 ++ - 2 files changed, 4 insertions(+), 0 deletions(-) - -diff --git a/plugins/node.d/nginx_request.in b/plugins/node.d/nginx_request.in -index 402ce54..d3933e1 100644 ---- a/plugins/node.d/nginx_request.in -+++ b/plugins/node.d/nginx_request.in -@@ -55,6 +55,8 @@ license. Munin is GPLv2 licensed. - - =cut - -+use Munin::Plugin; -+ - my $ret = undef; - - if (! eval "require LWP::UserAgent;"){ -diff --git a/plugins/node.d/nginx_status.in b/plugins/node.d/nginx_status.in -index 0d5d966..a427fc0 100644 ---- a/plugins/node.d/nginx_status.in -+++ b/plugins/node.d/nginx_status.in -@@ -55,6 +55,8 @@ license. Munin is GPLv2 licensed. - - =cut - -+use Munin::Plugin; -+ - my $ret = undef; - - if (! eval "require LWP::UserAgent;"){ --- -1.7.3.4 - diff --git a/net-analyzer/munin/files/munin-2.0_rc-Makefile.patch b/net-analyzer/munin/files/munin-2.0_rc-Makefile.patch deleted file mode 100644 index ee10bff..0000000 --- a/net-analyzer/munin/files/munin-2.0_rc-Makefile.patch +++ /dev/null @@ -1,79 +0,0 @@ -From 30762ce57c3d8ad2701dc1466ab5cee66e0ffd52 Mon Sep 17 00:00:00 2001 -From: Jeremy Olexa <darkside@gentoo.org> -Date: Thu, 19 Apr 2012 15:46:34 +0000 -Subject: [PATCH] Fix up Makefile.config for Gentoo Linux - ---- - Makefile.config | 22 +++++++++++----------- - 1 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/Makefile.config b/Makefile.config -index c35e228..e748d16 100644 ---- a/Makefile.config -+++ b/Makefile.config -@@ -17,10 +17,10 @@ - # - # the base of the Munin installation. - # --PREFIX = $(DESTDIR)/opt/munin -+PREFIX = $(DESTDIR)/usr - - # Where Munin keeps its configurations (server.conf, client.conf, ++) --CONFDIR = $(DESTDIR)/etc/opt/munin -+CONFDIR = $(DESTDIR)/etc/munin - - # Server only - where to put munin-cron - BINDIR = $(PREFIX)/bin -@@ -29,20 +29,20 @@ BINDIR = $(PREFIX)/bin - SBINDIR = $(PREFIX)/sbin - - # Where to put text and html documentation --DOCDIR = $(PREFIX)/doc -+DOCDIR = $(PREFIX)/share/doc/munin-$(VERSION) - - # Where to put man pages --MANDIR = $(PREFIX)/man -+MANDIR = $(PREFIX)/share/man - - # Where to put internal binaries and plugin repository --LIBDIR = $(PREFIX)/lib -+LIBDIR = $(PREFIX)/libexec/munin - - # Server only - Output directory --HTMLDIR = $(PREFIX)/www/docs --CGIDIR = $(PREFIX)/www/cgi -+HTMLDIR = $(DESTDIR)/var/www/localhost/htdocs/munin -+CGIDIR = $(DESTDIR)/var/www/localhost/cgi-bin - - # Where to put RRD files and other internal data, both master and node --DBDIR = $(DESTDIR)/var/opt/munin -+DBDIR = $(DESTDIR)/var/lib/munin - - # Client only - Where the spool files are written. Must be writable by - # group "munin", and should be preserved between reboots -@@ -53,7 +53,7 @@ SPOOLDIR = $(DBDIR)/spool - PLUGSTATE = $(DBDIR)/plugin-state - - # Where Munin should place its logs. --LOGDIR = $(PREFIX)/log/munin -+LOGDIR = $(DESTDIR)/var/log/munin - - # Location of PID files and other statefiles. On the server, must be - # writable by the user "munin". -@@ -92,11 +92,11 @@ GOODSH := $(shell PATH=`getconf PATH 2>/dev/null || echo $(PATH)` sh -c 'typ - BASH := /bin/bash - - # Server only - Where to install the perl libraries --PERLSITELIB := $(shell $(PERL) -V:sitelib | cut -d"'" -f2) -+PERLSITELIB := $(shell $(PERL) -V:vendorlib | cut -d"'" -f2) - PERLLIB = $(DESTDIR)$(PERLSITELIB) - - # Client only - Install plugins for this architecture --OSTYPE := $(shell uname | tr '[A-Z]' '[a-z]' | cut -f 1 -d _) -+OSTYPE := $(shell uname | LANG=C tr '[A-Z]' '[a-z]' | cut -f 1 -d _) - - # How to figure out the hostname. (Only used in default configuration - # files) --- -1.7.3.4 - diff --git a/net-analyzer/munin/files/munin-2.0_rc-crontab b/net-analyzer/munin/files/munin-2.0_rc-crontab deleted file mode 100644 index 1c156e7..0000000 --- a/net-analyzer/munin/files/munin-2.0_rc-crontab +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-1.3.3-crontab,v 1.1 2007/02/25 11:00:28 robbat2 Exp $ - -# Force the shell to bash -SHELL=/bin/bash -# Mail reports to root@, not munin@ -MAILTO=root - -# This runs the munin task every 5 minutes. -*/5 * * * * [ -x /usr/bin/munin-cron ] && /usr/bin/munin-cron diff --git a/net-analyzer/munin/files/munin-2.0_rc-plugins.conf b/net-analyzer/munin/files/munin-2.0_rc-plugins.conf deleted file mode 100644 index b0bcaed..0000000 --- a/net-analyzer/munin/files/munin-2.0_rc-plugins.conf +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-1.3.2-plugins.conf,v 1.5 2010/10/18 03:22:28 darkside Exp $ -# -# This file contains configuration options for the plugins. Three -# options are understood by munin-node itself: -# -# user <user> # Set the user to run the plugin as -# group <group> # Set the group to run the plugin as -# command <command> # Run <command> instead of the plugin. %c -# expands to what would normally be run. -# env.<variable> # Sets <variable> in the plugin's environment, see the -# individual plugins to find out which variables they -# care about. -# -# - -[smart_*] -user root -group disk - -# Example for a 3ware 8000-series card, with 2 disks -# use /dev/twe0 as the actual device -# and replicate this entry for each drive, increasing the number in -d -#[smart_3ware-0_twe0] -#user root -#group root -#env.smartargs -H -i -c -l error -l selftest -l selective -a -d 3ware,0 -#[smart_3ware-1_twe0] -#user root -#group root -#env.smartargs -H -i -c -l error -l selftest -l selective -a -d 3ware,1 - -[bind9*] -user root - -[iostat*] -user munin -group munin - -[iostat_ios] -user root -group disk - -[vlan*] -user root - -[postfix*] -user root -env.logfile maillog - -[sendmail*] -env.mspqueue /var/spool/clientmqueue - -[mysql*] -#env.mysqlopts -u someuser - -[exim*] -group mail - -[cps*] -user root - -# More 3ware examples -#[hddtemp_smartctl] -#env.drives twe0_0 twe0_1 hda -#env.type_twe0_0 3ware,0 -#env.type_twe0_1 3ware,1 diff --git a/net-analyzer/munin/files/munin-node_conf.d_2.0_rc b/net-analyzer/munin/files/munin-node_conf.d_2.0_rc deleted file mode 100644 index a984bdb..0000000 --- a/net-analyzer/munin/files/munin-node_conf.d_2.0_rc +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-node_conf.d_1.4.6-r2,v 1.1 2011/08/17 15:45:54 darkside Exp $ - -# Set to the nice level for daemon -NICE_LEVEL=1 - -# vim: filetype=gentoo-conf-d: diff --git a/net-analyzer/munin/files/munin-node_init.d_2.0_rc b/net-analyzer/munin/files/munin-node_init.d_2.0_rc deleted file mode 100644 index 409570d..0000000 --- a/net-analyzer/munin/files/munin-node_init.d_2.0_rc +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/munin/files/munin-node_init.d_1.4.6-r2,v 1.1 2011/08/17 15:45:54 darkside Exp $ - -get_munin_config() { - awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE" -} - -: ${NAME:="munin-node"} -: ${CFGFILE:=/etc/munin/munin-node.conf} -: ${PIDFILE:=$(get_munin_config pid_file)} -: ${NICE_LEVEL:=0} - -depend() { - config "$CFGFILE" - - need net - before cron - - [ "$(get_munin_config log_file)" == "Sys::Syslog" ] && \ - use logger -} - -start() { - local piddir=$(dirname ${PIDFILE}) - [ -d ${piddir} ] || mkdir -p ${piddir} - - ebegin "Starting $NAME" - start-stop-daemon --nicelevel $NICE_LEVEL --start --pidfile $PIDFILE --exec /usr/sbin/$NAME -- \ - --config "$CFGFILE" - eend $? -} - -stop() { - ebegin "Stopping $NAME" - start-stop-daemon --stop --pidfile $PIDFILE - eend $? -} - -# vim: filetype=gentoo-init-d: |