<pre style='margin:0'>
Eric A. Borisch (eborisch) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/59dd91d3cd5a41100bcd8d9aa1f92bfc35da3964">https://github.com/macports/macports-ports/commit/59dd91d3cd5a41100bcd8d9aa1f92bfc35da3964</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 59dd91d3cd5 zabbix4/5: Add 5; focus on LTS and updated DBs. (#8253)
</span>59dd91d3cd5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 59dd91d3cd5a41100bcd8d9aa1f92bfc35da3964
</span>Author: Eric A. Borisch <eborisch@macports.org>
AuthorDate: Fri Jan 15 09:16:44 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> zabbix4/5: Add 5; focus on LTS and updated DBs. (#8253)
</span>---
net/zabbix4/Portfile | 178 ++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 108 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/zabbix4/Portfile b/net/zabbix4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9c5331dd5e7..c20732e0244 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/zabbix4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/zabbix4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,13 +20,15 @@ long_description Zabbix is the ultimate open source availability and \
</span> of the best commercial ones.
array set VERSIONS {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 4 4.0.20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4 4.0.27
</span> 42 4.2.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 44 4.4.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 44 4.4.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5 5.0.7
</span> }
set zver [regsub -all {[^\d]} ${subport} {}]
version $VERSIONS(${zver})
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set zbranch [regsub {\.\d+$} ${version} {}]
</span>
distname zabbix-${version}
livecheck.name zabbix
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,57 +37,55 @@ livecheck.url \
</span> https://www.zabbix.com/download_sources
homepage http://www.zabbix.com/
master_sites \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- https://cdn.zabbix.com/stable/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://cdn.zabbix.com/zabbix/sources/stable/${zbranch}
</span>
dist_subdir zabbix${zver}
if {$zver == 4} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "zabbix-(4\.0\.\[0-9\]+).tar.gz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "zabbix-(4\\.0\\.\[0-9\]+).tar.gz"
</span> checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 d58810b19d55b7d81de9924bef8cd5276d3001f3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7c401f2cbe0b76882b1a65f7de82422ac39e544039f6cf6ab5b1b85c23e9d840 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 17215217
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 4d0cc3112ff7d38751c363f117b77014a0b60c99 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d9fcc829a99b0dfb2905c138566eaa1828a2e04637fd38842ba81b433e9bab3a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 17426383
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {$zver == 42} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "zabbix-(4\.2\.\[0-9\]+).tar.gz"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 6108c446e0c92c7388b7eaf31b9fd628b15c06e4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 57dbc2a95a09581b5196d2abc86ee1aaf65f3c909d6b4bc53d260dc4dd69b9c6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 18332348
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$zver == 42 || $zver == 44} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # REMOVE JANUARY 2022
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by zabbix5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {$zver == 44} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "zabbix-(4\.4\.\[0-9\]+).tar.gz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {$zver == 5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex "zabbix-(5\\.0\\.\[0-9\]+).tar.gz"
</span> checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 f2814c77fa6703bb80f25f891b9832570c63079b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c0562245c75fc86c2c22d9a8e521c147dea832056b869d27488ea6130a253651 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 19457802
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 162d6e709ff9398ab45f7607775925c8f80b470f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d762f8a9aa9e8717d2e85d2a82d27316ea5c2b214eb00aff41b6e9b06107916a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 19382483
</span> }
patchfiles log_and_pid_locations.patch
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix42 {conflicts zabbix4 zabbix44}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix44 {conflicts zabbix4 zabbix42}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix4-agent {conflicts zabbix42-agent zabbix44-agent}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix42-agent {conflicts zabbix4-agent zabbix44-agent}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix44-agent {conflicts zabbix4-agent zabbix42-agent}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix4-frontend {conflicts zabbix42-frontend \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zabbix44-frontend}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix42-frontend {conflicts zabbix4-frontend \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zabbix44-frontend}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport zabbix44-frontend {conflicts zabbix4-frontend \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zabbix42-frontend}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# LTS Versions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix4 {conflicts zabbix5}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix5 {conflicts zabbix4}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix4-agent {conflicts zabbix5-agent}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix5-agent {conflicts zabbix4-agent}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix4-frontend {conflicts zabbix5-frontend}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix5-frontend {conflicts zabbix4-frontend}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix42 {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix44 {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix42-agent {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix44-agent {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix42-frontend {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport zabbix44-frontend {}
</span>
proc isFlavor {desc subp} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[string first ${desc} ${subp}] >= 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return [expr {[string first ${desc} ${subp}] >= 0}]
</span> }
configure.args --bindir=${prefix}/bin/zabbix \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -111,7 +111,7 @@ if {![isFlavor frontend ${subport}]} {
</span>
if {[isFlavor agent ${subport}]} {
long_description-append "\n * ${subport} provides a local monitoring agent."
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts-append zabbix2-agent zabbix3-agent
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append zabbix3-agent
</span> startupitem.name zabbix${zver}-agentd
startupitem.executable \
${prefix}/sbin/zabbix/zabbix_agentd \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -139,7 +139,13 @@ if {[isFlavor agent ${subport}]} {
</span> variant nls description "Include translation files." {
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach php {php56 php70 php71 php72 php73} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [vercmp $version 5.0.0 ] < 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set phplist {php56 php74}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set phplist {php74}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach php "${phplist}" {
</span> variant ${php} description "Use ${php}" "
depends_run-append port:${php} \
port:${php}-apache2handler \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -150,11 +156,8 @@ if {[isFlavor agent ${subport}]} {
</span> "
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset php56] && ![variant_isset php70]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && ![variant_isset php71]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && ![variant_isset php72]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- && ![variant_isset php73]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +php73
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset php56] && ![variant_isset php74]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +php74
</span> }
use_configure no
build {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -213,28 +216,14 @@ if {![isFlavor agent ${subport}]} {
</span> # Logic for database backends. Needed for -frontend and -server
# Items are "display name" "port name" "config arg" "php interface"
array set DBLIST {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql5 {"MySQL 5.x" mysql5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql=${prefix}/lib/mysql5/bin/mysql_config mysql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql56 {"MySQL 5.6" mysql56 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql=${prefix}/lib/mysql56/bin/mysql_config mysql}
</span> mysql57 {"MySQL 5.7" mysql57 \
mysql=${prefix}/lib/mysql57/bin/mysql_config mysql}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- mariadb {"MariaDB" mariadb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql=${prefix}/lib/mariadb/bin/mysql_config mysql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mariadb101 {"MariaDB 10.1" mariadb-10.1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql=${prefix}/lib/mariadb-10.1/bin/mysql_config mysql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mariadb102 {"MariaDB 10.2" mariadb-10.2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- mysql=${prefix}/lib/mariadb-10.2/bin/mysql_config mysql}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mariadb105 {"MariaDB 10.5" mariadb-10.5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mysql=${prefix}/lib/mariadb-10.5/bin/mysql_config mysql}
</span> percona {"Percona" percona \
mysql=${prefix}/lib/percona/bin/mysql_config mysql}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- pgsql84 {"PostgreSQL 8.4.x" postgresql84 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- postgresql=${prefix}/lib/postgresql84/bin/pg_config postgresql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pgsql95 {"PostgreSQL 9.5.x" postgresql95 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- postgresql=${prefix}/lib/postgresql95/bin/pg_config postgresql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pgsql96 {"PostgreSQL 9.6.x" postgresql96 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- postgresql=${prefix}/lib/postgresql96/bin/pg_config postgresql}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sqlite3 {"SQLite 3.x" sqlite3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sqlite3=${prefix} sqlite}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pgsql13 {"PostgreSQL 13.x" postgresql13 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql=${prefix}/lib/postgresql13/bin/pg_config postgresql}
</span> }
set DBLIST_KEYS [lsort [array names DBLIST]]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -254,54 +243,28 @@ if {![isFlavor agent ${subport}]} {
</span> configure.args-append --with-[lindex ${prms} 2]
if {[isFlavor frontend ${subport}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset php56]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php56-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [vercmp $version 5.0.0 ] < 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset php56]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php56-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset php70]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset php74]} {
</span> depends_run-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php70-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset php71]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php71-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset php72]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php72-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset php73]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:php73-[lindex ${prms} 3]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:php74-[lindex ${prms} 3]
</span> }
} else {
depends_lib-append port:[lindex ${prms} 1]
require_active_variants port:zabbix${zver}-agent ${dbitem}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[string compare ${dbitem} sqlite3] && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [variant_isset full_server]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:[lindex ${prms} 1]-server
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> "
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset mysql5] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mysql56] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mysql57] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb101] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset mariadb102] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset mysql57] &&
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset mariadb105] &&
</span> ![variant_isset percona] &&
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset pgsql84] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset pgsql95] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset pgsql96] &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset sqlite3]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset pgsql13]} {
</span> default_variants +mysql57
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -344,7 +307,11 @@ post-destroot {
</span> # Copy the front end files
set fedir ${destroot}${prefix}/share/zabbix/frontends
file mkdir ${fedir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/frontends/php/ ${fedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$zver == 5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/ui/ ${fedir}/php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/frontends/php/ ${fedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
system -W ${fedir} "find . -type f -name *.po -delete"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -431,7 +398,7 @@ if {[isFlavor agent ${subport}]} {
</span> post_max_size = 16M
date.timezone = < Your TZ; see http://php.net/manual/en/timezones.php >
<span style='display:block; white-space:pre;background:#ffe0e0;'>- And for php56:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ And for >= php56:
</span> always_populate_raw_post_data = -1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -453,10 +420,10 @@ if {[isFlavor agent ${subport}]} {
</span> (Installing with +full_server will add all of the dependants; configuration
will still be required.)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-1) Setup MySQL, i.e. via MacPorts: (for local MySQL server)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sudo port install mysql5-server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+1) Setup your SQL server, i.e. via MacPorts: (for local SQL server; can be on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a separate system.)
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ sudo port install mysql5-server (or mariadb...)
</span>
2) Setup the ZABBIX database
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -476,22 +443,17 @@ if {[isFlavor agent ${subport}]} {
</span> DBName=zabbix
DBUser=zabbix
DBPassword=<zabbix-mysql-password>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- DBSocket=<location for your active mysql5\[15\] server socket>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Typically ${prefix}/var/run/mysql\[51|55\]/mysqld.sock
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DBSocket=<location for your active sql server socket>
</span>
4) Set zabbix_server to run at system boot (also starts it immediately):
sudo port load zabbix${zver}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> 5) Read the fine manual at http://www.zabbix.com/documentation/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> #### End ZABBIX${zver} local server installation section ####
#### ####
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! ZABBIX${zver} Server Version Upgrade process
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
</pre><pre style='margin:0'>
</pre>