aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-11-26 01:37:37 +0800
committerfeld <feld@FreeBSD.org>2015-11-26 01:37:37 +0800
commit4e324a158dc246268a9f0466132b5d1134b2d33d (patch)
tree1f209feb2d1c47d122e7ccd5464da796f9430362 /net-mgmt
parent06a177d3d945f0a696de82242f6c063b2dd6ee6e (diff)
downloadfreebsd-ports-graphics-4e324a158dc246268a9f0466132b5d1134b2d33d.tar.gz
freebsd-ports-graphics-4e324a158dc246268a9f0466132b5d1134b2d33d.tar.zst
freebsd-ports-graphics-4e324a158dc246268a9f0466132b5d1134b2d33d.zip
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.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/xymon-server/Makefile2
-rw-r--r--net-mgmt/xymon-server/files/patch-xymonnet_httpresult.c10
2 files changed, 1 insertions, 11 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index d978c2910d2..2854f034378 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 d9c81afa9c8..00000000000
--- 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) */