73 studio_MT= |
73 studio_MT= |
74 |
74 |
75 CPPFLAGS += -I$(USRINCDIR)/openldap |
75 CPPFLAGS += -I$(USRINCDIR)/openldap |
76 LDFLAGS += $(CC_BITS) -lscf -lresolv |
76 LDFLAGS += $(CC_BITS) -lscf -lresolv |
77 |
77 |
78 # if there is no mediator, use MIT |
|
79 KRB5_API = $(shell pkg mediator -H kerberos5 2>/dev/null | nawk '{print $$4;}') |
|
80 |
|
81 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
78 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR) |
82 CONFIGURE_OPTIONS += --enable-auth-sasldb |
79 CONFIGURE_OPTIONS += --enable-auth-sasldb |
83 CONFIGURE_OPTIONS += --with-saslauthd=/var/run/saslauthd |
80 CONFIGURE_OPTIONS += --with-saslauthd=/var/run/saslauthd |
84 CONFIGURE_OPTIONS += --with-dblib=berkeley |
81 CONFIGURE_OPTIONS += --with-dblib=berkeley |
85 ifeq ($(KRB5_API), solaris) |
|
86 CONFIGURE_OPTIONS += --with-gss_impl=seam |
|
87 else |
|
88 CONFIGURE_OPTIONS += --with-gss_impl=mit |
82 CONFIGURE_OPTIONS += --with-gss_impl=mit |
89 endif |
|
90 CONFIGURE_OPTIONS += --without-gnu-ld |
83 CONFIGURE_OPTIONS += --without-gnu-ld |
91 CONFIGURE_OPTIONS.32 += --with-plugindir=$(SASL2.32) |
84 CONFIGURE_OPTIONS.32 += --with-plugindir=$(SASL2.32) |
92 CONFIGURE_OPTIONS.64 += --with-plugindir=$(SASL2.64) |
85 CONFIGURE_OPTIONS.64 += --with-plugindir=$(SASL2.64) |
93 CONFIGURE_OPTIONS.32 += --with-sasldir=$(SASL2.32) |
86 CONFIGURE_OPTIONS.32 += --with-sasldir=$(SASL2.32) |
94 CONFIGURE_OPTIONS.64 += --with-sasldir=$(SASL2.64) |
87 CONFIGURE_OPTIONS.64 += --with-sasldir=$(SASL2.64) |
196 REQUIRED_PACKAGES += database/berkeleydb-5 |
189 REQUIRED_PACKAGES += database/berkeleydb-5 |
197 REQUIRED_PACKAGES += developer/build/automake-115 |
190 REQUIRED_PACKAGES += developer/build/automake-115 |
198 REQUIRED_PACKAGES += library/openldap |
191 REQUIRED_PACKAGES += library/openldap |
199 REQUIRED_PACKAGES += library/security/openssl |
192 REQUIRED_PACKAGES += library/security/openssl |
200 REQUIRED_PACKAGES += security/kerberos-5 |
193 REQUIRED_PACKAGES += security/kerberos-5 |
201 REQUIRED_PACKAGES += system/library/security/gss |
|
202 REQUIRED_PACKAGES += system/network/ldap/openldap |
194 REQUIRED_PACKAGES += system/network/ldap/openldap |