Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2017 11:48:32 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453279 - in head/net-mgmt/nsca: . files
Message-ID:  <201711011148.vA1BmW1N081436@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed Nov  1 11:48:32 2017
New Revision: 453279
URL: https://svnweb.freebsd.org/changeset/ports/453279

Log:
  net-mgmt/nsca: Add patch to prevent crashing on FreeBSD
  
  PR:		218879
  Approved by:	maintainer timeout
  MFH:		2017Q4

Added:
  head/net-mgmt/nsca/files/patch-src_nsca.c   (contents, props changed)
Modified:
  head/net-mgmt/nsca/Makefile

Modified: head/net-mgmt/nsca/Makefile
==============================================================================
--- head/net-mgmt/nsca/Makefile	Wed Nov  1 11:41:32 2017	(r453278)
+++ head/net-mgmt/nsca/Makefile	Wed Nov  1 11:48:32 2017	(r453279)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nsca
 PORTVERSION=	2.9.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF/nagios/nsca-2.x/nsca-${PORTVERSION}
 

Added: head/net-mgmt/nsca/files/patch-src_nsca.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/nsca/files/patch-src_nsca.c	Wed Nov  1 11:48:32 2017	(r453279)
@@ -0,0 +1,11 @@
+--- src/nsca.c.orig	2017-04-20 16:25:28 UTC
++++ src/nsca.c
+@@ -917,7 +917,7 @@ static void accept_connection(int sock, 
+ 				return;
+ 
+ 			/* try and handle temporary errors */
+-			if(errno==EWOULDBLOCK || errno==EINTR || errno==ECHILD){
++			if(errno==EWOULDBLOCK || errno==EINTR || errno==ECHILD || errno==ECONNABORTED){
+ 				if(mode==MULTI_PROCESS_DAEMON)
+ 					sleep(1);
+ 				else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711011148.vA1BmW1N081436>