Date: Fri, 8 Feb 2019 13:28:56 +0000 (UTC) From: Lars Engels <lme@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492434 - in head/net-mgmt/icinga2: . files Message-ID: <201902081328.x18DSu8U089041@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lme Date: Fri Feb 8 13:28:56 2019 New Revision: 492434 URL: https://svnweb.freebsd.org/changeset/ports/492434 Log: net-mgmt/icinga2: - Cherrypick an upstream patch that fixes Icinga 2 restarts via API - Bump PORTREVISION MFH: 2019Q1 Added: head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp (contents, props changed) Modified: head/net-mgmt/icinga2/Makefile Modified: head/net-mgmt/icinga2/Makefile ============================================================================== --- head/net-mgmt/icinga2/Makefile Fri Feb 8 13:06:13 2019 (r492433) +++ head/net-mgmt/icinga2/Makefile Fri Feb 8 13:28:56 2019 (r492434) @@ -3,7 +3,7 @@ PORTNAME= icinga2 DISTVERSIONPREFIX= v DISTVERSION= 2.10.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= lme@FreeBSD.org Added: head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp Fri Feb 8 13:28:56 2019 (r492434) @@ -0,0 +1,12 @@ +--- lib/base/tcpsocket.cpp.orig 2019-02-08 13:14:32 UTC ++++ lib/base/tcpsocket.cpp +@@ -91,6 +91,9 @@ void TcpSocket::Bind(const String& node, const String& + + const int optTrue = 1; + setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, reinterpret_cast<const char *>(&optTrue), sizeof(optTrue)); ++#ifndef _WIN32 ++ setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, reinterpret_cast<const char *>(&optTrue), sizeof(optTrue)); ++#endif /* _WIN32 */ + + int rc = bind(fd, info->ai_addr, info->ai_addrlen); +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902081328.x18DSu8U089041>