aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix2-server/files
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-10-15 01:26:35 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-10-15 01:26:35 +0000
commita62c6c03949509b0df9a8548802d2e2894e541eb (patch)
tree4e272b19a12d305a56efa873aa5dd44a2567563c /net-mgmt/zabbix2-server/files
parent4ed9440d08766a083c6a3f6f94e3337790e70c94 (diff)
downloadports-a62c6c03949509b0df9a8548802d2e2894e541eb.tar.gz
ports-a62c6c03949509b0df9a8548802d2e2894e541eb.zip
Notes
Diffstat (limited to 'net-mgmt/zabbix2-server/files')
-rw-r--r--net-mgmt/zabbix2-server/files/patch-create-data-data.sql13
-rw-r--r--net-mgmt/zabbix2-server/files/patch-src_libs_zbxcomms_comms.c24
2 files changed, 13 insertions, 24 deletions
diff --git a/net-mgmt/zabbix2-server/files/patch-create-data-data.sql b/net-mgmt/zabbix2-server/files/patch-create-data-data.sql
new file mode 100644
index 000000000000..78be5949c224
--- /dev/null
+++ b/net-mgmt/zabbix2-server/files/patch-create-data-data.sql
@@ -0,0 +1,13 @@
+--- create/data/data.sql.orig 2011-08-04 09:48:23.785558036 -0500
++++ create/data/data.sql 2011-08-04 09:48:41.277736192 -0500
+@@ -27,8 +27,8 @@
+ -- Dumping data for table `scripts`
+ --
+
+-INSERT INTO scripts VALUES (1,'Ping','/bin/ping -c 3 {HOST.CONN}',2,0,0);
+-INSERT INTO scripts VALUES (2,'Traceroute','/usr/bin/traceroute {HOST.CONN}',2,0,0);
++INSERT INTO scripts VALUES (1,'Ping','/sbin/ping -c 3 {HOST.CONN}',2,0,0);
++INSERT INTO scripts VALUES (2,'Traceroute','/usr/sbin/traceroute {HOST.CONN}',2,0,0);
+
+ --
+ -- Dumping data for table `users`
diff --git a/net-mgmt/zabbix2-server/files/patch-src_libs_zbxcomms_comms.c b/net-mgmt/zabbix2-server/files/patch-src_libs_zbxcomms_comms.c
deleted file mode 100644
index 4388356b9f25..000000000000
--- a/net-mgmt/zabbix2-server/files/patch-src_libs_zbxcomms_comms.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/libs/zbxcomms/comms.c.orig 2011-04-15 14:17:29.000000000 -0500
-+++ src/libs/zbxcomms/comms.c 2011-04-22 09:47:38.403907930 -0500
-@@ -756,19 +756,14 @@
- ip ? ip : "-", port, zbx_sock_last_error(), strerror_from_system(zbx_sock_last_error()));
- }
-
--#if defined(IPV6_V6ONLY)
--#ifdef _WINDOWS
-+#if defined(IPPROTO_IPV6) && defined(IPV6_V6ONLY)
- if (PF_INET6 == current_ai->ai_family &&
- ZBX_TCP_ERROR == setsockopt(s->sockets[s->num_socks], IPPROTO_IPV6, IPV6_V6ONLY, (void *)&on, sizeof(on)))
--#else
-- if (PF_INET6 == current_ai->ai_family &&
-- ZBX_TCP_ERROR == setsockopt(s->sockets[s->num_socks], SOL_IPV6, IPV6_V6ONLY, (void *)&on, sizeof(on)))
--#endif
- {
- zbx_set_tcp_strerror("setsockopt() with IPV6_V6ONLY for [[%s]:%s] failed with error %d: %s",
- ip ? ip : "-", port, zbx_sock_last_error(), strerror_from_system(zbx_sock_last_error()));
- }
--#endif /* IPV6_V6ONLY */
-+#endif
-
- if (ZBX_TCP_ERROR == bind(s->sockets[s->num_socks], current_ai->ai_addr, current_ai->ai_addrlen))
- {