krb5 commit: Fix kdcpolicy build issues

Greg Hudson ghudson at mit.edu
Tue Aug 29 16:40:07 EDT 2017


https://github.com/krb5/krb5/commit/33d52a367f7ddaa843eec3a79f36adfbca6033a2
commit 33d52a367f7ddaa843eec3a79f36adfbca6033a2
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Aug 28 12:20:36 2017 -0400

    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

 src/plugins/kdcpolicy/test/Makefile.in            |    4 ++--
 src/plugins/kdcpolicy/test/kdcpolicy_test.exports |    1 +
 src/plugins/kdcpolicy/test/policy_test.exports    |    1 -
 src/tests/t_kdcpolicy.py                          |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/kdcpolicy/test/Makefile.in b/src/plugins/kdcpolicy/test/Makefile.in
index b81f1a7..ea3484e 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 b5d3084..5b198bb 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}}}


More information about the cvs-krb5 mailing list