[csw-devel] SF.net SVN: gar:[19842] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Dec 7 14:23:55 CET 2012


Revision: 19842
          http://gar.svn.sourceforge.net/gar/?rev=19842&view=rev
Author:   dmichelsen
Date:     2012-12-07 13:23:55 +0000 (Fri, 07 Dec 2012)
Log Message:
-----------
pnp4nagios: Initial commit, some more fixes for install required

Added Paths:
-----------
    csw/mgar/pkg/pnp4nagios/
    csw/mgar/pkg/pnp4nagios/Makefile
    csw/mgar/pkg/pnp4nagios/branches/
    csw/mgar/pkg/pnp4nagios/tags/
    csw/mgar/pkg/pnp4nagios/trunk/
    csw/mgar/pkg/pnp4nagios/trunk/Makefile
    csw/mgar/pkg/pnp4nagios/trunk/checksums
    csw/mgar/pkg/pnp4nagios/trunk/files/
    csw/mgar/pkg/pnp4nagios/trunk/files/0001-Solaris-fixes.patch

Added: csw/mgar/pkg/pnp4nagios/Makefile
===================================================================
--- csw/mgar/pkg/pnp4nagios/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pnp4nagios/Makefile	2012-12-07 13:23:55 UTC (rev 19842)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/pnp4nagios/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/pnp4nagios/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pnp4nagios/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/pnp4nagios/trunk/Makefile	2012-12-07 13:23:55 UTC (rev 19842)
@@ -0,0 +1,30 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = pnp4nagios
+VERSION = 0.6.19
+GARTYPE = v2
+
+DESCRIPTION = abc
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES += $(DISTNAME).tar.gz
+
+PATCHFILES += 0001-Solaris-fixes.patch
+
+BUILD_ARGS = all
+
+# There is no testsuite
+TEST_SCRIPTS =
+
+# Do not install as nagios:nagios
+INSTALL_OVERRIDE_VARS += INSTALL_OPTS
+INSTALL_OVERRIDE_VAR_INSTALL_OPTS = 
+
+INSTALL_ARGS = fullinstall
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/pnp4nagios/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/pnp4nagios/trunk/checksums
===================================================================
--- csw/mgar/pkg/pnp4nagios/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/pnp4nagios/trunk/checksums	2012-12-07 13:23:55 UTC (rev 19842)
@@ -0,0 +1 @@
+37d69974e088a7010b7e27434b95a12d  pnp4nagios-0.6.19.tar.gz

Added: csw/mgar/pkg/pnp4nagios/trunk/files/0001-Solaris-fixes.patch
===================================================================
--- csw/mgar/pkg/pnp4nagios/trunk/files/0001-Solaris-fixes.patch	                        (rev 0)
+++ csw/mgar/pkg/pnp4nagios/trunk/files/0001-Solaris-fixes.patch	2012-12-07 13:23:55 UTC (rev 19842)
@@ -0,0 +1,39 @@
+From 47b12201d03d30098d1813994ad347350e0b9425 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 6 Dec 2012 17:16:02 +0100
+Subject: [PATCH] Solaris fixes
+
+---
+ src/Makefile.in | 2 +-
+ src/npcdmod.c   | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.in b/src/Makefile.in
+index b4323b4..3b2fc9e 100644
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -91,7 +91,7 @@ npcd: npcd.c $(NPCDOBJS) $(NPCDHEAD)
+ #
+ ###############################
+ npcdmod.o: npcdmod.c
+-	$(CC) $(MOD_CFLAGS) $(CFLAGS) -o npcdmod.o npcdmod.c $(MOD_LDFLAGS) $(LDFLAGS) $(LIBS) -fPIC
++	$(CC) $(MOD_CFLAGS) $(CFLAGS) -c -o npcdmod.o npcdmod.c $(MOD_LDFLAGS) $(LDFLAGS) $(LIBS) -fPIC
+ 
+ ###############################
+ #
+diff --git a/src/npcdmod.c b/src/npcdmod.c
+index cfd2565..53f36e4 100644
+--- a/src/npcdmod.c
++++ b/src/npcdmod.c
+@@ -38,7 +38,7 @@
+ #include "../include/npcdmod.h"
+ 
+ /* specify event broker API version (required) */
+-NEB_API_VERSION(CURRENT_NEB_API_VERSION);
++NEB_API_VERSION(CURRENT_NEB_API_VERSION)
+ 
+ extern int process_performance_data;
+ 
+-- 
+1.8.0
+

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