summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-11-25 17:37:37 +0000
committerMark Felder <feld@FreeBSD.org>2015-11-25 17:37:37 +0000
commit3caf0ad9bbcb5c8d21021467ed1671fb36b6d22e (patch)
tree1f209feb2d1c47d122e7ccd5464da796f9430362
parentb4970521eb7443dc91aff79c0b2a97e6cbd0ca4e (diff)
downloadfreebsd-ports-3caf0ad9bbcb5c8d21021467ed1671fb36b6d22e.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.
-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 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) */