diff options
author | rm <rm@FreeBSD.org> | 2013-08-31 13:33:55 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2013-08-31 13:33:55 +0800 |
commit | d8980ae45eaf5a297e1d2e9a73fb5a34eb5087ad (patch) | |
tree | 1dfe8f5006bcfca1ac3cf0c7824da2aeeaeb6f15 /net-mgmt/zabbix2-server | |
parent | 36d0177affe9eb9e9585bc161b7c039f9db3c95d (diff) | |
download | freebsd-ports-gnome-d8980ae45eaf5a297e1d2e9a73fb5a34eb5087ad.tar.gz freebsd-ports-gnome-d8980ae45eaf5a297e1d2e9a73fb5a34eb5087ad.tar.zst freebsd-ports-gnome-d8980ae45eaf5a297e1d2e9a73fb5a34eb5087ad.zip |
- update to 2.0.8
- various whitespace fixes, while here
PR: 181651
Submitted by: Pakhom Golynga <pakhom706@gmail.com> (maintainer)
Diffstat (limited to 'net-mgmt/zabbix2-server')
-rw-r--r-- | net-mgmt/zabbix2-server/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/zabbix2-server/distinfo | 4 | ||||
-rw-r--r-- | net-mgmt/zabbix2-server/files/pkg-message.in | 17 |
3 files changed, 16 insertions, 17 deletions
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile index 51c37bd861ac..99d60902a1df 100644 --- a/net-mgmt/zabbix2-server/Makefile +++ b/net-mgmt/zabbix2-server/Makefile @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= zabbix2 -PORTVERSION= 2.0.6 -PORTREVISION?= 1 +PORTVERSION= 2.0.8 +PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server @@ -157,12 +157,12 @@ RUN_DEPENDS+= nmap:${PORTSDIR}/security/nmap \ .endif .if ${PORT_OPTIONS:MJAVAGW} -USE_JAVA= yes -CONFIGURE_ARGS+= --enable-java +USE_JAVA= yes +CONFIGURE_ARGS+= --enable-java PLIST_SUB+= ZABBIX_JAVA="sbin/zabbix_java" -PLIST_SUB+= JAVAGW="" +PLIST_SUB+= JAVAGW="" .else -PLIST_SUB+= JAVAGW="@comment " +PLIST_SUB+= JAVAGW="@comment " .endif post-patch: diff --git a/net-mgmt/zabbix2-server/distinfo b/net-mgmt/zabbix2-server/distinfo index dec7f4d86e34..e2fbe0376dfa 100644 --- a/net-mgmt/zabbix2-server/distinfo +++ b/net-mgmt/zabbix2-server/distinfo @@ -1,2 +1,2 @@ -SHA256 (zabbix-2.0.6.tar.gz) = 46dfa7e63d3d38991cddaa7455e70179dc3fbef658ccbdce8cc8ce8e73baedf8 -SIZE (zabbix-2.0.6.tar.gz) = 13402400 +SHA256 (zabbix-2.0.8.tar.gz) = c4b94960de0a1d0b20604a08503e9715c15845409368162c1e321040b8e4519a +SIZE (zabbix-2.0.8.tar.gz) = 13457936 diff --git a/net-mgmt/zabbix2-server/files/pkg-message.in b/net-mgmt/zabbix2-server/files/pkg-message.in index f08a1e5dac46..165d1de7ddd8 100644 --- a/net-mgmt/zabbix2-server/files/pkg-message.in +++ b/net-mgmt/zabbix2-server/files/pkg-message.in @@ -1,17 +1,17 @@ ====================================================================== -For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is required. It is not needed to run Zabbix agent. +For Zabbix server and proxy daemons, as well as Zabbix frontend, a database is required. It is not needed to run Zabbix agent. % cd %%DATADIR%%/%%ZABBIX_BUILD%%/database -PostgreSQL: +PostgreSQL: shell> psql -U <username> -psql> create database zabbix; -psql> \q +psql> create database zabbix; +psql> \q shell> cd database/postgresql shell> psql -U <username> zabbix < schema.sql shell> psql -U <username> zabbix < images.sql shell> psql -U <username> zabbix < data.sql -MySQL: +MySQL: shell> mysql -u<username> -p<password> mysql> create database zabbix character set utf8; mysql> quit; @@ -19,19 +19,18 @@ shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql -SQLite: +SQLite: shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql shell> sqlite3 /var/lib/sqlite/zabbix.db < images.sql shell> sqlite3 /var/lib/sqlite/zabbix.db < data.sql - -IBM DB2: +IBM DB2: shell> db2 "create database zabbix using codeset utf-8 territory us pagesize 32768" shell> cd database/ibm_db2 shell> db2batch -d zabbix -f schema.sql shell> db2batch -d zabbix -f images.sql -shell> db2batch -d zabbix -f data.sql +shell> db2batch -d zabbix -f data.sql To upgrade an existing database, see the scripts in |