openbsd-ports/net/zabbix/patches/patch-misc_conf_zabbix_proxy_conf
ajacoutot f863d50f38 SECURITY
Secunia Advisory SA39119: Zabbix PHP Frontend "user" SQL Injection Vulnerability

Update zabbix to version 1.8.2.
Set FULLPKG{NAME,PATH} for the -web subpackage as it is database
independant do we don't need a flavored pkg.

"go ahead" sthen, ok jasper@
2010-04-09 10:17:59 +00:00

62 lines
1.5 KiB
Plaintext

$OpenBSD: patch-misc_conf_zabbix_proxy_conf,v 1.4 2010/04/09 10:17:59 ajacoutot Exp $
--- misc/conf/zabbix_proxy.conf.orig Mon Mar 29 19:22:44 2010
+++ misc/conf/zabbix_proxy.conf Fri Apr 9 10:23:05 2010
@@ -55,8 +55,6 @@ Server=127.0.0.1
# Default:
# LogFile=
-LogFile=/tmp/zabbix_proxy.log
-
### Option: LogFileSize
# Maximum size of log file in MB.
# 0 - disable automatic log rotation.
@@ -85,6 +83,7 @@ LogFile=/tmp/zabbix_proxy.log
# Mandatory: no
# Default:
# PidFile=/tmp/zabbix_proxy.pid
+PidFile=/var/run/zabbix/zabbix_proxy.pid
### Option: DBHost
# Database host name.
@@ -110,7 +109,7 @@ DBName=zabbix
# Default:
# DBUser=
-DBUser=root
+DBUser=zabbix
### Option: DBPassword
# Database password. Ignored for SQLite.
@@ -126,6 +125,7 @@ DBUser=root
# Mandatory: no
# Default:
# DBSocket=/tmp/mysql.sock
+DBSocket=/var/www/var/run/mysql/mysql.sock
# Option: DBPort
# Database port when not using local socket. Ignored for SQLite.
@@ -359,6 +359,7 @@ DBUser=root
# Mandatory: no
# Default:
# ExternalScripts=/etc/zabbix/externalscripts
+ExternalScripts=${SYSCONFDIR}/zabbix/externalscripts
### Option: FpingLocation
# Location of fping.
@@ -367,6 +368,7 @@ DBUser=root
# Mandatory: no
# Default:
# FpingLocation=/usr/sbin/fping
+FpingLocation=${LOCALBASE}/sbin/fping
### Option: Fping6Location
# Location of fping6.
@@ -376,6 +378,7 @@ DBUser=root
# Mandatory: no
# Default:
# Fping6Location=/usr/sbin/fping6
+FpingLocation=${LOCALBASE}/sbin/fping6
### Option: SSHKeyLocation
# Location of public keys for SSH checks