diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-10-22 14:13:40 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-10-22 14:13:40 +0000 |
commit | 7b737f460689ba0ebfc33b9d60f827cab25948b9 (patch) | |
tree | 99a4eaf1d878a18b15f78315d4f46c3cb201348b /sysutils/munin-common/files/patch-Makefile | |
parent | irc/quassel: (diff) |
Update munin to 2.0.23.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=371359
Diffstat (limited to 'sysutils/munin-common/files/patch-Makefile')
-rw-r--r-- | sysutils/munin-common/files/patch-Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/sysutils/munin-common/files/patch-Makefile b/sysutils/munin-common/files/patch-Makefile index 44573017969c..47380649dc19 100644 --- a/sysutils/munin-common/files/patch-Makefile +++ b/sysutils/munin-common/files/patch-Makefile @@ -1,4 +1,4 @@ ---- Makefile.orig 2014-04-22 19:29:32 UTC +--- Makefile.orig 2014-10-17 09:03:12 UTC +++ Makefile @@ -68,60 +68,48 @@ @@ -96,15 +96,16 @@ - mkdir -p $(CONFDIR)/plugins - mkdir -p $(CONFDIR)/plugin-conf.d - mkdir -p $(LIBDIR)/plugins +- mkdir -p $(PLUGSTATE) +- +- $(CHOWN) root:root $(PLUGSTATE) +- $(CHMOD) 0755 $(PLUGSTATE) +- $(CHMOD) 0755 $(CONFDIR)/plugin-conf.d + mkdir -p $(DESTDIR)$(CONFDIR)/plugins + mkdir -p $(DESTDIR)$(CONFDIR)/plugin-conf.d + mkdir -p $(DESTDIR)$(LIBDIR)/plugins - mkdir -p $(PLUGSTATE) ++ mkdir -p $(DESTDIR)$(PLUGSTATE) -- $(CHOWN) root:root $(PLUGSTATE) -- $(CHMOD) 0755 $(PLUGSTATE) -- $(CHMOD) 0755 $(CONFDIR)/plugin-conf.d -- for p in build/plugins/node.d/* build/plugins/node.d.$(OSTYPE)/* ; do \ if test -f "$$p" ; then \ echo Installing $$p; \ @@ -120,9 +121,10 @@ + $(INSTALL) -m 0644 build/plugins/plugin.sh $(DESTDIR)$(LIBDIR)/plugins/ install-plugins-java: build-plugins-java - mkdir -p $(JAVALIBDIR) +- mkdir -p $(JAVALIBDIR) - $(INSTALL) -m 0644 build/plugins/javalib/munin-jmx-plugins.jar $(JAVALIBDIR)/ - mkdir -p $(LIBDIR)/plugins ++ mkdir -p $(DESTDIR)$(JAVALIBDIR) + $(INSTALL) -m 0644 build/plugins/javalib/munin-jmx-plugins.jar $(DESTDIR)$(JAVALIBDIR)/ + mkdir -p $(DESTDIR)$(LIBDIR)/plugins for p in build/plugins/node.d.java/*; do \ @@ -133,6 +135,15 @@ fi \ done +@@ -183,7 +167,7 @@ + install-node-prime: install-node-pre install-node + + install-node-pre: build/node/munin-node.conf install-pre +- test -f "$(CONFDIR)/munin-node.conf" || $(INSTALL) -m 0644 build/node/munin-node.conf $(CONFDIR)/ ++ test -f "$(DESTDIR)$(CONFDIR)/munin-node.conf" || $(INSTALL) -m 0644 build/node/munin-node.conf $(DESTDIR)$(CONFDIR)/ + + + install-common-prime: build-common install-common @@ -466,6 +450,7 @@ --install_path sbin=$(SBINDIR) \ --install_path bindoc=$(MANDIR)/man1 \ |