blob: 7d8cdf0917d6588f21b2e72b9fb8040708737e0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
--- munin-1.4.3/Makefile.config.org 2009-12-30 13:55:56.000000000 +0100
+++ munin-1.4.3/Makefile.config 2010-01-18 19:34:37.000000000 +0100
@@ -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,37 +29,37 @@
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 = $(PREFIX)/var/www/localhost/htdocs/munin
+CGIDIR = $(PREFIX)/var/www/localhost/cgi-bin
# Server only - spool directory for data gathered from nodes by
# munin-gather - experimental. Place on ramdisk to make munin
# scale better. On many versions of Linux as well as on Solaris
# /tmp will be a ramdisk.
-SSPOOLDIR = $(PREFIX)/spool
+SSPOOLDIR = $(DESTDIR)/var/run/munin/spool
# Suggested directory name for a pulic ramdisk based tmp directory.
# SSPOOLDIR := /tmp/muninspool
# Client only - Where to put RRD files and other intenal data
-DBDIR = $(DESTDIR)/var/opt/munin
+DBDIR = $(DESTDIR)/var/lib/munin
# Client only - Where plugins should put their states. Must be writable by
# group "munin", and should be preserved between reboots
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".
@@ -98,11 +98,11 @@
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]')
+OSTYPE := $(shell uname | LANG=C tr '[A-Z]' '[a-z]')
# How to figure out the hostname. (Only used in default configuration
# files)
|