diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2014-05-18 14:29:07 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2014-05-18 14:29:07 +0000 |
commit | ab00f03fe1fb21055fccbfee645aeaef88ed1365 (patch) | |
tree | 53a9e60924488a4234ff22f855c39b65c3e1c7e9 /net-mgmt/pnp/files/patch-sample-config__Makefile.in | |
parent | - Stage support (diff) |
- update to 0.6.21
- add stage support
- sort pkg-plist (closer match to new `make makeplist')
- add NAGIOSDIR to PLIST_SUB (support nagios/icinga)
PR: ports/189197
Submitted by: ohauer
Approved by: maintainer timeout (16 days)
Notes
Notes:
svn path=/head/; revision=354424
Diffstat (limited to 'net-mgmt/pnp/files/patch-sample-config__Makefile.in')
-rw-r--r-- | net-mgmt/pnp/files/patch-sample-config__Makefile.in | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-mgmt/pnp/files/patch-sample-config__Makefile.in b/net-mgmt/pnp/files/patch-sample-config__Makefile.in new file mode 100644 index 000000000000..68e185303c2e --- /dev/null +++ b/net-mgmt/pnp/files/patch-sample-config__Makefile.in @@ -0,0 +1,43 @@ +--- ./sample-config/Makefile.in.orig 2013-03-24 17:25:56.000000000 +0100 ++++ ./sample-config/Makefile.in 2014-05-02 09:00:07.000000000 +0200 +@@ -40,35 +40,18 @@ + $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(SYSCONFDIR)/check_commands + $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(SYSCONFDIR)/pages + $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/pnp4nagios_release $(DESTDIR)$(SYSCONFDIR) +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/background.pdf $(DESTDIR)$(SYSCONFDIR) +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR)/config.php.$(PKG_VERSION); \ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR); \ ++ $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/background.pdf $(DESTDIR)$(SYSCONFDIR)/background.pdf-sample ++ $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR) + + install-config: + + $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(SYSCONFDIR) + $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(SYSCONFDIR)/check_commands + $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(SYSCONFDIR)/pages +- +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR)/config.php.$(PKG_VERSION); \ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR); \ +- +- if [ ! -e $(DESTDIR)$(SYSCONFDIR)/config_local.php ] ;then \ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR)/config_local.php; \ +- fi +- +- if [ -e $(DESTDIR)$(SYSCONFDIR)/process_perfdata.cfg ] ;then \ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/process_perfdata.cfg-sample $(DESTDIR)$(SYSCONFDIR)/process_perfdata.cfg.$(PKG_VERSION); \ +- else\ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/process_perfdata.cfg-sample $(DESTDIR)$(SYSCONFDIR)/process_perfdata.cfg; \ +- fi +- +- if [ -e $(DESTDIR)$(SYSCONFDIR)/npcd.cfg ] ;then \ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/npcd.cfg-sample $(DESTDIR)$(SYSCONFDIR)/npcd.cfg.$(PKG_VERSION); \ +- else\ +- $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/npcd.cfg-sample $(DESTDIR)$(SYSCONFDIR)/npcd.cfg; \ +- fi + ++ $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/config.php $(DESTDIR)$(SYSCONFDIR)/config_local.php.sample ++ $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/process_perfdata.cfg-sample $(DESTDIR)$(SYSCONFDIR)/process_perfdata.cfg.sample ++ $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/npcd.cfg-sample $(DESTDIR)$(SYSCONFDIR)/npcd.cfg.sample + $(INSTALL) -m 644 $(INSTALL_OPTS) pnp/rra.cfg-sample $(DESTDIR)$(SYSCONFDIR) + $(INSTALL) -m 644 $(INSTALL_OPTS) misccommands.cfg-sample $(DESTDIR)$(SYSCONFDIR) + $(INSTALL) -m 644 $(INSTALL_OPTS) nagios.cfg-sample $(DESTDIR)$(SYSCONFDIR) |