From owner-svn-ports-head@freebsd.org Wed Nov 1 11:48:34 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0174DE58D42; Wed, 1 Nov 2017 11:48:34 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C58416AF6F; Wed, 1 Nov 2017 11:48:33 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA1BmWWe081438; Wed, 1 Nov 2017 11:48:32 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA1BmW1N081436; Wed, 1 Nov 2017 11:48:32 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201711011148.vA1BmW1N081436@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Wed, 1 Nov 2017 11:48:32 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/net-mgmt/nsca: . files X-SVN-Commit-Revision: 453279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 11:48:34 -0000 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