From f90492b4bc005ff8ea30b7881de41dbc5a95f58f Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Mon, 5 Sep 2022 22:26:15 +0300 Subject: [PATCH] [#2539] hammer.py: delete the default Heimdal krb5-config in FreeBSD This makes it possible for Kea to pick up by default on the krb5-config from the MIT version of Kerberos packages. --- hammer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hammer.py b/hammer.py index b66ff0f946..ebdd4ffbb0 100755 --- a/hammer.py +++ b/hammer.py @@ -1833,6 +1833,9 @@ def prepare_system_local(features, check_times): if 'gssapi' in features: packages.extend(['krb5', 'krb5-devel']) + # FreeBSD comes with a Heimdal krb5-config by default. Make sure + # it's deleted so that Kea uses the MIT packages added just above. + execute('sudo rm -f /usr/bin/krb5-config') if 'ccache' in features: packages.extend(['ccache'])