[Pkg-nagios-changes] [pkg-nrpe] 07/15: Remove obsolete patch

Alexander Wirt formorer at debian.org
Tue Jul 15 16:24:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

formorer pushed a commit to branch master
in repository pkg-nrpe.

commit 16dbf01b66afb1e0a5fa31ed7e4221d46d1e36d4
Author: Alexander Wirt <formorer at debian.org>
Date:   Tue Jul 15 10:12:07 2014 +0200

    Remove obsolete patch
---
 .../patches/01_nodevrandom-and-docoptions.dpatch   | 42 ----------------------
 1 file changed, 42 deletions(-)

diff --git a/debian/patches/01_nodevrandom-and-docoptions.dpatch b/debian/patches/01_nodevrandom-and-docoptions.dpatch
deleted file mode 100755
index a4c012a..0000000
--- a/debian/patches/01_nodevrandom-and-docoptions.dpatch
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_nodevrandom-and-docoptions.dpatch by  <seanius at localhost.localdomain>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-nrpe~/src/check_nrpe.c pkg-nrpe/src/check_nrpe.c
---- pkg-nrpe~/src/check_nrpe.c	2012-04-30 09:36:53.000000000 +0200
-+++ pkg-nrpe/src/check_nrpe.c	2012-04-30 09:45:36.129684439 +0200
-@@ -96,6 +96,9 @@
- 		printf(" [arglist]  = Optional arguments that should be passed to the command.  Multiple\n");
- 		printf("              arguments should be separated by a space.  If provided, this must be\n");
- 		printf("              the last option supplied on the command line.\n");
-+		printf(" -h,--help    Print this short help.\n");
-+		printf(" -l,--license Print licensing information.\n");
-+		printf(" -n,--no-ssl  Do not initiate an ssl handshake with the server, talk in plaintext.\n");
- 		printf("\n");
- 		printf("Note:\n");
- 		printf("This plugin requires that you have the NRPE daemon running on the remote host.\n");
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pkg-nrpe~/src/utils.c pkg-nrpe/src/utils.c
---- pkg-nrpe~/src/utils.c	2012-04-30 09:36:53.000000000 +0200
-+++ pkg-nrpe/src/utils.c	2012-04-30 09:48:03.811163608 +0200
-@@ -90,17 +90,7 @@
- 	   ends and the rest of the buffer (padded randomly) starts.
- 	***************************************************************/
- 
--	/* try to get seed value from /dev/urandom, as its a better source of entropy */
--	fp=fopen("/dev/urandom","r");
--	if(fp!=NULL){
--		seed=fgetc(fp);
--		fclose(fp);
--	        }
--
--	/* else fallback to using the current time as the seed */
--	else
--		seed=(int)time(NULL);
--
-+	seed=(int)time(NULL)*311-getpid()*359+getppid()*383;
- 	srand(seed);
- 	for(x=0;x<buffer_size;x++)
- 		buffer[x]=(int)'0'+(int)(72.0*rand()/(RAND_MAX+1.0));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nrpe.git



More information about the Pkg-nagios-changes mailing list