aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2016-12-15 22:40:20 +0800
committerlme <lme@FreeBSD.org>2016-12-15 22:40:20 +0800
commit8eab433e05f4b8756f55a6f7f5d7ea95adcecfb6 (patch)
tree9ebc64edacde240dd0ea3c1d2672389236f06b0b /net-mgmt
parent5c4520514cce4599303b0c244678789b3cc350a2 (diff)
downloadfreebsd-ports-gnome-8eab433e05f4b8756f55a6f7f5d7ea95adcecfb6.tar.gz
freebsd-ports-gnome-8eab433e05f4b8756f55a6f7f5d7ea95adcecfb6.tar.zst
freebsd-ports-gnome-8eab433e05f4b8756f55a6f7f5d7ea95adcecfb6.zip
net-mgmt/icinga2:
- Ignore SIGPIPE in the rc script. This is a workaround for the bug described in https://dev.icinga.com/issues/13567 - Bump PORTREVISION
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/icinga2/Makefile1
-rw-r--r--net-mgmt/icinga2/files/icinga2.in5
2 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/icinga2/Makefile b/net-mgmt/icinga2/Makefile
index 21537a04d7bf..d303ce80c040 100644
--- a/net-mgmt/icinga2/Makefile
+++ b/net-mgmt/icinga2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= icinga2
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.0
+PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= lme@FreeBSD.org
diff --git a/net-mgmt/icinga2/files/icinga2.in b/net-mgmt/icinga2/files/icinga2.in
index 542f9abf112b..a74aaa3cb276 100644
--- a/net-mgmt/icinga2/files/icinga2.in
+++ b/net-mgmt/icinga2/files/icinga2.in
@@ -19,6 +19,11 @@
. /etc/rc.subr
+# XXX temporary workaround for a bug in Icinga 2. See
+# https://dev.icinga.org/issues/13567
+
+trap "" SIGPIPE
+
# Add /usr/local/bin to path, so that the notification scripts
# can work (#!/usr/bin/env bash)
export PATH=$PATH:%%LOCALBASE%%/bin