Date: Mon, 11 Feb 2019 08:10:15 +0000 (UTC) From: Lars Engels <lme@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r492673 - in branches/2019Q1/net-mgmt/icinga2: . files Message-ID: <201902110810.x1B8AFsV005344@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lme Date: Mon Feb 11 08:10:15 2019 New Revision: 492673 URL: https://svnweb.freebsd.org/changeset/ports/492673 Log: MFH: r492434 net-mgmt/icinga2: - Cherrypick an upstream patch that fixes Icinga 2 restarts via API - Bump PORTREVISION Approved by: ports-secteam (joneum) Added: branches/2019Q1/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp - copied unchanged from r492434, head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp Modified: branches/2019Q1/net-mgmt/icinga2/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/net-mgmt/icinga2/Makefile ============================================================================== --- branches/2019Q1/net-mgmt/icinga2/Makefile Mon Feb 11 08:09:09 2019 (r492672) +++ branches/2019Q1/net-mgmt/icinga2/Makefile Mon Feb 11 08:10:15 2019 (r492673) @@ -3,7 +3,7 @@ PORTNAME= icinga2 DISTVERSIONPREFIX= v DISTVERSION= 2.10.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MAINTAINER= lme@FreeBSD.org Copied: branches/2019Q1/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp (from r492434, head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q1/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp Mon Feb 11 08:10:15 2019 (r492673, copy of r492434, head/net-mgmt/icinga2/files/patch-lib_base_tcpsocket.cpp) @@ -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?201902110810.x1B8AFsV005344>