View | Details | Raw Unified | Return to bug 254165
Collapse All | Expand All

(-)net/freeradius3/Makefile (+20 lines)
Lines 21-26 Link Here
21
LIB_DEPENDS=	libgdbm.so:databases/gdbm \
21
LIB_DEPENDS=	libgdbm.so:databases/gdbm \
22
		libtalloc.so:devel/talloc
22
		libtalloc.so:devel/talloc
23
23
24
FLAVORS=	default ldap mysql pgsql sqlite3
25
FLAVOR?=	${FLAVORS:[1]}
26
ldap_PKGNAMESUFFIX=	-ldap
27
mysql_PKGNAMESUFFIX=	-mysql
28
pgsql_PKGNAMESUFFIX=	-pgsql
29
sqlite3_PKGNAMESUFFIX=	-sqlite3
30
24
LOGDIR?=	/var/log
31
LOGDIR?=	/var/log
25
KRB5_CONFIG?=	/usr/bin/krb5-config --libs
32
KRB5_CONFIG?=	/usr/bin/krb5-config --libs
26
33
Lines 52-57 Link Here
52
OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO
59
OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO
53
OPTIONS_SINGLE=	KRB
60
OPTIONS_SINGLE=	KRB
54
OPTIONS_SINGLE_KRB=	NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT
61
OPTIONS_SINGLE_KRB=	NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT
62
63
.if ${FLAVOR} == ldap
64
OPTIONS_DEFAULT+=	LDAP
65
.endif
66
.if ${FLAVOR} == mysql
67
OPTIONS_DEFAULT+=	MYSQL
68
.endif
69
.if ${FLAVOR} == pgsql
70
OPTIONS_DEFAULT+=	PGSQL
71
.endif
72
.if ${FLAVOR} == sqlite3
73
OPTIONS_DEFAULT+=	SQLITE3
74
.endif
55
75
56
USER_DESC=		Run as user freeradius, group freeradius
76
USER_DESC=		Run as user freeradius, group freeradius
57
KRB_DESC=		${KERBEROS_DESC}
77
KRB_DESC=		${KERBEROS_DESC}

Return to bug 254165