pkgsrc-ng/security/mit-krb5/files/krb5-config-wrapper.sh
2014-08-11 13:27:10 +02:00

20 lines
328 B
Bash

#
# Wrapper for the SunOS builtin krb5-config, which does not accept all of the
# 'libraries' arguments that the standard MIT krb5-config does.
#
args=
for arg; do
case "${arg}" in
# Unsupported arguments
gssapi|kadm-client|kadm-server|kdb)
continue
;;
*)
args="${args} ${arg}"
;;
esac
done
@KRB5_CONFIG@ ${args}