# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/heimdal/parse-config # Copyright (C) 2004 - 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- if pkginstalled -n heimdal && [ $stagelevel -ge 5 ]; then [ -x $(pkgprefix bindir heimdal)/krb5-config ] && KRB5PREFIX="=`krb5-config --prefix`" # Catch alls for kerberos configs var_append confopt ' ' "--with-kerberos" #This usually supports 4 only #var_append confopt ' ' "--with-krb4" #4 Only and not recommended var_append confopt ' ' "--with-krb5$KRB5PREFIX" # From nfs-utils var_append confopt ' ' "--with-krb5-includes=$(pkgprefix includedir heimdal)" # from evolution-data-server var_append confopt ' ' "--with-krb5-libs=$(pkgprefix libdir heimdal)" # from evolution-data-server var_append confopt ' ' "--with-kerberos5$KRB5PREFIX" #From openssh and fetchmail var_append confopt ' ' "--with-gss" #From mutt var_append confopt ' ' "--with-gssapi$KRB5PREFIX" #From cvs var_append confopt ' ' "--enable-gssapi$KRB5PREFIX" #From cyrus-sasl2 if [ "$KRB5PREFIX" ]; then var_append confopt ' ' "--with-gssapi-includes$KRB5PREFIX/include" # From curl var_append confopt ' ' "--with-gssapi-libs$KRB5PREFIX/lib" # From curl fi fi