Compare commits

...

2 Commits

Author SHA1 Message Date
ec7fea8ffb Adding sssd flavor 2024-12-16 13:02:16 +01:00
3010baafd3 Add Flavor 2024-12-16 11:24:15 +01:00
2 changed files with 18 additions and 0 deletions

View File

@ -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=

View File

@ -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