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

j_arndt at users.sourceforge.net j_arndt at users.sourceforge.net
Mon Feb 16 15:11:19 CET 2009


Revision: 3121
          http://gar.svn.sourceforge.net/gar/?rev=3121&view=rev
Author:   j_arndt
Date:     2009-02-16 14:11:19 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
nagiosp: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/nagios-plugins/
    csw/mgar/pkg/nagios-plugins/branches/
    csw/mgar/pkg/nagios-plugins/tags/
    csw/mgar/pkg/nagios-plugins/trunk/
    csw/mgar/pkg/nagios-plugins/trunk/Makefile
    csw/mgar/pkg/nagios-plugins/trunk/checksums
    csw/mgar/pkg/nagios-plugins/trunk/files/
    csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.depend
    csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.gspec
    csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.prototype
    csw/mgar/pkg/nagios-plugins/trunk/files/legal.diff
    csw/mgar/pkg/nagios-plugins/trunk/files/makefile.diff
    csw/mgar/pkg/nagios-plugins/trunk/files/plugins-root.diff


Property changes on: csw/mgar/pkg/nagios-plugins/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v1


Added: csw/mgar/pkg/nagios-plugins/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/Makefile	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,39 @@
+GARNAME = nagios-plugins
+GARVERSION = 1.4.13
+CATEGORIES = apps
+
+DESCRIPTION = Plugins for Nagios
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = http://surfnet.dl.sourceforge.net/sourceforge/nagiosplug/
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWnagiosp,prototype depend)
+
+PATCHFILES  = makefile.diff # add target 'none'
+PATCHFILES += plugins-root.diff # 
+PATCHFILES += legal.diff
+
+CFLAGS += -I /opt/csw/postgresql/include/
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-mysql-dir=/opt/csw/mysql5/bin
+CONFIGURE_ARGS += --with-pg-dir=/opt/csw/postgresql/include/
+CONFIGURE_ARGS += --disable-largefile
+
+libexecdir ?= $(prefix)/libexec/nagios-plugins
+
+# Extra libs
+EXTRA_LIB += /opt/csw/mysql5/lib/mysql
+EXTRA_LIB += /opt/csw/postgresql/lib
+
+# Extra includes
+EXTRA_INC = /opt/csw/postgresql/include
+
+INSTALL_ARGS += install-contrib
+INSTALL_ARGS += install-legal
+
+TEST_TARGET = none
+
+include gar/category.mk

Added: csw/mgar/pkg/nagios-plugins/trunk/checksums
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/checksums	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,7 @@
+be6cc7699fff3ee29d1fd4d562377386  download/nagios-plugins-1.4.13.tar.gz
+abfb8a44032960e6bc446a5ae5ebeafd  download/CSWnagiosp.gspec
+7edc85ec11ed146b6b1fc585c329a468  download/CSWnagiosp.prototype
+eadc14b27a73aa55d1d0accc0dd0eb00  download/CSWnagiosp.depend
+664323f0ea2e5abf7be2387ca22a13ba  download/makefile.diff
+3120b49a06d02676a4127fbe4d53f763  download/plugins-root.diff
+78d82c2ac3986566dd0edb5b3b66425f  download/legal.diff

Added: csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.depend
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.depend	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.depend	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,10 @@
+P	CSWggettext    ggettext - GNU gettext
+P	CSWiconv       libiconv - GNU iconv library
+P	CSWjre6        jre6 - Java Development Kit 6
+P	CSWlibnet      libnet - the libnet packet construction library
+P	CSWlibpq       libpq - libraries needed by postgresql server and clients
+P	CSWmysql5rt    mysql5rt - run-time libraries for mysql5
+P	CSWoldaprt     openldap_rt - OpenLDAP runtime libraries (oldaprt)
+P	CSWosslrt      openssl_rt - Openssl runtime libraries
+P	CSWsasl        sasl - Simple Authentication and Security Layer
+P	CSWzlib        zlib - Zlib Data Compression Library

Added: csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.gspec
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.gspec	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.gspec	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,3 @@
+%var            bitname nagiosp
+%var            pkgname CSWnagiosp
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec

Added: csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.prototype
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.prototype	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/CSWnagiosp.prototype	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,73 @@
+1 d none /opt/csw/lib 0755 root bin
+1 f none /opt/csw/lib/charset.alias 0644 root bin
+1 d none /opt/csw/libexec/nagios-plugins 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_apt 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_breeze 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_by_ssh 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_clamd=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_cluster 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_dhcp 4555 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_disk 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_disk_smb 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_dns 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_dummy 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_file_age 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_flexlm 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_fping 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_ftp=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_hpjd 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_http 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_icmp 4555 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ifoperstatus 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ifstatus 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_imap=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_ircd 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_jabber=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_ldap 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_ldaps=check_ldap
+1 f none /opt/csw/libexec/nagios-plugins/check_load 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_log 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_mailq 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_mrtg 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_mrtgtraf 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_mysql 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_mysql_query 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_nagios 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_nntp=check_tcp
+1 s none /opt/csw/libexec/nagios-plugins/check_nntps=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_nt 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ntp 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ntp_peer 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ntp_time 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_nwstat 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_oracle 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_overcr 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_pgsql 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_ping 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_pop=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_procs 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_real 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_rpc 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_sensors 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_simap=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_smtp 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_snmp 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_spop=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_ssh 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_ssmtp=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_swap 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_tcp 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_time 0755 root bin
+1 s none /opt/csw/libexec/nagios-plugins/check_udp=check_tcp
+1 f none /opt/csw/libexec/nagios-plugins/check_ups 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_users 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/check_wave 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/negate 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/pst3 4555 root bin
+1 f none /opt/csw/libexec/nagios-plugins/urlize 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/utils.pm 0755 root bin
+1 f none /opt/csw/libexec/nagios-plugins/utils.sh 0755 root bin
+1 d none /opt/csw/share/locale/de/LC_MESSAGES 0755 root bin
+1 f none /opt/csw/share/locale/de/LC_MESSAGES/nagios-plugins.mo 0644 root bin
+1 d none /opt/csw/share/locale/fr/LC_MESSAGES 0755 root bin
+1 f none /opt/csw/share/locale/fr/LC_MESSAGES/nagios-plugins.mo 0644 root bin

Added: csw/mgar/pkg/nagios-plugins/trunk/files/legal.diff
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/legal.diff	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/legal.diff	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,17 @@
+diff --speed-large-files --minimal -Nru nagios-plugins-1.4.13.orig/Makefile.in nagios-plugins-1.4.13/Makefile.in
+--- nagios-plugins-1.4.13.orig/Makefile.in	2009-02-04 12:38:29.568808276 +0100
++++ nagios-plugins-1.4.13/Makefile.in	2009-02-04 12:38:15.957832674 +0100
+@@ -1042,6 +1042,13 @@
+ 	$(INSTALL) -d $(DESTDIR)$(docdir)
+ 	$(INSTALL) -m 644 contrib.tar $(DESTDIR)$(docdir)
+ 
++INFO_DIST = BUGS ChangeLog FAQ README REQUIREMENTS SUPPORT
++install-legal:
++	$(INSTALL) -d $(DESTDIR)$(docdir)
++	for i in $(INFO_DIST); do \
++		$(INSTALL) -m 644 $$i $(DESTDIR)$(docdir) ; \
++	done
++
+ 
+ tap:
+ 	cd @TAP_DIR@ && $(MAKE)

Added: csw/mgar/pkg/nagios-plugins/trunk/files/makefile.diff
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/makefile.diff	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/makefile.diff	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,22 @@
+diff --speed-large-files --minimal -Nru nagios-plugins-1.4.13.orig/Makefile.in nagios-plugins-1.4.13/Makefile.in
+--- nagios-plugins-1.4.13.orig/Makefile.in	2008-09-25 10:33:22.000000000 +0200
++++ nagios-plugins-1.4.13/Makefile.in	2009-02-03 21:53:58.207039758 +0100
+@@ -1037,6 +1037,12 @@
+ install-root:
+ 	cd plugins-root && $(MAKE) $@
+ 
++install-contrib:
++	tar cf contrib.tar contrib/
++	$(INSTALL) -d $(DESTDIR)$(docdir)
++	$(INSTALL) -m 644 contrib.tar $(DESTDIR)$(docdir)
++
++
+ tap:
+ 	cd @TAP_DIR@ && $(MAKE)
+ 
+@@ -1073,3 +1079,5 @@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
++
++none:

Added: csw/mgar/pkg/nagios-plugins/trunk/files/plugins-root.diff
===================================================================
--- csw/mgar/pkg/nagios-plugins/trunk/files/plugins-root.diff	                        (rev 0)
+++ csw/mgar/pkg/nagios-plugins/trunk/files/plugins-root.diff	2009-02-16 14:11:19 UTC (rev 3121)
@@ -0,0 +1,81 @@
+diff --speed-large-files --minimal -Nru nagios-plugins-1.4.13.orig/plugins-root/Makefile.am nagios-plugins-1.4.13/plugins-root/Makefile.am
+--- nagios-plugins-1.4.13.orig/plugins-root/Makefile.am	2008-07-02 22:00:08.000000000 +0200
++++ nagios-plugins-1.4.13/plugins-root/Makefile.am	2009-02-02 15:04:58.121712871 +0100
+@@ -41,26 +41,18 @@
+ 	chmod $(setuid_root_mode) $(DESTDIR)$(libexecdir)/$$p; \
+ 	done
+ 
+-install-root: $(noinst_PROGRAMS)
+-	@$(INSTALL_SUID)
++install-root:
++	$(INSTALL) -m 755 -d $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 check_dhcp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 check_icmp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 pst3 $(DESTDIR)$(libexecdir)
+ 
+-install-exec-local: $(noinst_PROGRAMS)
+-	@TMPFILE=$(DESTDIR)$(libexecdir)/.setuid-$$$$; \
+-	rm -f $$TMPFILE; \
+-	echo > $$TMPFILE; \
+-	## See if we can create a setuid root executable in $(libexecdir).
+-	## If not, then don't even try to install setuid plugins.
+-	can_create_suid_root_executable=no; \
+-	chown root $$TMPFILE > /dev/null 2>&1 \
+-	  && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
+-	  && can_create_suid_root_executable=yes; \
+-	rm -f $$TMPFILE; \
+-	if test $$can_create_suid_root_executable = yes; then \
+-	  $(INSTALL_SUID); \
+-	else \
+-	  echo "WARNING: insufficient access; not installing setuid plugins"; \
+-	  echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
+-	fi
++
++install-exec-local:
++	$(INSTALL) -m 755 -d $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 check_dhcp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 check_icmp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 744 pst3 $(DESTDIR)$(libexecdir)
+ 
+ # /* Author Coreutils team sub-citation */
+ 
+diff --speed-large-files --minimal -Nru nagios-plugins-1.4.13.orig/plugins-root/Makefile.in nagios-plugins-1.4.13/plugins-root/Makefile.in
+--- nagios-plugins-1.4.13.orig/plugins-root/Makefile.in	2008-09-25 10:33:20.000000000 +0200
++++ nagios-plugins-1.4.13/plugins-root/Makefile.in	2009-02-02 15:04:14.144038426 +0100
+@@ -952,24 +952,19 @@
+ test:
+ 	perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
+ 
+-install-root: $(noinst_PROGRAMS)
+-	@$(INSTALL_SUID)
++install-root:
++	$(INSTALL) -m 755 -d $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 check_dhcp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 check_icmp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 pst3 $(DESTDIR)$(libexecdir)
+ 
+-install-exec-local: $(noinst_PROGRAMS)
+-	@TMPFILE=$(DESTDIR)$(libexecdir)/.setuid-$$$$; \
+-	rm -f $$TMPFILE; \
+-	echo > $$TMPFILE; \
+-	can_create_suid_root_executable=no; \
+-	chown root $$TMPFILE > /dev/null 2>&1 \
+-	  && chmod $(setuid_root_mode) $$TMPFILE > /dev/null 2>&1 \
+-	  && can_create_suid_root_executable=yes; \
+-	rm -f $$TMPFILE; \
+-	if test $$can_create_suid_root_executable = yes; then \
+-	  $(INSTALL_SUID); \
+-	else \
+-	  echo "WARNING: insufficient access; not installing setuid plugins"; \
+-	  echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
+-	fi
++
++install-exec-local:
++	$(INSTALL) -m 755 -d $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 check_dhcp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 check_icmp $(DESTDIR)$(libexecdir)
++	$(INSTALL) -m 644 pst3 $(DESTDIR)$(libexecdir)
++#
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:


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