Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214152 | Differences between
and this patch

Collapse All | Expand All

(-)munin-1.3.3.orig/Makefile.config (-12 / +13 lines)
Lines 9-18 Link Here
9
#
9
#
10
# the base of the Munin installation.
10
# the base of the Munin installation.
11
# 
11
# 
12
PREFIX     = $(DESTDIR)/opt/munin
12
PREFIX     = $(DESTDIR)/usr
13
13
14
# Where Munin keeps its configurations (server.conf, client.conf, ++)
14
# Where Munin keeps its configurations (server.conf, client.conf, ++)
15
CONFDIR    = $(DESTDIR)/etc/opt/munin
15
CONFDIR    = $(DESTDIR)/etc/munin
16
16
17
# Server only - where to put munin-cron
17
# Server only - where to put munin-cron
18
BINDIR     = $(PREFIX)/bin
18
BINDIR     = $(PREFIX)/bin
Lines 21-51 Link Here
21
SBINDIR    = $(PREFIX)/sbin
21
SBINDIR    = $(PREFIX)/sbin
22
22
23
# Where to put text and html documentation
23
# Where to put text and html documentation
24
DOCDIR     = $(PREFIX)/doc
24
DOCDIR     = $(PREFIX)/share/doc/munin-$(VERSION)
25
25
26
# Where to put man pages
26
# Where to put man pages
27
MANDIR     = $(PREFIX)/man
27
MANDIR     = $(PREFIX)/share/man
28
28
29
# Where to put internal binaries and plugin repository
29
# Where to put internal binaries and plugin repository
30
LIBDIR     = $(PREFIX)/lib
30
LIBDIR     = $(PREFIX)/libexec/munin
31
31
32
# Server only - Output directory
32
# Server only - Output directory
33
HTMLDIR    = $(PREFIX)/var/www
33
HTMLDIR    = $(DESTDIR)/var/www/localhost/htdocs/munin
34
CGIDIR     = $(HTMLDIR)/cgi
34
CGIDIR     = $(DESTDIR)/var/www/localhost/cgi-bin
35
35
36
# Client only - Where to put RRD files and other intenal data
36
# Client only - Where to put RRD files and other intenal data
37
DBDIR      = $(DESTDIR)/var/opt/munin
37
DBDIR      = $(DESTDIR)/var/lib/munin
38
38
39
# Client only - Where plugins should put their states. Must be writable by
39
# Client only - Where plugins should put their states. Must be writable by
40
# group "munin", and should be preserved between reboots
40
# group "munin", and should be preserved between reboots
41
PLUGSTATE  = $(DBDIR)/plugin-state
41
PLUGSTATE  = $(DBDIR)/plugin-state
42
42
43
# Where Munin should place its logs.
43
# Where Munin should place its logs.
44
LOGDIR     = $(DESTDIR)/var/log/munin
44
LOGDIR     = $(DESTDIR)/var/log/munin
45
45
46
# Location of PID files and other statefiles. On the server, must be
46
# Location of PID files and other statefiles. On the server, must be
47
# writable by the user "munin".
47
# writable by the user "munin".
48
STATEDIR   = $(DESTDIR)/var/run/munin
48
STATEDIR   = $(DESTDIR)/var/run/munin
49
49
50
# The perl interpreter to use
50
# The perl interpreter to use
51
PERL       = $(shell which perl)
51
PERL       = $(shell which perl)
Lines 67-76 Link Here
67
BASH       = /bin/bash
67
BASH       = /bin/bash
68
68
69
# Server only - Where to install the perl libraries
69
# Server only - Where to install the perl libraries
70
PERLLIB    = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d"'" -f2)
70
PERLLIB    = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d"'" -f2)
71
71
72
# Client only - Install plugins for this architecture
72
# Client only - Install plugins for this architecture
73
OSTYPE     = $(shell uname | tr '[A-Z]' '[a-z]')
73
# LANG=C is because some locales are a bit different in their alphabet (eg ee_EE).
74
OSTYPE     = $(shell uname | LANG=C tr '[A-Z]' '[a-z]')
74
75
75
# How to figure out the hostname. (Only used in default configuration
76
# How to figure out the hostname. (Only used in default configuration
76
# files)
77
# files)

Return to bug 214152