From: Greg Hudson Date: Mon, 28 Aug 2017 16:20:36 +0000 (-0400) Subject: Fix kdcpolicy build issues X-Git-Tag: krb5-1.16-beta1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F696%2Fhead;p=thirdparty%2Fkrb5.git Fix kdcpolicy build issues Fix mydir in plugins/kdcpolicy/test/Makefile.in so that the Makefile can be rebuilt correctly. Also change the name of the shared object from "policy_test.so" to "kdcpolicy_test.so" for consistency. ticket: 8606 --- diff --git a/src/plugins/kdcpolicy/test/Makefile.in b/src/plugins/kdcpolicy/test/Makefile.in index b81f1a7ce5..ea3484e13e 100644 --- a/src/plugins/kdcpolicy/test/Makefile.in +++ b/src/plugins/kdcpolicy/test/Makefile.in @@ -1,7 +1,7 @@ -mydir=plugins$(S)policy$(S)test +mydir=plugins$(S)kdcpolicy$(S)test BUILDTOP=$(REL)..$(S)..$(S).. -LIBBASE=policy_test +LIBBASE=kdcpolicy_test LIBMAJOR=0 LIBMINOR=0 RELDIR=../plugins/kdcpolicy/test diff --git a/src/plugins/kdcpolicy/test/policy_test.exports b/src/plugins/kdcpolicy/test/kdcpolicy_test.exports similarity index 100% rename from src/plugins/kdcpolicy/test/policy_test.exports rename to src/plugins/kdcpolicy/test/kdcpolicy_test.exports diff --git a/src/tests/t_kdcpolicy.py b/src/tests/t_kdcpolicy.py index b5d3084615..5b198bb430 100644 --- a/src/tests/t_kdcpolicy.py +++ b/src/tests/t_kdcpolicy.py @@ -5,7 +5,7 @@ import re testpreauth = os.path.join(buildtop, 'plugins', 'preauth', 'test', 'test.so') testpolicy = os.path.join(buildtop, 'plugins', 'kdcpolicy', 'test', - 'policy_test.so') + 'kdcpolicy_test.so') krb5_conf = {'plugins': {'kdcpreauth': {'module': 'test:' + testpreauth}, 'clpreauth': {'module': 'test:' + testpreauth}, 'kdcpolicy': {'module': 'test:' + testpolicy}}}