summaryrefslogtreecommitdiff
path: root/sysutils/zabbix50-java
diff options
context:
space:
mode:
authorotis <otis@pkgsrc.org>2020-11-03 22:52:41 +0000
committerotis <otis@pkgsrc.org>2020-11-03 22:52:41 +0000
commit2639bae5b0323923c49919998fa5fd095ca1fced (patch)
tree6acac3353385432e63099998912ec6a02b4e9f08 /sysutils/zabbix50-java
parent8b01049b9298a09a57eba0df9def827282721f02 (diff)
downloadpkgsrc-2639bae5b0323923c49919998fa5fd095ca1fced.tar.gz
zabbix50-java: Import zabbix-java 5.0.5
Zabbix is the ultimate enterprise-level software designed for monitoring availability and performance of IT infrastructure components. Zabbix is open source and comes at no cost. With Zabbix it is possible to gather virtually limitless types of data from the network. High performance real-time monitoring means that tens of thousands of servers, virtual machines and network devices can be monitored simultaneously. Along with storing the data, visualization features are available (overviews, maps, graphs, screens, etc), as well as very flexible ways of analyzing the data for the purpose of alerting.
Diffstat (limited to 'sysutils/zabbix50-java')
-rw-r--r--sysutils/zabbix50-java/DESCR10
-rw-r--r--sysutils/zabbix50-java/Makefile32
-rw-r--r--sysutils/zabbix50-java/PLIST13
-rw-r--r--sysutils/zabbix50-java/distinfo7
-rw-r--r--sysutils/zabbix50-java/patches/patch-configure15
5 files changed, 77 insertions, 0 deletions
diff --git a/sysutils/zabbix50-java/DESCR b/sysutils/zabbix50-java/DESCR
new file mode 100644
index 00000000000..43094c0148f
--- /dev/null
+++ b/sysutils/zabbix50-java/DESCR
@@ -0,0 +1,10 @@
+Zabbix is the ultimate enterprise-level software designed for monitoring
+availability and performance of IT infrastructure components. Zabbix is open
+source and comes at no cost.
+
+With Zabbix it is possible to gather virtually limitless types of data from
+the network. High performance real-time monitoring means that tens of thousands
+of servers, virtual machines and network devices can be monitored
+simultaneously. Along with storing the data, visualization features are
+available (overviews, maps, graphs, screens, etc), as well as very flexible
+ways of analyzing the data for the purpose of alerting.
diff --git a/sysutils/zabbix50-java/Makefile b/sysutils/zabbix50-java/Makefile
new file mode 100644
index 00000000000..46959d46044
--- /dev/null
+++ b/sysutils/zabbix50-java/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2020/11/03 22:52:41 otis Exp $
+
+.include "../../sysutils/zabbix50-server/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-java-/}
+COMMENT= Enterprise-class Monitoring Solution for Everyone
+
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-java
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+CONFIGURE_ENV+= JAVAC=${PKG_JAVA_HOME}/bin/javac
+CONFIGURE_ENV+= JAR=${PKG_JAVA_HOME}/bin/jar
+
+USE_JAVA= run
+PKG_JVMS_ACCEPTED= openjdk8
+
+EGDIR= share/examples/zabbix
+
+INSTALLATION_DIRS+= ${EGDIR} share/zabbix
+
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= conf/*.conf
+SUBST_FILES.fix-paths+= man/*.man
+SUBST_SED.fix-paths= -e 's,/usr/local/etc,${PKG_SYSCONFDIR},g'
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/zabbix50-java/PLIST b/sysutils/zabbix50-java/PLIST
new file mode 100644
index 00000000000..9ed57f1268c
--- /dev/null
+++ b/sysutils/zabbix50-java/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/03 22:52:41 otis Exp $
+sbin/zabbix_java/bin/zabbix-java-gateway-${PKGVERSION}.jar
+sbin/zabbix_java/lib/android-json-4.3_r3.1.jar
+sbin/zabbix_java/lib/logback-classic-0.9.27.jar
+sbin/zabbix_java/lib/logback-console.xml
+sbin/zabbix_java/lib/logback-core-0.9.27.jar
+sbin/zabbix_java/lib/logback.xml
+sbin/zabbix_java/lib/slf4j-api-1.6.1.jar
+sbin/zabbix_java/settings.sh
+sbin/zabbix_java/shutdown.sh
+sbin/zabbix_java/startup.sh
+@pkgdir share/zabbix
+@pkgdir share/examples/zabbix
diff --git a/sysutils/zabbix50-java/distinfo b/sysutils/zabbix50-java/distinfo
new file mode 100644
index 00000000000..b50a31e30ce
--- /dev/null
+++ b/sysutils/zabbix50-java/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/11/03 22:52:41 otis Exp $
+
+SHA1 (zabbix-5.0.5.tar.gz) = 65683f4ada7ae91f26215a53683d12ec726a960d
+RMD160 (zabbix-5.0.5.tar.gz) = 0d65e30d3d91ba8819572468425cf18c4e2c33bc
+SHA512 (zabbix-5.0.5.tar.gz) = 5397672fa170e12120526793b48d01764013467cc259eca61991bc52251c25888dd318ccffa6ed30ac3643104e715ceb70baaeec6eeaddb115ed294c22f5e619
+Size (zabbix-5.0.5.tar.gz) = 19153153 bytes
+SHA1 (patch-configure) = cf647b9ee52a96882d31f8783ac19b66e3e65105
diff --git a/sysutils/zabbix50-java/patches/patch-configure b/sysutils/zabbix50-java/patches/patch-configure
new file mode 100644
index 00000000000..f7ccc9e08b2
--- /dev/null
+++ b/sysutils/zabbix50-java/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/11/03 22:52:42 otis Exp $
+
+Fix bash-ism.
+
+--- configure.orig 2020-07-13 07:56:36.000000000 +0000
++++ configure
+@@ -8494,7 +8494,7 @@ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+- if test "$found_mysql_tls" == "yes"; then
++ if test "$found_mysql_tls" = "yes"; then
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS ciphersuites in MySQL library" >&5
+ $as_echo_n "checking for TLS ciphersuites in MySQL library... " >&6; }