Lines 1-6
Link Here
|
1 |
--- Makefile.config.orig 2005-01-10 11:38:32.000000000 +0100 |
1 |
--- Makefile.config.orig 2008-01-20 20:32:46.000000000 +0100 |
2 |
+++ Makefile.config 2005-02-03 11:55:51.000000000 +0100 |
2 |
+++ Makefile.config 2008-08-09 15:44:06.000000000 +0200 |
3 |
@@ -7,52 +7,56 @@ |
3 |
@@ -7,46 +7,50 @@ |
4 |
# |
4 |
# |
5 |
# the base of the Munin installation. |
5 |
# the base of the Munin installation. |
6 |
# |
6 |
# |
Lines 38-44
Link Here
|
38 |
# Server only - Output directory |
38 |
# Server only - Output directory |
39 |
-HTMLDIR = $(PREFIX)/var/www |
39 |
-HTMLDIR = $(PREFIX)/var/www |
40 |
-CGIDIR = $(HTMLDIR)/cgi |
40 |
-CGIDIR = $(HTMLDIR)/cgi |
41 |
+HTMLDIR = $(PREFIX)/www/munin |
41 |
+HTMLDIR = $(WWWDIR) |
42 |
+CGIDIR = $(PREFIX)/www/cgi-bin |
42 |
+CGIDIR = $(PREFIX)/www/cgi-bin |
43 |
|
43 |
|
44 |
# Client only - Where to put RRD files and other intenal data |
44 |
# Client only - Where to put RRD files and other intenal data |
Lines 64-77
Link Here
|
64 |
|
64 |
|
65 |
# The python interpreter to use (used by some plugins) |
65 |
# The python interpreter to use (used by some plugins) |
66 |
PYTHON = /usr/bin/env python |
66 |
PYTHON = /usr/bin/env python |
|
|
67 |
@@ -62,10 +66,10 @@ |
68 |
GOODSH = $(shell PATH=`getconf PATH` sh -c 'type sh | sed "s/.* //"') |
69 |
|
70 |
# Path of bash for bash specific plugins |
71 |
-BASH = /bin/bash |
72 |
+BASH = /usr/local/bin/bash |
67 |
|
73 |
|
68 |
# Server only - Where to install the perl libraries |
74 |
# Server only - Where to install the perl libraries |
69 |
-PERLLIB = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d= -f2 | sed "s/[\';]//g") |
75 |
-PERLLIB = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d"'" -f2) |
70 |
+PERLLIB = $(PREFIX)/$(SITE_PERL_REL) |
76 |
+PERLLIB = $(PREFIX)/$(SITE_PERL_REL) |
71 |
|
77 |
|
72 |
# Client only - Install plugins for this architecture |
78 |
# Client only - Install plugins for this architecture |
73 |
OSTYPE = $(shell uname | tr '[A-Z]' '[a-z]') |
79 |
OSTYPE = $(shell uname | tr '[A-Z]' '[a-z]') |
74 |
@@ -72,9 +76,8 @@ |
80 |
@@ -90,9 +94,8 @@ |
75 |
PLUGINUSER = nobody |
81 |
PLUGINUSER = nobody |
76 |
|
82 |
|
77 |
# Which command to use to check if the USER and GROUP to run Munin as, exists. |
83 |
# Which command to use to check if the USER and GROUP to run Munin as, exists. |
Lines 81-85
Link Here
|
81 |
+CHECKUSER:= $(shell /usr/sbin/pw user show $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) |
87 |
+CHECKUSER:= $(shell /usr/sbin/pw user show $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) |
82 |
+CHECKGROUP:= $(shell /usr/sbin/pw group show $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2")) |
88 |
+CHECKGROUP:= $(shell /usr/sbin/pw group show $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2")) |
83 |
|
89 |
|
84 |
CHOWN = chown |
90 |
# For OSX, comment out the previous two lines and comment in these |
85 |
CHMOD = chmod |
91 |
#CHECKUSER = $(shell nicl . -read /users/$(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) |