Index: head/net-mgmt/Makefile =================================================================== --- head/net-mgmt/Makefile (revision 514514) +++ head/net-mgmt/Makefile (revision 514515) @@ -1,424 +1,429 @@ # $FreeBSD$ # COMMENT = Network management tools SUBDIR += 2ping SUBDIR += TkTopNetFlows SUBDIR += adcli SUBDIR += aggregate SUBDIR += aircrack-ng SUBDIR += alertmanager SUBDIR += ap-utils SUBDIR += argus3 SUBDIR += argus3-clients SUBDIR += arpalert SUBDIR += arpscan SUBDIR += arpwatch SUBDIR += arts++ SUBDIR += bandwidthd SUBDIR += bgpq SUBDIR += bgpq3 SUBDIR += bgpuma SUBDIR += blackbox_exporter SUBDIR += bpft SUBDIR += braa SUBDIR += bsnmp-jails SUBDIR += bsnmp-regex SUBDIR += bsnmp-ucd SUBDIR += bwm-ng SUBDIR += cacti SUBDIR += cacti-spine SUBDIR += cacti88-spine SUBDIR += carbon-relay-ng SUBDIR += carbonzipper SUBDIR += ccnet-server SUBDIR += cdpd SUBDIR += cdpr SUBDIR += cdpsnarf SUBDIR += centreon-clib SUBDIR += check_ipmi_sensor SUBDIR += check_logfiles SUBDIR += check_mk_agent SUBDIR += check_multi SUBDIR += check_mysql_health SUBDIR += check_nwc_health SUBDIR += check_ssl_cert SUBDIR += chillispot SUBDIR += choparp SUBDIR += cidr SUBDIR += ciscoconf SUBDIR += clog SUBDIR += cnagios SUBDIR += cnagios4 SUBDIR += collectd5 SUBDIR += confregdecode SUBDIR += coovachilli SUBDIR += cowpatty SUBDIR += cricket SUBDIR += crmsh SUBDIR += darkstat SUBDIR += devmon SUBDIR += devmon-templates SUBDIR += dhcdrop SUBDIR += dhcp_probe SUBDIR += disco SUBDIR += dnsmap SUBDIR += docsis SUBDIR += driftnet SUBDIR += ehnt SUBDIR += etherape SUBDIR += ettercap SUBDIR += fastnetmon SUBDIR += fetchconfig SUBDIR += flow-extract SUBDIR += flow-tools SUBDIR += flowd SUBDIR += flowviewer SUBDIR += fprobe SUBDIR += glpi-plugins-fusioninventory-server SUBDIR += gnu-ipcalc SUBDIR += grepcidr SUBDIR += grepip SUBDIR += grok_exporter SUBDIR += gsnmp SUBDIR += guifi-snpservices SUBDIR += hastmon SUBDIR += icinga2 SUBDIR += icingaweb2 SUBDIR += icingaweb2-module-businessprocess SUBDIR += icingaweb2-module-cube SUBDIR += icingaweb2-module-director SUBDIR += icingaweb2-module-elasticsearch SUBDIR += icingaweb2-module-fileshipper SUBDIR += icingaweb2-module-generictts SUBDIR += icingaweb2-module-grafana SUBDIR += icingaweb2-module-graphite SUBDIR += icingaweb2-module-idoreports SUBDIR += icingaweb2-module-ipl SUBDIR += icingaweb2-module-map SUBDIR += icingaweb2-module-pdfexport SUBDIR += icingaweb2-module-reactbundle SUBDIR += icingaweb2-module-reporting SUBDIR += icingaweb2-module-vsphere SUBDIR += icmpmonitor SUBDIR += icmpquery SUBDIR += iftop SUBDIR += intel-snap SUBDIR += iog SUBDIR += ipacctd SUBDIR += ipaudit SUBDIR += ipcad SUBDIR += ipcalc SUBDIR += iprange SUBDIR += ipv6calc SUBDIR += ipv6gen SUBDIR += ipv6mon SUBDIR += irrtoolset SUBDIR += isic SUBDIR += jnettop SUBDIR += kapacitor SUBDIR += kismet SUBDIR += klg SUBDIR += lanmap SUBDIR += lg SUBDIR += librenms SUBDIR += librenms-agent SUBDIR += libsmi SUBDIR += lldpd SUBDIR += mbrowse SUBDIR += mdata-client SUBDIR += metronome SUBDIR += midpoint SUBDIR += mk-livestatus SUBDIR += monitoring-plugins SUBDIR += mrtg SUBDIR += mrtg-ping-probe SUBDIR += mtrace SUBDIR += mysqld_exporter SUBDIR += nagcon SUBDIR += nagios SUBDIR += nagios-certexp-plugin SUBDIR += nagios-check_bacula9 SUBDIR += nagios-check_clamav SUBDIR += nagios-check_cpu_usage SUBDIR += nagios-check_dhcp.pl SUBDIR += nagios-check_email_delivery SUBDIR += nagios-check_hdd_health SUBDIR += nagios-check_hp_bladechassis SUBDIR += nagios-check_memcached_paranoid SUBDIR += nagios-check_mysql_slave SUBDIR += nagios-check_netsnmp SUBDIR += nagios-check_ports SUBDIR += nagios-check_postgres SUBDIR += nagios-check_puppet SUBDIR += nagios-check_relayd_status SUBDIR += nagios-check_smartmon SUBDIR += nagios-check_tftp SUBDIR += nagios-check_zpools SUBDIR += nagios-geom SUBDIR += nagios-openldap-plugins SUBDIR += nagios-pf-plugin SUBDIR += nagios-plugins SUBDIR += nagios-snmp-plugins SUBDIR += nagios-snmp-plugins-extras SUBDIR += nagios-spamd-plugin SUBDIR += nagios4 SUBDIR += nagiosgraph SUBDIR += nagiosql SUBDIR += nagircbot SUBDIR += nagnu SUBDIR += nagstamon SUBDIR += nagtail SUBDIR += nagvis SUBDIR += nbtscan SUBDIR += ndoutils SUBDIR += ndpmon SUBDIR += nefu SUBDIR += net-snmp SUBDIR += netbox SUBDIR += netdata SUBDIR += netdisco SUBDIR += netdisco-mibs SUBDIR += netdot SUBDIR += netleak SUBDIR += netmagis-common SUBDIR += netmagis-database SUBDIR += netmagis-detecteq SUBDIR += netmagis-metro SUBDIR += netmagis-servers SUBDIR += netmagis-topo SUBDIR += netmagis-utils SUBDIR += netmagis-www SUBDIR += netmask SUBDIR += netspoc SUBDIR += netustad SUBDIR += networkmgr SUBDIR += netwox SUBDIR += netxms SUBDIR += nfdump SUBDIR += nfsen SUBDIR += ng_ipacct SUBDIR += nitpicker SUBDIR += nrpe3 SUBDIR += nsca SUBDIR += nsca-client SUBDIR += nsca-ng SUBDIR += nsca-ng-client SUBDIR += nsca27 SUBDIR += nsca27-client SUBDIR += nsd_exporter SUBDIR += nstat SUBDIR += nstreams SUBDIR += nvidia_gpu_prometheus_exporter SUBDIR += observium SUBDIR += ocsinventory-agent SUBDIR += ocsinventory-ocsreports SUBDIR += ocsinventory-server SUBDIR += omping SUBDIR += onionlauncher SUBDIR += openbmp SUBDIR += openlldp SUBDIR += openvmps SUBDIR += p0f SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-BigIP-iControl SUBDIR += p5-Cflow SUBDIR += p5-Cisco-CopyConfig SUBDIR += p5-Cisco-Reconfig SUBDIR += p5-Data-Validate-IP SUBDIR += p5-FusionInventory-Agent SUBDIR += p5-GRNOC-Config SUBDIR += p5-GRNOC-TL1 SUBDIR += p5-MRTG-Parse SUBDIR += p5-Mon SUBDIR += p5-Monitoring-Livestatus SUBDIR += p5-Monitoring-Plugin SUBDIR += p5-NSNMP SUBDIR += p5-Nagios-Object SUBDIR += p5-Nagios-Plugin SUBDIR += p5-Nagios-Plugin-Beanstalk SUBDIR += p5-Nagios-Plugin-LDAP SUBDIR += p5-Nagios-Plugins-Memcached SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-Abuse-Utils-Spamhaus SUBDIR += p5-Net-CIDR SUBDIR += p5-Net-ILO SUBDIR += p5-Net-IP SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver SUBDIR += p5-Net-IP-XS SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-NSCA-Client SUBDIR += p5-Net-Netmask SUBDIR += p5-Net-OpenVPN-Manage SUBDIR += p5-Net-SNMP SUBDIR += p5-Net-SNMP-Util SUBDIR += p5-Net-SNMPTrapd SUBDIR += p5-Net-Telnet-Cisco-IOS SUBDIR += p5-NetAddr-IP SUBDIR += p5-NetAddr-IP-Lite SUBDIR += p5-NetApp SUBDIR += p5-POE-Component-SNMP SUBDIR += p5-RDR-Collector SUBDIR += p5-SNMP-Info SUBDIR += p5-SNMP-MIB-Compiler SUBDIR += p5-SNMP-Simple SUBDIR += p5-SNMP-Trapinfo SUBDIR += p5-SNMP-Util SUBDIR += p5-SNMP_Session SUBDIR += p5-Telnet-Cisco SUBDIR += p5-Tie-NetAddr-IP SUBDIR += p5-Xymon SUBDIR += p5-Xymon-Client SUBDIR += p5-Xymon-Server SUBDIR += p5-Zenoss SUBDIR += p5-jmx4perl SUBDIR += packit SUBDIR += pads SUBDIR += pancho SUBDIR += pandorafms_agent SUBDIR += pandorafms_console SUBDIR += pandorafms_server SUBDIR += pdagent-integrations SUBDIR += percona-monitoring-plugins SUBDIR += pftabled SUBDIR += php71-snmp SUBDIR += php72-snmp SUBDIR += php73-snmp SUBDIR += php74-snmp SUBDIR += phpipam SUBDIR += phpweathermap SUBDIR += pixilate SUBDIR += pktstat SUBDIR += pmacct SUBDIR += pnp SUBDIR += pnp-icinga2 SUBDIR += portmon SUBDIR += prometheus-collectd-exporter SUBDIR += prometheus1 SUBDIR += prometheus2 SUBDIR += pushgateway SUBDIR += py-adal SUBDIR += py-ciscoconfparse SUBDIR += py-dnsdiag SUBDIR += py-ipcalc SUBDIR += py-ipy SUBDIR += py-junos-eznc SUBDIR += py-msrest SUBDIR += py-msrestazure SUBDIR += py-napalm SUBDIR += py-napalm-logs SUBDIR += py-ncclient SUBDIR += py-nxapi-plumbing SUBDIR += py-pdagent SUBDIR += py-prometheus-client SUBDIR += py-pyIOSXR SUBDIR += py-pyang SUBDIR += py-pyeapi SUBDIR += py-pynsca SUBDIR += py-pynxos SUBDIR += py-pysmi SUBDIR += py-pysnmp SUBDIR += py-pysnmp-mibs SUBDIR += py-pyzabbix SUBDIR += py-snmp_passpersist SUBDIR += py-snmpclitools SUBDIR += py-yapsnmp SUBDIR += rackmonkey SUBDIR += rancid3 SUBDIR += rate SUBDIR += rcpd SUBDIR += remarp SUBDIR += resource-agents SUBDIR += riemann SUBDIR += riemann-c-client SUBDIR += rotorouter SUBDIR += routers2 SUBDIR += routers2-extensions SUBDIR += routers2-extras SUBDIR += rrdbot SUBDIR += rtrlib SUBDIR += rubygem-blimpy SUBDIR += rubygem-oxidized SUBDIR += rubygem-oxidized-script SUBDIR += rubygem-oxidized-web SUBDIR += rubygem-riemann-client SUBDIR += rubygem-riemann-dash SUBDIR += rubygem-riemann-rabbitmq SUBDIR += rubygem-riemann-tail SUBDIR += rubygem-riemann-tools SUBDIR += rubygem-snmp SUBDIR += rubygem-visage-app SUBDIR += sblim-wbemcli SUBDIR += scli SUBDIR += sdig SUBDIR += seafile-client SUBDIR += seafile-gui SUBDIR += seafile-server SUBDIR += semaphore SUBDIR += send SUBDIR += sendip SUBDIR += sipcalc SUBDIR += sjitter SUBDIR += slate SUBDIR += smokeping SUBDIR += snmp++ SUBDIR += snmp4nagios SUBDIR += snmptt SUBDIR += softflowd SUBDIR += spectools SUBDIR += ssgless SUBDIR += statsd SUBDIR += statsite SUBDIR += subcalc SUBDIR += super_mediator SUBDIR += sysmon SUBDIR += tcpreplay SUBDIR += tcptrack SUBDIR += telegraf SUBDIR += thanos SUBDIR += tornova SUBDIR += torrus SUBDIR += triton-guesttools SUBDIR += unbound_exporter SUBDIR += unifi-devel SUBDIR += unifi-lts SUBDIR += unifi5 SUBDIR += victorops-nagios SUBDIR += virt-viewer SUBDIR += wdiag SUBDIR += weplab SUBDIR += whatmask SUBDIR += wifimgr SUBDIR += wmi-client SUBDIR += xymon-client SUBDIR += xymon-server SUBDIR += yaf SUBDIR += zabbix22-agent SUBDIR += zabbix22-frontend SUBDIR += zabbix22-java SUBDIR += zabbix22-proxy SUBDIR += zabbix22-server SUBDIR += zabbix3-agent SUBDIR += zabbix3-frontend SUBDIR += zabbix3-java SUBDIR += zabbix3-proxy SUBDIR += zabbix3-server SUBDIR += zabbix4-agent SUBDIR += zabbix4-frontend SUBDIR += zabbix4-java SUBDIR += zabbix4-proxy SUBDIR += zabbix4-server SUBDIR += zabbix42-agent SUBDIR += zabbix42-frontend SUBDIR += zabbix42-java SUBDIR += zabbix42-proxy SUBDIR += zabbix42-server + SUBDIR += zabbix44-agent + SUBDIR += zabbix44-frontend + SUBDIR += zabbix44-java + SUBDIR += zabbix44-proxy + SUBDIR += zabbix44-server .include Index: head/net-mgmt/zabbix44-agent/Makefile =================================================================== --- head/net-mgmt/zabbix44-agent/Makefile (nonexistent) +++ head/net-mgmt/zabbix44-agent/Makefile (revision 514515) @@ -0,0 +1,14 @@ +# Created by: Pakhom Golynga +# $FreeBSD$ + +PORTNAME= zabbix44 +CATEGORIES= net-mgmt +PKGNAMESUFFIX= -agent + +MASTERDIR= ${.CURDIR}/../zabbix44-server +PLIST= ${PKGDIR}/pkg-plist.agent + +OPTIONS_DEFINE= CURL IPV6 +OPTIONS_DEFAULT= CURL OPENSSL + +.include "${MASTERDIR}/Makefile" Property changes on: head/net-mgmt/zabbix44-agent/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-frontend/Makefile =================================================================== --- head/net-mgmt/zabbix44-frontend/Makefile (nonexistent) +++ head/net-mgmt/zabbix44-frontend/Makefile (revision 514515) @@ -0,0 +1,34 @@ +# Created by: Pakhom Golynga +# $FreeBSD$ + +PORTNAME= zabbix44 +CATEGORIES= net-mgmt +PKGNAMESUFFIX= -frontend + +MASTERDIR= ${.CURDIR}/../zabbix44-server + +NO_BUILD= yes +NO_ARCH= yes +PATCHDIR= +PLIST= ${PKGDIR}/pkg-plist.frontend + +USE_PHP= bcmath ctype dom fileinfo filter gd gettext json ldap mbstring pcre \ + session simplexml snmp sockets xml xmlreader xmlwriter +USES+= php:web + +OPTIONS_DEFINE= MYSQLI PGSQL ORACLE +OPTIONS_DEFAULT= MYSQLI +MYSQLI_DESC= MySQLI backend + +MYSQLI_USE= PHP=mysqli + +PGSQL_USE= PHP=pgsql + +ORACLE_CONFIGURE_WITH= oracle + +do-install: + @${MKDIR} ${STAGEDIR}${WWWDIR} + (cd ${WRKSRC}/frontends/php && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) + +.include "${MASTERDIR}/Makefile" Property changes on: head/net-mgmt/zabbix44-frontend/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-java/Makefile =================================================================== --- head/net-mgmt/zabbix44-java/Makefile (nonexistent) +++ head/net-mgmt/zabbix44-java/Makefile (revision 514515) @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PORTNAME= zabbix44 +CATEGORIES= net-mgmt +PKGNAMESUFFIX= -java + +MASTERDIR= ${.CURDIR}/../zabbix44-server +PLIST= ${PKGDIR}/pkg-plist.java + +OPTIONS_DEFINE= IPV6 + +USE_JAVA= yes + +.include "${MASTERDIR}/Makefile" Property changes on: head/net-mgmt/zabbix44-java/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-proxy/Makefile =================================================================== --- head/net-mgmt/zabbix44-proxy/Makefile (nonexistent) +++ head/net-mgmt/zabbix44-proxy/Makefile (revision 514515) @@ -0,0 +1,12 @@ +# Created by: Pakhom Golynga +# $FreeBSD$ + +PORTNAME= zabbix44 +CATEGORIES= net-mgmt +PKGNAMESUFFIX= -proxy + +MASTERDIR= ${.CURDIR}/../zabbix44-server + +OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE + +.include "${MASTERDIR}/Makefile" Property changes on: head/net-mgmt/zabbix44-proxy/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-server/Makefile =================================================================== --- head/net-mgmt/zabbix44-server/Makefile (nonexistent) +++ head/net-mgmt/zabbix44-server/Makefile (revision 514515) @@ -0,0 +1,209 @@ +# Created by: Pakhom Golynga +# $FreeBSD$ + +PORTNAME= zabbix44 +PORTVERSION= 4.4.0 +PORTREVISION?= 0 +CATEGORIES= net-mgmt +MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} +PKGNAMESUFFIX?= -server +DISTNAME= zabbix-${PORTVERSION} + +MAINTAINER= pg@pakhom.spb.ru +COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libpcre.so:devel/pcre + +CONFLICTS= zabbix[0-35-9][0-9]${PKGNAMESUFFIX} \ + zabbix4[0-35-9]${PKGNAMESUFFIX} \ + zabbix[0-9]${PKGNAMESUFFIX} + +ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} + +.if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings +.if ${ZABBIX_BUILD} != "agent" +CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} +LIB_DEPENDS+= libevent.so:devel/libevent +USE_RC_SUBR= zabbix_${ZABBIX_BUILD} +.else +USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d +.endif + +USES= pkgconfig iconv + +USERS= zabbix +GROUPS= zabbix + +.if ${ZABBIX_BUILD} != "proxy" +PLIST_SUB= PROXY="@comment " +.else +PLIST_SUB= PROXY="" +.endif + +.if ${ZABBIX_BUILD} == "server" +PLIST_SUB+= SERVER="" +.else +PLIST_SUB+= SERVER="@comment " +.endif + +PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} +SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} + +MAKE_ARGS+= ARCH=freebsd +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ + --sysconfdir=${ETCDIR} \ + --datadir=${ETCDIR} \ + --with-iconv=${ICONV_PREFIX} + +.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" +LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp + +CPPFLAGS+= -I${LOCALBASE}/include + +SUB_FILES= pkg-message + +CONFIGURE_ARGS+= --with-net-snmp + +OPTIONS_DEFINE= IPV6 FPING CURL LDAP IPMI SSH NMAP LIBXML2 UNIXODBC + +OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL +OPTIONS_SUB= yes + +FPING_DESC= Build/install fping for ping checks +IPMI_DESC= Support for IPMI checks +LDAP_DESC= Support for LDAP server checks +NMAP_DESC= Build/install nmap for o/s detection +SSH_DESC= Support for SSH-based checks +UNIXODBC_DESC= Support for database checks via ODBC +LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) + +OPTIONS_SINGLE= DB SSL +OPTIONS_SINGLE_DB?= MYSQL PGSQL ORACLE +OPTIONS_SINGLE_SSL= OPENSSL GNUTLS + +MYSQL_CONFIGURE_WITH= mysql +MYSQL_USES+= compiler:c11 mysql + +PGSQL_CONFIGURE_WITH= postgresql +PGSQL_USES+= pgsql + +SQLITE_CONFIGURE_WITH= sqlite3 +SQLITE_USES+= sqlite:3 + +ORACLE_CONFIGURE_WITH= oracle + +LDAP_CONFIGURE_WITH= ldap +LDAP_USE= OPENLDAP=yes + +IPMI_CONFIGURE_WITH= openipmi +IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi + +FPING_RUN_DEPENDS= fping:net/fping + +SSH_CONFIGURE_WITH= ssh2 +SSH_LIB_DEPENDS= libssh2.so:security/libssh2 + +UNIXODBC_CONFIGURE_WITH=unixodbc +UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC +.elif ${ZABBIX_BUILD} == "agent" +OPTIONS_SINGLE= SSL +OPTIONS_SINGLE_SSL= OPENSSL GNUTLS +.endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" + +CURL_DESC= Support for web monitoring +CURL_CONFIGURE_WITH= libcurl +CURL_LIB_DEPENDS= libcurl.so:ftp/curl + +IPV6_CONFIGURE_ENABLE= ipv6 + +NMAP_RUN_DEPENDS= nmap:security/nmap \ + sudo:security/sudo + +LIBXML2_CONFIGURE_WITH= libxml2 +LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 + +OPENSSL_CONFIGURE_WITH= openssl +OPENSSL_USES= ssl +OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ + BROKEN_SSL_REASON="PSK is not provided by LibreSSL" + +GNUTLS_CONFIGURE_WITH= gnutls +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls + +.include + +post-patch: + @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ + | ${XARGS} ${REINPLACE_CMD} -e 's#/usr/local/etc#${ETCDIR}#g' + + @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ + ${WRKSRC}/conf/zabbix_*.conf \ + ${WRKSRC}/src/zabbix_proxy/proxy.c \ + ${WRKSRC}/src/zabbix_server/server.c + +.if ${ZABBIX_BUILD} == "server" + @${REINPLACE_CMD} -e 's#/tmp/zabbix_server.pid#/var/run/zabbix/zabbix_server.pid#g' \ + ${WRKSRC}/conf/zabbix_server.conf \ + ${WRKSRC}/src/zabbix_server/server.c +.endif + +.if ${ZABBIX_BUILD} == "proxy" + @${REINPLACE_CMD} -e 's#/tmp/zabbix_proxy.pid#/var/run/zabbix/zabbix_proxy.pid#g' \ + ${WRKSRC}/conf/zabbix_proxy.conf \ + ${WRKSRC}/src/zabbix_proxy/proxy.c +.endif + +.if ${ZABBIX_BUILD} == "agent" + @${REINPLACE_CMD} -e 's#/tmp/zabbix_agentd.pid#/var/run/zabbix/zabbix_agentd.pid#g' \ + ${WRKSRC}/conf/zabbix_agentd.conf \ + ${WRKSRC}/src/zabbix_agent/zabbix_agentd.c +.endif + +.if ${ZABBIX_BUILD} == "java" + @${REINPLACE_CMD} -e 's#/tmp/zabbix_java.pid#/var/run/zabbix/zabbix_java.pid#g' \ + ${WRKSRC}/src/zabbix_java/settings.sh +.endif + +.if ${ZABBIX_BUILD} != "agent" +. for d in mysql oracle postgresql sqlite3 + @${REINPLACE_CMD} \ + -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ + -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ + ${WRKSRC}/database/${d}/data.sql +. endfor +.endif + @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ + -exec ${RM} {} + + +post-install: +.if ${ZABBIX_BUILD} == "java" + ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ + ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample + @${MKDIR} ${STAGEDIR}/var/run/zabbix +.endif + +.if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java" + ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database + @${RM} ${WRKSRC}/database/*/Makefile* + (cd ${WRKSRC}/database/ && \ + ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ + ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) + + ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf \ + ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}.conf.sample +.endif + +.if ${ZABBIX_BUILD} == "agent" + ${MV} ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf \ + ${STAGEDIR}${ETCDIR}/zabbix_${ZABBIX_BUILD}d.conf.sample +.endif + +.else # frontend +.include +.endif + +.include Property changes on: head/net-mgmt/zabbix44-server/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-server/distinfo =================================================================== --- head/net-mgmt/zabbix44-server/distinfo (nonexistent) +++ head/net-mgmt/zabbix44-server/distinfo (revision 514515) @@ -0,0 +1,3 @@ +TIMESTAMP = 1570889168 +SHA256 (zabbix-4.4.0.tar.gz) = c47da70ea2379684ea6fad91092b819eda6e1955b215b9dd568c061143d78ca8 +SIZE (zabbix-4.4.0.tar.gz) = 20689807 Property changes on: head/net-mgmt/zabbix44-server/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/zabbix44-server/files/pkg-message.in =================================================================== --- head/net-mgmt/zabbix44-server/files/pkg-message.in (nonexistent) +++ head/net-mgmt/zabbix44-server/files/pkg-message.in (revision 514515) @@ -0,0 +1,45 @@ +[ +{ type: install + message: <