[omd-commits] OMD Git: omd: icinga: apply fix-freshness patch

git version control git at mathias-kettner.de
Thu Dec 1 19:39:01 CET 2011


Module:   omd
Branch:   master
Commit:   ca263d385d1c778ca1a20c2e03c065136f295d65
URL:      http://omdistro.org/projects/omd/repository/revisions/ca263d385d1c778ca1a20c2e03c065136f295d65

Author:   Joerg Linge <pitchfork at pnp4nagios.org>
Date:     Thu Dec  1 19:38:05 2011 +0100
Commiter: Joerg Linge <pitchfork at pnp4nagios.org>
Date:     Thu Dec  1 19:38:05 2011 +0100

icinga: apply fix-freshness patch

---

 packages/icinga/Makefile |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/packages/icinga/Makefile b/packages/icinga/Makefile
index eb10811..5221181 100644
--- a/packages/icinga/Makefile
+++ b/packages/icinga/Makefile
@@ -22,16 +22,26 @@ CONFIGUREOPTS = \
 
 build:
 	tar xzf $(DIR).tar.gz
+
+	set -e ; for p in patches/*.dif ; do \
+	        echo "applying $$p..." ; \
+		( cd $(DIR) ; patch -p1 -b ) < $$p ; \
+        done
+
 	cd $(DIR) ; ./configure $(CONFIGUREOPTS)
 	$(MAKE) -C $(DIR) all
 
 
+	$(MAKE) -C $(DIR)/module/idoutils/src idomod.o
+
+
 install:
 	$(MAKE) DESTDIR=$(DESTDIR) -C $(DIR) install-base install-cgis install-html
 	rm -f $(DESTDIR)$(OMD_ROOT)/share/icinga/htdocs/config.php.inc
 
 	mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/icinga
 	install -m 664 $(DIR)/p1.pl $(DESTDIR)$(OMD_ROOT)/lib/icinga
+	install -m 664 $(DIR)/module/idoutils/src/idomod.o $(DESTDIR)$(OMD_ROOT)/lib/icinga
 
 	mkdir -p $(DESTDIR)$(OMD_ROOT)/share/icinga/htdocs/ssi
 	install -m 755 ssi-wrapper.pl $(DESTDIR)$(OMD_ROOT)/share/icinga/htdocs/ssi



More information about the omd-commits mailing list