pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import Zabbix Java gateway package as wip/zabbix50-java
Module Name: pkgsrc-wip
Committed By: Yuuki Enomoto <uki%e-yuuki.org@localhost>
Pushed By: e-yuuki
Date: Sat Sep 12 12:37:02 2020 +0900
Changeset: 701a2887e2825fb9fbfc82f1777e7a0c29de7270
Modified Files:
Makefile
zabbix50-server/Makefile.common
Added Files:
zabbix50-java/DESCR
zabbix50-java/Makefile
zabbix50-java/PLIST
zabbix50-java/distinfo
zabbix50-java/patches/patch-configure
Log Message:
Import Zabbix Java gateway package as wip/zabbix50-java
This package is part of zabbix50-* pacakges
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=701a2887e2825fb9fbfc82f1777e7a0c29de7270
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
zabbix50-java/DESCR | 10 ++++++++++
zabbix50-java/Makefile | 32 ++++++++++++++++++++++++++++++++
zabbix50-java/PLIST | 13 +++++++++++++
zabbix50-java/distinfo | 8 ++++++++
zabbix50-java/patches/patch-configure | 15 +++++++++++++++
zabbix50-server/Makefile.common | 1 +
7 files changed, 80 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 7be53e95c4..96da1131d3 100644
--- a/Makefile
+++ b/Makefile
@@ -5123,6 +5123,7 @@ SUBDIR+= ypbind-mt
SUBDIR+= ypserv
SUBDIR+= zabbix50-agent
SUBDIR+= zabbix50-frontend
+SUBDIR+= zabbix50-java
SUBDIR+= zabbix50-proxy
SUBDIR+= zabbix50-server
SUBDIR+= zapping
diff --git a/zabbix50-java/DESCR b/zabbix50-java/DESCR
new file mode 100644
index 0000000000..43094c0148
--- /dev/null
+++ b/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/zabbix50-java/Makefile b/zabbix50-java/Makefile
new file mode 100644
index 0000000000..cb660cd8af
--- /dev/null
+++ b/zabbix50-java/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.37 2020/06/20 12:43:46 gdt 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/zabbix50-java/PLIST b/zabbix50-java/PLIST
new file mode 100644
index 0000000000..cd3f857d94
--- /dev/null
+++ b/zabbix50-java/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+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/zabbix50-java/distinfo b/zabbix50-java/distinfo
new file mode 100644
index 0000000000..985ee8c8d1
--- /dev/null
+++ b/zabbix50-java/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.19 2020/06/20 12:43:46 gdt Exp $
+
+SHA1 (zabbix-5.0.3.tar.gz) = 77923e72cc33109e129c61994008f29cc5c14191
+RMD160 (zabbix-5.0.3.tar.gz) = a1d122b71549a230f21f9d85dbc28042b40ec7ea
+SHA512 (zabbix-5.0.3.tar.gz) = d08a031b334f531320f6b695af3ed7e3514c802ea28e0cec75040c518409e16ab4c591b389091aa12c07129f9b758d050c958967e3e86e725f4595f3b3a90d97
+Size (zabbix-5.0.3.tar.gz) = 18893485 bytes
+SHA1 (patch-configure) = cf647b9ee52a96882d31f8783ac19b66e3e65105
+SHA1 (patch-src_zabbix__agent_Makefile.in) = b74b47ffc4b8f16046778cacd9be2b7207d7f549
diff --git a/zabbix50-java/patches/patch-configure b/zabbix50-java/patches/patch-configure
new file mode 100644
index 0000000000..4573979279
--- /dev/null
+++ b/zabbix50-java/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD$
+
+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; }
diff --git a/zabbix50-server/Makefile.common b/zabbix50-server/Makefile.common
index 57ecbac40b..35e6260050 100644
--- a/zabbix50-server/Makefile.common
+++ b/zabbix50-server/Makefile.common
@@ -3,6 +3,7 @@
# used by sysutils/zabbix50-proxy/Makefile
# used by sysutils/zabbix50-server/Makefile
# used by sysutils/zabbix50-frontend/Makefile
+# used by sysutils/zabbix50-java/Makefile
DISTNAME= zabbix-5.0.3
CATEGORIES= sysutils
Home |
Main Index |
Thread Index |
Old Index