SF.net SVN: gar:[24772] csw/mgar/pkg/nagios-plugin-check_mk/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Mar 25 17:48:15 CET 2015


Revision: 24772
          http://sourceforge.net/p/gar/code/24772
Author:   dmichelsen
Date:     2015-03-25 16:48:14 +0000 (Wed, 25 Mar 2015)
Log Message:
-----------
nagios-plugin-check_mk/trunk: Split agent package

Modified Paths:
--------------
    csw/mgar/pkg/nagios-plugin-check_mk/trunk/Makefile

Modified: csw/mgar/pkg/nagios-plugin-check_mk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nagios-plugin-check_mk/trunk/Makefile	2015-03-25 15:58:00 UTC (rev 24771)
+++ csw/mgar/pkg/nagios-plugin-check_mk/trunk/Makefile	2015-03-25 16:48:14 UTC (rev 24772)
@@ -22,10 +22,20 @@
 # PKGFILES is catchall
 RUNTIME_DEP_PKGS_CSWnagios-plugin-checkmk += CSWapache2
 RUNTIME_DEP_PKGS_CSWnagios-plugin-checkmk += CSWperl
+RUNTIME_DEP_PKGS_CSWnagios-plugin-checkmk += CSWap2modpython
+RUNTIME_DEP_PKGS_CSWnagios-plugin-checkmk += CSWnagios
 
+# Checkpkg cannot track this
+CHECKPKG_OVERRIDES_CSWnagios-plugin-checkmk += surplus-dependency|CSWap2modpython
+
 # This is a comment
 CHECKPKG_OVERRIDES_CSWnagios-plugin-checkmk += file-with-bad-content|/usr/share|root/etc/opt/csw/check_mk/multisite.mk.CSW
 
+PACKAGES += CSWnagios-checkmk-agent
+SPKG_DESC_CSWnagios-checkmk-agent = CheckMK agent for client systems
+PKGFILES_CSWnagios-checkmk-agent += $(sharedstatedir)/check_mk/agents/.*
+ARCHALL_CSWnagios-checkmk-agent = 1
+
 GARCOMPILER = GCC4
 
 # The configure/build/install phase is combined in setup.sh
@@ -34,15 +44,14 @@
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = custom
 
+# This is also in CSWnagios-mk-livestatus
+EXTRA_MERGE_EXCLUDE_FILES += $(bindir)/unixcat
+
 PRESERVECONF += $(sysconfdir)/check_mk/main.mk
 PRESERVECONF += $(sysconfdir)/check_mk/multisite.mk
 
 include gar/category.mk
 
-#post-extract:
-#	-cd $(WORKSRC) && gtar zxvf livestatus.tar.gz
-#	@$(MAKECOOKIE)
-
 install-custom:
 	cd $(WORKSRC) && DESTDIR=$(DESTDIR) PATH=/opt/csw/gnu:/usr/xpg4/bin:$(PATH) SETUPCONF=$(abspath $(WORKDIR)/check_mk_setup.conf) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LD_OPTIONS="$(LD_OPTIONS)" CC="$(CC)" ./setup.sh
 	@# This crashes the python code around elfdump

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list