Permalink
Browse files

redhat: move the redhat stuff outside main repo

  • Loading branch information...
1 parent 7f32c59 commit 93a228a23e4276486a855244fda33184da403819 @steveschnepp steveschnepp committed Sep 5, 2012
@@ -1,42 +0,0 @@
-# Modifications from ../../Makefile.config
-
-PREFIX = $(DESTDIR)/usr
-CONFDIR = $(DESTDIR)/etc/munin
-BINDIR = $(PREFIX)/bin
-SBINDIR = $(PREFIX)/sbin
-MANDIR = $(PREFIX)/share/man
-LIBDIR = $(PREFIX)/share/munin
-HTMLDIR = $(DESTDIR)/var/www/html/munin
-CGIDIR = $(HTMLDIR)/cgi
-DBDIR = $(DESTDIR)/var/lib/munin
-PLUGSTATE = $(DBDIR)/plugin-state
-LOGDIR = $(DESTDIR)/var/log/munin
-STATEDIR = $(DESTDIR)/var/run/munin
-PERL = $(shell which perl)
-PYTHON = /usr/bin/env python
-GOODSH = $(shell PATH=`getconf PATH` sh -c 'type sh | sed "s/.* //"')
-BASH = /bin/bash
-PERLLIB = $(DESTDIR)$(shell ( $(PERL) -V:vendorlib | egrep -v "UNKNOWN|=''" || $(PERL) -V:sitelib) | cut -d\' -f 2)
-OSTYPE = $(shell uname | tr '[A-Z]' '[a-z]')
-MKTEMP = $(shell ./test-mktemp)
-VERSION = $(shell cat RELEASE)
-USER = munin
-GROUP = munin
-PLUGINUSER = nobody
-GETENT = $(shell which getent || which true 2>/dev/null)
-CHECKUSER = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistent. Create the user and retry; exit 2"))
-CHECKGROUP = $(shell $(GETENT) group $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistent. Create the group and retry; exit 2"))
-
-DOCDIR = $(PREFIX)/share/doc/munin-$(VERSION)
-
-HASSETR = $(shell perl -e 'use Config; my @vars=("d_setruid", "d_setreuid", "d_setresuid"); foreach my $$var (@vars) { if ($$Config{$$var} eq "define") { print "1\n"; exit 0; } } print "0\n"; exit 0;' )
-
-# Handled in the munin.spec
-CHECKUSER:= true
-CHECKGROUP:= true
-CHOWN := echo Not done: chown
-CHMOD := echo Not done: chmod
-CHGRP := echo Not done: chgrp
-
-# Package building wants an sample hostname
-HOSTNAME = localhost.localdomain
View
@@ -0,0 +1,4 @@
+Redhat specifics are hosted directly on pkgs.fedoraproject.org.
+
+www: http://pkgs.fedoraproject.org/cgit/munin.git
+git: git://pkgs.fedoraproject.org/munin.git
@@ -1,11 +0,0 @@
-#
-# cron-jobs for lrrd-client
-#
-
-MAILTO=root
-
-# If the APT plugin is enabled, update packages databases approx. once
-# an hour (12 invokations an hour, 1 in 12 chance that the update will
-# happen), but ensure that there will never be more than two hour (7200
-# seconds) interval between updates..
-*/5 * * * * root [ -x /etc/lrrd/client.d/apt ] && /etc/lrrd/client.d/apt update 7200 12 >/dev/null
View
@@ -1,64 +0,0 @@
-#! /bin/sh
-#
-# munin-node Control the Munin Node Server (formerly Linpro RRD client)
-#
-# chkconfig: 2345 90 10
-# description: munin node agents
-# processname: munin-node
-# config: /etc/munin/munin-node.conf
-# pidfile: /var/run/munin/munin-node.pid
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-PROCNAME=munin-node
-
-mkdir -p /var/run/munin 2>/dev/null
-chown munin /var/run/munin
-
-# See how we were called.
-case "$1" in
- start)
- echo -n "Starting Munin Node: "
- /usr/sbin/munin-node &
- sleep 1
- pkill -0 $PROCNAME
- RETVAL=$?
- if [ $RETVAL -eq 0 ]
- then
- echo_success
- touch /var/lock/subsys/munin-node
- else
- echo_failure
- fi
- echo
- ;;
- stop)
- echo -n "Stopping Munin Node agents: "
- kill $(cat /var/run/munin/munin-node.pid)
- RETVAL=$?
- if [ $RETVAL -eq 0 ]
- then
- echo_success
- rm -f /var/lock/subsys/munin-node
- else
- echo_failure
- fi
- echo
- ;;
- status)
- status $PROCNAME
- RETVAL=$?
- ;;
- restart|reload)
- $0 stop
- $0 start
- RETVAL=$?
- ;;
- *)
- echo "Usage: munin-node {start|stop|status|restart}"
- exit 1
-esac
-
-exit $RETVAL
@@ -1,7 +0,0 @@
-#
-# cron-jobs for munin
-#
-
-MAILTO=root
-
-*/5 * * * * munin test -x /usr/bin/munin-cron && /usr/bin/munin-cron
@@ -1,3 +0,0 @@
-[sendmail*]
-user root
-env.mspqueue /var/spool/clientmqueue

0 comments on commit 93a228a

Please sign in to comment.