summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-09-05 21:26:15 +0200
committerAndrei Pavel <andrei@isc.org>2022-10-07 14:06:27 +0200
commitf90492b4bc005ff8ea30b7881de41dbc5a95f58f (patch)
treef043f3fff1bd987e3161a5ba7064ca04b0041551
parent[#2539] hammer.py: reinstall pkg to update repositories (diff)
downloadkea-f90492b4bc005ff8ea30b7881de41dbc5a95f58f.tar.xz
kea-f90492b4bc005ff8ea30b7881de41dbc5a95f58f.zip
[#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.
-rwxr-xr-xhammer.py3
1 files changed, 3 insertions, 0 deletions
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'])