aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-02-18 03:31:10 +0800
committerfeld <feld@FreeBSD.org>2015-02-18 03:31:10 +0800
commitd4c9221350f940a15648cbc7399cb2db9a64682f (patch)
tree832e19a2159a0fa7a504ef35e809564dccbd2463 /net-mgmt
parent303064454ee99c04a477758c06cc7fef8b1b3913 (diff)
downloadfreebsd-ports-gnome-d4c9221350f940a15648cbc7399cb2db9a64682f.tar.gz
freebsd-ports-gnome-d4c9221350f940a15648cbc7399cb2db9a64682f.tar.zst
freebsd-ports-gnome-d4c9221350f940a15648cbc7399cb2db9a64682f.zip
Add patch to improve xymonproxy reliability on FreeBSD
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/xymon-server/Makefile2
-rw-r--r--net-mgmt/xymon-server/patch-xymonproxy_xymonproxy.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
index fc5ae4e946a5..2bac6c301a8a 100644
--- a/net-mgmt/xymon-server/Makefile
+++ b/net-mgmt/xymon-server/Makefile
@@ -2,7 +2,7 @@
PORTNAME= xymon
PORTVERSION= 4.3.18
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-mgmt www
MASTER_SITES= SF/xymon/Xymon/${PORTVERSION}
PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}
diff --git a/net-mgmt/xymon-server/patch-xymonproxy_xymonproxy.c b/net-mgmt/xymon-server/patch-xymonproxy_xymonproxy.c
new file mode 100644
index 000000000000..d40124e925c9
--- /dev/null
+++ b/net-mgmt/xymon-server/patch-xymonproxy_xymonproxy.c
@@ -0,0 +1,11 @@
+--- xymonproxy/xymonproxy.c.orig 2015-02-17 17:31:01 UTC
++++ xymonproxy/xymonproxy.c
+@@ -964,7 +964,7 @@ int main(int argc, char *argv[])
+ }
+
+ if (combining) {
+- selecttmo.tv_sec = 0; selecttmo.tv_usec = COMBO_DELAY;
++ selecttmo.tv_sec = 0; selecttmo.tv_usec = COMBO_DELAY / 1000;
+ }
+ else {
+ selecttmo.tv_sec = 1; selecttmo.tv_usec = 0;