1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

net-mgmt/zabbix*-agent: Add libcurl support

This enables zabbix_agent simple_checks (net.tcp.service) for https.

PR:		234831
Reported by:	Marcin Gryszkalis <mg@fork.pl>
Approved by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)
This commit is contained in:
Danilo G. Baio 2019-03-27 11:37:10 +00:00
parent f79cc43024
commit 64b51e9790
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496943
10 changed files with 37 additions and 30 deletions

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PORTNAME= zabbix22
PORTREVISION= 1
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -agent
@ -9,6 +10,8 @@ MASTERDIR= ${.CURDIR}/../zabbix22-server
PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= IPV6
OPTIONS_DEFINE= CURL IPV6
OPTIONS_DEFAULT= CURL
.include "${MASTERDIR}/Makefile"

View File

@ -28,7 +28,7 @@ USE_RC_SUBR= zabbix_${ZABBIX_BUILD}
USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d
.endif
USES= pkgconfig iconv
USES= pkgconfig iconv localbase
USERS= zabbix
GROUPS= zabbix
@ -64,7 +64,6 @@ OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2
OPTIONS_DEFAULT= MYSQL FPING JABBER CURL UNIXODBC
OPTIONS_SUB= yes
CURL_DESC= Support for web monitoring
FPING_DESC= Build/install fping for ping checks
IPMI_DESC= Support for IPMI checks
JABBER_DESC= Support for Jabber media type
@ -89,9 +88,6 @@ SQLITE_USES+= sqlite:3
ORACLE_CONFIGURE_WITH= oracle
CURL_CONFIGURE_WITH= libcurl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
@ -113,6 +109,10 @@ UNIXODBC_CONFIGURE_WITH= unixodbc
UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
.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 \

View File

@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= zabbix3
PORTREVISION= 1
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -agent
MASTERDIR= ${.CURDIR}/../zabbix3-server
PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT= OPENSSL
OPTIONS_DEFINE= CURL IPV6
OPTIONS_DEFAULT= CURL OPENSSL
.include "${MASTERDIR}/Makefile"

View File

@ -67,7 +67,6 @@ OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2
OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL
OPTIONS_SUB= yes
CURL_DESC= Support for web monitoring
FPING_DESC= Build/install fping for ping checks
IPMI_DESC= Support for IPMI checks
JABBER_DESC= Support for Jabber media type
@ -93,9 +92,6 @@ SQLITE_USES+= sqlite:3
ORACLE_CONFIGURE_WITH= oracle
CURL_CONFIGURE_WITH= libcurl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
@ -120,6 +116,10 @@ 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 \

View File

@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= zabbix32
PORTREVISION= 1
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -agent
MASTERDIR= ${.CURDIR}/../zabbix32-server
PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT= OPENSSL
OPTIONS_DEFINE= CURL IPV6
OPTIONS_DEFAULT= CURL OPENSSL
.include "${MASTERDIR}/Makefile"

View File

@ -71,7 +71,6 @@ OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2
OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL
OPTIONS_SUB= yes
CURL_DESC= Support for web monitoring
FPING_DESC= Build/install fping for ping checks
IPMI_DESC= Support for IPMI checks
JABBER_DESC= Support for Jabber media type
@ -97,9 +96,6 @@ SQLITE_USES+= sqlite:3
ORACLE_CONFIGURE_WITH= oracle
CURL_CONFIGURE_WITH= libcurl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
@ -124,6 +120,10 @@ 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 \

View File

@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= zabbix34
PORTREVISION= 1
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -agent
MASTERDIR= ${.CURDIR}/../zabbix34-server
PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT= OPENSSL
OPTIONS_DEFINE= CURL IPV6
OPTIONS_DEFAULT= CURL OPENSSL
.include "${MASTERDIR}/Makefile"

View File

@ -73,7 +73,6 @@ OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2
OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL
OPTIONS_SUB= yes
CURL_DESC= Support for web monitoring
FPING_DESC= Build/install fping for ping checks
IPMI_DESC= Support for IPMI checks
JABBER_DESC= Support for Jabber media type
@ -99,9 +98,6 @@ SQLITE_USES+= sqlite:3
ORACLE_CONFIGURE_WITH= oracle
CURL_CONFIGURE_WITH= libcurl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
@ -126,6 +122,10 @@ 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 \

View File

@ -2,13 +2,14 @@
# $FreeBSD$
PORTNAME= zabbix4
PORTREVISION= 1
CATEGORIES= net-mgmt
PKGNAMESUFFIX= -agent
MASTERDIR= ${.CURDIR}/../zabbix4-server
PLIST= ${PKGDIR}/pkg-plist.agent
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT= OPENSSL
OPTIONS_DEFINE= CURL IPV6
OPTIONS_DEFAULT= CURL OPENSSL
.include "${MASTERDIR}/Makefile"

View File

@ -71,7 +71,6 @@ OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP LIBXML2 UNIXODBC
OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL
OPTIONS_SUB= yes
CURL_DESC= Support for web monitoring
FPING_DESC= Build/install fping for ping checks
IPMI_DESC= Support for IPMI checks
JABBER_DESC= Support for Jabber media type
@ -96,9 +95,6 @@ SQLITE_USES+= sqlite:3
ORACLE_CONFIGURE_WITH= oracle
CURL_CONFIGURE_WITH= libcurl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
LDAP_CONFIGURE_WITH= ldap
LDAP_USE= OPENLDAP=yes
@ -120,6 +116,10 @@ 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 \