openbsd-ports/net/munin/patches/patch-Makefile

41 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2010/10/23 15:52:22 sthen Exp $
--- Makefile.orig Tue Dec 29 17:03:49 2009
+++ Makefile Fri Oct 15 16:08:00 2010
@@ -69,7 +69,6 @@ install-pre: Makefile Makefile.config
mkdir -p $(LOGDIR)
mkdir -p $(STATEDIR)
mkdir -p $(CONFDIR)
- $(CHOWN) $(USER) $(LOGDIR) $(STATEDIR)
install-master-prime: $(INFILES_MASTER) install-pre install-master
mkdir -p $(CONFDIR)/templates
@@ -80,11 +79,11 @@ install-master-prime: $(INFILES_MASTER) install-pre in
mkdir -p $(PERLLIB)
mkdir -p $(PERLLIB)/Munin/Master
mkdir -p $(HTMLDIR)
- mkdir -p $(DBDIR)
+# mkdir -p $(DBDIR)
mkdir -p $(CGIDIR)
- $(CHOWN) $(USER) $(HTMLDIR) $(DBDIR)
- $(CHMOD) 0755 $(DBDIR)
+# $(CHOWN) $(USER) $(HTMLDIR) $(DBDIR)
+# $(CHMOD) 0755 $(DBDIR)
for p in master/www/*.tmpl master/www/*.png master/www/*.css resources/favicon.ico; do \
$(INSTALL) -m 0644 "$$p" $(CONFDIR)/templates/ ; \
@@ -125,10 +124,10 @@ install-plugins-prime: install-plugins build $(PLUGINS
mkdir -p $(CONFDIR)/plugins
mkdir -p $(CONFDIR)/plugin-conf.d
mkdir -p $(LIBDIR)/plugins
- mkdir -p $(PLUGSTATE)
+# mkdir -p $(PLUGSTATE)
- $(CHOWN) $(PLUGINUSER):$(GROUP) $(PLUGSTATE)
- $(CHMOD) 0775 $(PLUGSTATE)
+# $(CHOWN) $(PLUGINUSER):$(GROUP) $(PLUGSTATE)
+# $(CHMOD) 0775 $(PLUGSTATE)
$(CHMOD) 0755 $(CONFDIR)/plugin-conf.d
for p in build/plugins/node.d/* build/plugins/node.d.$(OSTYPE)/* ; do \