[Pkg-nagios-changes] [pkg-nagios] r1662 - in nagios-plugins/trunk/debian: . patches

Jan Wagner waja at alioth.debian.org
Mon Jun 22 15:15:17 UTC 2009


tags 335871 pending
tags 425312 pending
tags 460405 pending
tags 494835 pending
tags 502529 pending
tags 521097 pending
tags 525307 pending
tags 530553 pending
thanks

Author: waja
Date: 2009-06-22 15:15:15 +0000 (Mon, 22 Jun 2009)
New Revision: 1662

Modified:
   nagios-plugins/trunk/debian/changelog
   nagios-plugins/trunk/debian/patches/00list
   nagios-plugins/trunk/debian/patches/13_subst.in_again.dpatch
   nagios-plugins/trunk/debian/patches/37_check_radius_nas-ip-address.dpatch
   nagios-plugins/trunk/debian/rules
Log:
adjust packaging for latest git upstream tree

Modified: nagios-plugins/trunk/debian/changelog
===================================================================
--- nagios-plugins/trunk/debian/changelog	2009-06-04 08:20:27 UTC (rev 1661)
+++ nagios-plugins/trunk/debian/changelog	2009-06-22 15:15:15 UTC (rev 1662)
@@ -1,12 +1,35 @@
-nagios-plugins (1.4.12-6) UNRELEASED; urgency=low
+nagios-plugins (1.4.13+git200906171200-1) UNRELEASED; urgency=low
 
+  * new upstream
+    - check_http doesn't enforce port (Closes: #494835)
+    - check_http --onredirect=sticky follows using the same IP address
+      (Closes: #502529)
+    - Fixed buffer overflow in check_ntp/check_ntp_peer (Closes: #528686)
+    - Fixed check_mrtg returning UNKNOWN instead of OK (Closes: #335871)
+    - Fixed check_by_ssh interpretation of quotes in -C parameter
+      (Closes: #425312)
+    - Fixed coredump from check_nt when drive not found (Closes: #521097)
+    - Removed -n option in check_smtp's help and usage output (Closes: #525307)
+    - Fixed check_icmp --help output for warn and critical thresholds
+      (Closes: #530553)
+    - Fix potential buffer overflow in check_snmp - enforce MAX_OIDS limit
+      (Closes: #460405)
+  * adjusted the following patches for new upstream
+    - 13_subst.in_again.dpatch
+    - 37_check_radius_nas-ip-address.dpatch
+  * removed the following patches from 00list cause they where integrated
+    - 39_check_dig_options.dpatch
+    - 40_check_http_status_line.dpatch
+    - 41_check_http_fix_http_header.dpatch
+    - 42_check_ups_logoutfix.dpatch
+    - 43_check_ntp_segfaults.dpatch
+    - 50_misc_typos.dpatch
   * add trailing $ to check_httpname, thanks Daniel Pocock (Closes: #524629)
   * add informations into README.Debian how to use plugins (Closes: #525168)
   * add check_nscp which uses the default port of NSClient++ (Closes: #528262)
   * providing some explanation about predefined check commands in README.Debian
   * pointing to README.Debian in nt.cfg
-  * add 43_check_ntp_segfaults.dpatch to fix buffer overflow in check_ntp and
-    check_ntp_peer, thanks to Andreas Olsson (Closes: #528686)
+  * add 'make install-root' to debian/rules to get suid plugins installed again
 
  -- Jan Wagner <waja at cyconet.org>  Sun, 01 Feb 2009 03:19:57 +0100
 

Modified: nagios-plugins/trunk/debian/patches/00list
===================================================================
--- nagios-plugins/trunk/debian/patches/00list	2009-06-04 08:20:27 UTC (rev 1661)
+++ nagios-plugins/trunk/debian/patches/00list	2009-06-22 15:15:15 UTC (rev 1662)
@@ -13,9 +13,3 @@
 36_check_ldap_empty_base.dpatch
 37_check_radius_nas-ip-address.dpatch
 38_fix_libexec.dpatch
-39_check_dig_options.dpatch
-40_check_http_status_line.dpatch
-41_check_http_fix_http_header.dpatch
-42_check_ups_logoutfix.dpatch
-43_check_ntp_segfaults.dpatch
-50_misc_typos.dpatch

Modified: nagios-plugins/trunk/debian/patches/13_subst.in_again.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/13_subst.in_again.dpatch	2009-06-04 08:20:27 UTC (rev 1661)
+++ nagios-plugins/trunk/debian/patches/13_subst.in_again.dpatch	2009-06-22 15:15:15 UTC (rev 1662)
@@ -4,31 +4,10 @@
 ## DP: Use /usr/lib/nagios/plugins as path.
 
 @DPATCH@
-diff -urNad sid2~/plugins-scripts/subst.in sid2/plugins-scripts/subst.in
---- sid2~/plugins-scripts/subst.in	2005-08-31 00:11:42.000000000 +0200
-+++ sid2/plugins-scripts/subst.in	2005-10-07 22:37:45.000000000 +0200
-@@ -1,35 +1,9 @@
- #!/usr/bin/awk
- 
--function which(c,path) {
--	cmd = "test -x " c;
--
--	if (system(cmd)==0) {
--		return c;
--	} 
--
--	sub(/\/.*\//,"",c);
--  for (dir in path) {
--			cmd = "test -x " path[dir] "/" c;
--			if (system(cmd)==0) {
--					return path[dir] "/" c;
--			} 
--	}
--
--
--	return c;
--}
--
+diff -urNad nagios-plugins-1.4.13+git200906171200~/plugins-scripts/subst.in nagios-plugins-1.4.13+git200906171200/plugins-scripts/subst.in
+--- nagios-plugins-1.4.13+git200906171200~/plugins-scripts/subst.in	2009-05-20 06:44:12.000000000 +0200
++++ nagios-plugins-1.4.13+git200906171200/plugins-scripts/subst.in	2009-06-22 17:08:55.000000000 +0200
+@@ -22,14 +22,7 @@
  # used to replace "use lib utils.pm" with "use lib @libexecdir"
  #
  function led() {
@@ -44,20 +23,3 @@
  }
  
  BEGIN {
-@@ -58,16 +32,6 @@
- 	sub(/\=.*$/,"='@with_trusted_path@' # autoconf-derived");
- }
- 
--# If a script contains a reference to a fully qualified command, 
--# subst will replace the fully qualified command with whatever is
--# returned from the which subroutine
--#
--/^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// {
--	match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
--	c=substr($0,RSTART,RLENGTH);
--	sub(c,which(c,path));
--}
--
- {
- 	print;
- }

Modified: nagios-plugins/trunk/debian/patches/37_check_radius_nas-ip-address.dpatch
===================================================================
--- nagios-plugins/trunk/debian/patches/37_check_radius_nas-ip-address.dpatch	2009-06-04 08:20:27 UTC (rev 1661)
+++ nagios-plugins/trunk/debian/patches/37_check_radius_nas-ip-address.dpatch	2009-06-22 15:15:15 UTC (rev 1662)
@@ -5,10 +5,10 @@
 ## DP: add nas-ip-address option
 
 @DPATCH@
-diff -urNad nagios-plugins-1.4.12~/plugins/check_radius.c nagios-plugins-1.4.12/plugins/check_radius.c
---- nagios-plugins-1.4.12~/plugins/check_radius.c	2008-06-06 15:00:49.000000000 +0200
-+++ nagios-plugins-1.4.12/plugins/check_radius.c	2008-06-06 15:02:33.000000000 +0200
-@@ -73,6 +73,7 @@
+diff -urNad nagios-plugins-1.4.13+git200906171632~/plugins/check_radius.c nagios-plugins-1.4.13+git200906171632/plugins/check_radius.c
+--- nagios-plugins-1.4.13+git200906171632~/plugins/check_radius.c	2009-06-17 22:33:18.000000000 +0200
++++ nagios-plugins-1.4.13+git200906171632/plugins/check_radius.c	2009-06-17 22:46:08.000000000 +0200
+@@ -69,6 +69,7 @@
  char *username = NULL;
  char *password = NULL;
  char *nasid = NULL;
@@ -16,7 +16,7 @@
  char *expect = NULL;
  char *config_file = NULL;
  unsigned short port = PW_AUTH_UDP_PORT;
-@@ -173,19 +174,26 @@
+@@ -169,19 +170,26 @@
  	memset (&data, 0, sizeof(data));
  	if (!(my_rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&
  				my_rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) &&
@@ -26,8 +26,8 @@
 +				))
  		die (STATE_UNKNOWN, _("Out of Memory?"));
  
--	/* 
--	 * Fill in NAS-IP-Address 
+-	/*
+-	 * Fill in NAS-IP-Address
 -	 */
 -
 -	if ((client_id = my_rc_own_ipaddress ()) == 0)
@@ -53,7 +53,7 @@
  
  	my_rc_buildreq (&data, PW_ACCESS_REQUEST, server, port, (int)timeout_interval,
  	             retries);
-@@ -223,6 +231,7 @@
+@@ -219,6 +227,7 @@
  		{"username", required_argument, 0, 'u'},
  		{"password", required_argument, 0, 'p'},
  		{"nas-id", required_argument, 0, 'n'},
@@ -61,7 +61,7 @@
  		{"filename", required_argument, 0, 'F'},
  		{"expect", required_argument, 0, 'e'},
  		{"retries", required_argument, 0, 'r'},
-@@ -234,7 +243,7 @@
+@@ -230,7 +239,7 @@
  	};
  
  	while (1) {
@@ -70,7 +70,7 @@
  									 &option);
  
  		if (c == -1 || c == EOF || c == 1)
-@@ -279,6 +288,9 @@
+@@ -275,6 +284,9 @@
  		case 'n':									/* nas id */
  			nasid = optarg;
  			break;
@@ -80,7 +80,7 @@
  		case 'F':									/* configuration file */
  			config_file = optarg;
  			break;
-@@ -342,6 +354,8 @@
+@@ -338,6 +350,8 @@
    printf ("    %s\n", _("Password for autentication (SECURITY RISK)"));
    printf (" %s\n", "-n, --nas-id=STRING");
    printf ("    %s\n", _("NAS identifier"));
@@ -89,7 +89,7 @@
    printf (" %s\n", "-F, --filename=STRING");
    printf ("    %s\n", _("Configuration file"));
    printf (" %s\n", "-e, --expect=STRING");
-@@ -377,8 +391,9 @@
+@@ -373,8 +387,9 @@
  print_usage (void)
  {
    printf (_("Usage:"));

Modified: nagios-plugins/trunk/debian/rules
===================================================================
--- nagios-plugins/trunk/debian/rules	2009-06-04 08:20:27 UTC (rev 1661)
+++ nagios-plugins/trunk/debian/rules	2009-06-22 15:15:15 UTC (rev 1662)
@@ -130,6 +130,7 @@
 
 	# Add here commands to install the package into debian/nagios-plugins.
 	$(MAKE) install DESTDIR=${NP_BASIC_DIR}
+	$(MAKE) install-root DESTDIR=${NP_BASIC_DIR}
 	chmod 644 ${NP_BASIC_DIR}/usr/lib/nagios/plugins/utils.pm
 	# split up basic vs. standard plugins
 	for p in ${std_plugins}; do \




More information about the Pkg-nagios-changes mailing list