Changeset 1445
- Timestamp:
- 02/07/08 15:41:07 (4 years ago)
- Files:
-
- trunk/INSTALL (modified) (3 diffs)
- trunk/Makefile.config (modified) (2 diffs)
- trunk/Makefile.config-dist (modified) (1 diff)
- trunk/README.HP-UX (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/INSTALL
r1325 r1445 9 9 - Perl modules for plugins: Depends on the plugins you want to use, 10 10 but not much 11 - GNU Make 11 12 12 13 Munin is quite often used on Linux, *BSD, Solaris and AIX and recently … … 18 19 base at http://munin.sourceforge.net. 19 20 21 20 22 Installing 21 23 ========== … … 26 28 27 29 This overwrites the maintainers copy of Makefile.config. 28 29 30 30 31 31 Munin consists of the main (central server) programs, and the node trunk/Makefile.config
r1190 r1445 2 2 # -*- Makefile -*- 3 3 # 4 # This file is rigged to overwrite the a debian munin-package as that 5 # is what janl uses. 4 # This file is used by the maintainer for testing and only necessarily 5 # works on the maintainers machines. Please see Makefile.config-dist 6 # for the user directed Makefile.config as directed in the INSTALL doc. 6 7 # 7 8 # $Id$ … … 86 87 87 88 # Which command to use to check if the USER and GROUP to run Munin as, exists. 89 88 90 GETENT = $(shell which getent || which true 2>/dev/null) 89 91 CHECKUSER = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) trunk/Makefile.config-dist
r1282 r1445 93 93 94 94 # Which command to use to check if the USER and GROUP to run Munin as, exists. 95 # These will work on most modern OSes: 96 # 95 97 GETENT = $(shell which getent || which true 2>/dev/null) 96 98 CHECKUSER = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) 97 99 CHECKGROUP = $(shell $(GETENT) group $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2")) 100 98 101 # For OSX, comment out the previous two lines and comment in these 102 # 99 103 #CHECKUSER = $(shell nicl . -read /users/$(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) 100 104 #CHECKGROUP = $(shell nicl . -read /groups/$(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2")) 105 106 # For HP-UX, use these instead: 107 # 108 #PWGET = $(shell which pwget) 109 #GRGET = $(shell which grget) 110 #CHECKUSER = $(shell $(PWGET) -n $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2")) 111 #CHECKGROUP = $(shell $(GRGET) -n $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2")) 112 113 101 114 102 115 CHOWN = chown
