[csw-devel] SF.net SVN: gar:[18709] csw/mgar/pkg/nagios_plugins/trunk
j_arndt at users.sourceforge.net
j_arndt at users.sourceforge.net
Thu Jul 12 10:29:47 CEST 2012
Revision: 18709
http://gar.svn.sourceforge.net/gar/?rev=18709&view=rev
Author: j_arndt
Date: 2012-07-12 08:29:47 +0000 (Thu, 12 Jul 2012)
Log Message:
-----------
nagios_plugins/trunk: added warning message about files with suid set
Modified Paths:
--------------
csw/mgar/pkg/nagios_plugins/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/nagios_plugins/trunk/files/README.CSW
Modified: csw/mgar/pkg/nagios_plugins/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nagios_plugins/trunk/Makefile 2012-07-11 14:20:19 UTC (rev 18708)
+++ csw/mgar/pkg/nagios_plugins/trunk/Makefile 2012-07-12 08:29:47 UTC (rev 18709)
@@ -10,9 +10,10 @@
Plugins for Nagios
endef
-SF_PROJ = nagiosplug
-MASTER_SITES = $(SF_MIRRORS)
-DISTFILES = $(NAME)-$(VERSION).tar.gz
+SF_PROJ = nagiosplug
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES = $(NAME)-$(VERSION).tar.gz
+DISTFILES += README.CSW
PACKAGES = CSWnagios-plugins
CATALOG_NAME_CSWnagios-plugins = nagios_plugins
@@ -28,6 +29,8 @@
REINPLACE_USRLOCAL += ChangeLog
REINPLACE_USRLOCAL += README
+POSTMSG += /opt/csw/share/doc/nagios-plugins/README.CSW
+
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --with-openssl=/opt/csw
CONFIGURE_ARGS += --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:/opt/csw/bin:/opt/csw/sbin
@@ -66,7 +69,7 @@
include gar/category.mk
-DOCS = BUGS ChangeLog FAQ README REQUIREMENTS SUPPORT COPYING
+DOCS = BUGS ChangeLog FAQ README REQUIREMENTS SUPPORT COPYING
DOCDEST = $(DESTDIR)$(docdir)/$(NAME)
ROOT_PLUGINS = check_dhcp check_icmp pst3
PLUGINDEST = $(DESTDIR)$(libexecdir)
@@ -75,6 +78,7 @@
@ginstall -m 755 -d $(DOCDEST)
@$(foreach DOC,$(DOCS),ginstall -m 644 $(WORKSRC)/$(DOC) $(DOCDEST);)
@ginstall -m 755 -d $(PLUGINDEST)
+ @ginstall -m 644 $(FILEDIR)/README.CSW $(DOCDEST)
@$(foreach PLUGIN,$(ROOT_PLUGINS),ginstall -m 4755 $(WORKSRC)/plugins-root/$(PLUGIN) $(PLUGINDEST);)
@( cd $(WORKSRC) ; tar cf contrib.tar contrib ; gzip contrib.tar)
@ginstall -m 755 -d $(DOCDEST)
Added: csw/mgar/pkg/nagios_plugins/trunk/files/README.CSW
===================================================================
--- csw/mgar/pkg/nagios_plugins/trunk/files/README.CSW (rev 0)
+++ csw/mgar/pkg/nagios_plugins/trunk/files/README.CSW 2012-07-12 08:29:47 UTC (rev 18709)
@@ -0,0 +1,14 @@
+
+=======================================================================
+
+The following files will run in root context and have suid permissions:
+
+ /opt/csw/libexec/nagios-plugins/pst3
+ /opt/csw/libexec/nagios-plugins/check_dhcp
+ /opt/csw/libexec/nagios-plugins/check_icmp
+
+If you don't like it, change the permissions / ownerships to your
+needs.
+
+=======================================================================
+
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