net-mgmt/nsca-ng: 1.2 -> 1.4

Changes:
  http://www.nsca-ng.org/documentation/changelog.txt

PR:		206452
Submitted by:	jochen@jochen-neumeister.de
Approved by:	alexander@sulfrian.net (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2016-02-16 05:33:18 +00:00
parent 174ce02e93
commit 5fba8d5b54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408975
3 changed files with 3 additions and 19 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nsca-ng
PORTVERSION= 1.2
PORTVERSION= 1.4
CATEGORIES= net-mgmt
MASTER_SITES= https://www.nsca-ng.org/download/ http://www.nsca-ng.org/download/

View file

@ -1,2 +1,2 @@
SHA256 (nsca-ng-1.2.tar.gz) = fd0edf7a3c4da46aff5321bf005c68853dad5bae0b889e5e42336e85cb7a24e7
SIZE (nsca-ng-1.2.tar.gz) = 327702
SHA256 (nsca-ng-1.4.tar.gz) = 25f8e0439104e72443325e5f2503ed39329dccb7928de162dbb7fe6df7196a29
SIZE (nsca-ng-1.4.tar.gz) = 354012

View file

@ -1,16 +0,0 @@
--- src/server/nsca-ng.c.orig 2013-11-06 21:44:18 UTC
+++ src/server/nsca-ng.c
@@ -300,11 +300,9 @@ close_descriptors(void)
int min_fd = STDERR_FILENO + 1;
#if HAVE_CLOSEFROM /* BSD and Solaris. */
- if (closefrom(min_fd) == -1)
- die("Cannot close file descriptors >= %d: %m", min_fd);
+ (void)closefrom(min_fd);
#elif defined(F_CLOSEM) /* AIX and IRIX. */
- if (fcntl(min_fd, F_CLOSEM, 0) == -1)
- die("Cannot close file descriptors >= %d: %m", min_fd);
+ (void)fcntl(min_fd, F_CLOSEM, 0);
#else
int max_fd = MIN(sysconf(_SC_OPEN_MAX), /* Arbitrary limit: */ 1048576);
int fd;