Compare commits
2 Commits
bd64ef4f7b
...
ec7fea8ffb
| Author | SHA1 | Date | |
|---|---|---|---|
| ec7fea8ffb | |||
| 3010baafd3 |
@ -10,6 +10,10 @@ WWW= https://www.nagios.org/
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
FLAVORS= default monplugins
|
||||
FLAVOR?= ${FLAVOR:[1]}
|
||||
monplugins_PKGNAMESUFFIX= -monplugins
|
||||
|
||||
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
||||
libgd.so:graphics/gd
|
||||
|
||||
@ -76,8 +80,13 @@ NANOSLEEP_DESC= Use nanosleep in event timing
|
||||
EVENT_BROKER_DESC= Enable event broker functionality
|
||||
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
|
||||
|
||||
.if ${FLAVOR} == monpluging
|
||||
RUN_DEPENDS+= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
|
||||
.else
|
||||
# Fallback to OPTIONS
|
||||
MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins
|
||||
NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins
|
||||
.endif
|
||||
|
||||
OPTIONS_SUB=
|
||||
|
||||
|
||||
@ -12,6 +12,10 @@ LICENSE_NAME= Sudo license
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
FLAVORS= default sssd
|
||||
FLAVOR?= ${FLAVORS:[1]}
|
||||
sssd_PKGNAMESUFFIX= -sssd
|
||||
|
||||
USES= cpe libtool pkgconfig
|
||||
CPE_VENDOR= todd_miller
|
||||
USE_LDCONFIG= yes
|
||||
@ -92,8 +96,13 @@ SSSD_PREVENTS_MSG= sssd requires MIT kerberos and it conflicts with heimdal
|
||||
SSSD_RUN_DEPENDS= sssd:security/sssd
|
||||
SSSD_CONFIGURE_ON= --with-sssd
|
||||
|
||||
.if ${FLAVOR} == sssd
|
||||
RUN_DEPENDS+= sssd:security/sssd2
|
||||
CONFIGURE_ARGS+= --with-sssd
|
||||
.else
|
||||
SSSD2_RUN_DEPENDS= sssd:security/sssd2
|
||||
SSSD2_CONFIGURE_ON= --with-sssd
|
||||
.endif
|
||||
|
||||
LOGFAC?= authpriv
|
||||
SUDO_LDAP_CONF?= ldap.conf
|
||||
|
||||
Reference in New Issue
Block a user