On 08/09/2014 12:27, Milan Jurik via illumos-discuss wrote:
Hi.
I looked there and so I came to this question. It seems that Solaris 11
krb5-config knows about gssapi.
I did not use krb5-config file but include mod_gss and mod_auth_gss
directly to the proftpd source tree and set krb build flags. Again, look
at userland gate, the build works there (I tested it just now).
Hi.
I look at userland-gate proftpd component (latest changeset
2031:5b9a9cd91149 - 18197420 pkg publisher provider should handle
set/disable combination) and see:
# Copy Solaris modules and GSSAPI modules to proftpd source tree
COMPONENT_PRE_CONFIGURE_ACTION = \
($(CP) mod_solaris_audit.c $(SOURCE_DIR)/contrib ; \
$(CP) mod_solaris_priv.c $(SOURCE_DIR)/contrib ; \
cd $(BUILD_DIR) ; \
$(UNPACK) $(UNPACK_ARGS) ../$(COMPONENT_ARCHIVE_1) ; \
cd $(COMPONENT_SRC_1) ; \
./configure CC="$(CC)" CFLAGS="-I/usr/include/kerberosv5" ; \
$(CP) mod_gss.c mod_auth_gss.c $(SOURCE_DIR)/contrib ; \
$(CP) mod_gss.h $(SOURCE_DIR)/include ; \
$(CP) mod_gss.html $(SOURCE_DIR)/doc/contrib ; \
$(CLONEY) $(SOURCE_DIR) $(@D))
This step makes mod_gss.(c|h) from mod_gss.(c|h).in.
configure calls "krb5-config --cflags gssapi" and fails there (so,
mod_gss.c and mod_gss.h are not generated).
As workaround I've added fake krb5-config which accepts this option and
passed it to "--with-krb5-config" option.
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription:
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com