From 3caf0ad9bbcb5c8d21021467ed1671fb36b6d22e Mon Sep 17 00:00:00 2001 From: Mark Felder <feld@FreeBSD.org> Date: Wed, 25 Nov 2015 17:37:37 +0000 Subject: net-mgmt/xymon-server: Remove httpresult patch Upstream has confirmed they do not intend to revert the change to the httpresult categorization which resulted in 301 Permanent redirects being classfied as Yellow (warning) instead of Green (ok) The logic is that a 301 redirect is a permanent redirect and you should not be monitoring it but the actual content it is redirecting to. The old behavior existed for many years, but is considered faulty logic. If you have "yellow" surprises on your dashboard, please fix your monitoring targets. I do not wish to divert FreeBSD's Xymon behavior from upstream's intentions. --- net-mgmt/xymon-server/Makefile | 2 +- net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c (limited to 'net-mgmt') diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile index d978c2910d23..2854f0343781 100644 --- a/net-mgmt/xymon-server/Makefile +++ b/net-mgmt/xymon-server/Makefile @@ -2,7 +2,7 @@ PORTNAME= xymon PORTVERSION= 4.3.24 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= SF/xymon/Xymon/${PORTVERSION} PKGNAMESUFFIX= -server${PKGNAMESUFFIX2} diff --git a/net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c b/net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c deleted file mode 100644 index d9c81afa9c89..000000000000 --- a/net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c +++ /dev/null @@ -1,10 +0,0 @@ ---- xymonnet/httpresult.c.orig 2015-11-24 15:59:24 UTC -+++ xymonnet/httpresult.c -@@ -44,6 +44,7 @@ static int statuscolor(testedhost_t *h, - - switch(status) { - case 200: /* OK - most common case */ -+ case 301: /* Permanent Redirect */ - case 302: /* Temp Redirect */ - case 303: /* See Other */ - case 307: /* Temp Redirect (HTTP 1.1) */ -- cgit v1.2.3