pkgsrc/sysutils/zabbix50-proxy/Makefile
otis 24892052c1 zabbix50-proxy: Update to 5.0.6
Changelog for 5.0.6:

* New features:
  - Added Morningstar devices monitoring templates
  - Added iTop media
  - Added template "Hadoop by HTTP"
  - Added Template "Zookeeper by HTTP"
  - Removed autocomplete from fields having sensitive data
  - Added native system.users.num support to Zabbix agent 2
  - Added UnitFileState to systemd.unit.discovery for Zabbix agent 2
  - Added template "Apache Kafka by JMX"
  - Improved LLD rule processing after reconnecting to proxy
  - Added "Template DB Apache Cassandra by JMX"

* Bug Fixes:
  - Updated Apache Tomcat by JMX template
  - Removed positional macros from item names on 'Web monitoring' page
  - Fixed insert of duplicate key value in interface_snmp for lld host
    discovery
  - Fixed item mapping for LLD overrides
  - Fixed logic for processing LLD rule duplicates after reconnecting to proxy
  - Fixed screen item field "max_columns" being overwritten during import
  - Fixed fatal error raised in event notifications when a large amount of
    notifications is shown
  - Fixed ability to detect username existence from unsuccessful login message
  - Fixed characters counter which were removed in script modal window
  - Fixed override be saved with custom expression even when all rows are
    removed
  - Fixed macro resolving in http basic authentication username and macros
    fields
  - Fixed ability to download image of non-existent graph
  - Fixed long data row formatting for OracleDB
  - Fixed ORA-40478 exception in queries
  - Moved taskid calculation to transaction when creating remote command task
  - Increased trapper verbosity for DebugLevel=4 when rejecting sender data
  - Fixed compilation error on Solaris 10
  - Fixed fatal error when updating only discovered triggers and their
    properties
  - Fixed deletion of one last remaining main host interface to show error
    instead of silently deleting the interface
  - Fixed build failing to compile for Zabbix agent 2 on ARM/v7 and ARM/v6
  - Changed trigger of the net.if.speed item in the Windows network module
    template
  - Removed recovery mode NONE in trigger "Operating system description has
    changed"
  - Fixed "Template App Ceph by Zabbix Agent2" pool discovery
  - Updated the list of item keys and their descriptions
  - Changed Fan, Temperature, Voltage LLD rules in Template Net Arista
  - Fixed "Template Net TP-LINK" readme
2020-12-03 14:19:28 +00:00

77 lines
2.6 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2020/12/03 14:19:28 otis Exp $
.include "../../sysutils/zabbix50-server/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-proxy-${ZABBIX_DB_TYPE}-/}
COMMENT= Enterprise-class Monitoring Solution for Everyone
CONFLICTS+= zabbix-[0-9]*
CONFLICTS+= zabbix-proxy-[0-9]*
DEPENDS+= fping-[0-9]*:../../net/fping
USE_TOOLS+= aclocal autoconf automake pax pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-proxy
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/${PKGBASE}
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
CONFIGURE_ARGS+= --with-libcurl
CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+= --with-libpcre=${BUILDLINK_PREFIX.pcre}
CONFIGURE_ARGS+= --with-libxml2
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
EGDIR= share/examples/${PKGBASE}
CONF_FILES+= ${EGDIR}/zabbix_proxy.conf ${PKG_SYSCONFDIR}/zabbix_proxy.conf
RCD_SCRIPTS= zabbix_proxy
SMF_NAME= zabbix-proxy
INSTALLATION_DIRS+= ${EGDIR} share/${PKGBASE}
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'
SUBST_CLASSES+= fix-pkgbase
SUBST_STAGE.fix-pkgbase= pre-configure
SUBST_MESSAGE.fix-pkgbase= Fixing PKGBASE.
SUBST_FILES.fix-pkgbase= src/zabbix_proxy/Makefile.am
SUBST_SED.fix-pkgbase= -e 's,%%PKGBASE%%,${PKGBASE},g'
PLIST_SUBST+= PKGBASE=${PKGBASE}
CFLAGS.SunOS+= -DDUK_USE_BYTEORDER=1
.include "../../mk/bsd.prefs.mk"
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal -I m4 ; automake -ai --foreign; autoconf -I m4
post-install:
cd ${WRKSRC}/database/${ZABBIX_DB_TYPE}; \
${PAX} -rw . ${DESTDIR}${PREFIX}/share/${PKGBASE}/
${RM} ${DESTDIR}${PREFIX}/share/${PKGBASE}/Makefile*
${RM} ${DESTDIR}${PREFIX}/share/${PKGBASE}/data.sql
${RM} ${DESTDIR}${PREFIX}/share/${PKGBASE}/images.sql
${MV} ${DESTDIR}${PREFIX}/bin/zabbix_js \
${DESTDIR}${PREFIX}/bin/zabbix_proxy_js
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"