pull up r23662 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 21 Jan 2010 22:49:01 +0000 (22:49 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 21 Jan 2010 22:49:01 +0000 (22:49 +0000)
 ------------------------------------------------------------------------
 r23662 | ghudson | 2010-01-19 13:44:57 -0500 (Tue, 19 Jan 2010) | 3 lines

 ticket: 6644
 subject: Change basename of libkadm5 libraries to avoid Heimdal conflict

ticket: 6644
version_fixed: 1.8
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-8@23664 dc483132-0cff-0310-8789-dd5450dbe970

src/config/pre.in
src/krb5-config.in
src/lib/kadm5/clnt/Makefile.in
src/lib/kadm5/clnt/libkadm5clnt_mit.exports [moved from src/lib/kadm5/clnt/libkadm5clnt.exports with 100% similarity]
src/lib/kadm5/srv/Makefile.in
src/lib/kadm5/srv/libkadm5srv_mit.exports [moved from src/lib/kadm5/srv/libkadm5srv.exports with 100% similarity]

index 75204a314e9c8c69fe52d035268d53857556df77..db9b1ccc878d54bc254b0493e9b587efa757df41 100644 (file)
@@ -316,8 +316,8 @@ DEPLIBEXT=@DEPLIBEXT@
 KDB5_PLUGIN_DEPLIBS = @KDB5_PLUGIN_DEPLIBS@
 KDB5_PLUGIN_LIBS = @KDB5_PLUGIN_LIBS@
 
-KADMCLNT_DEPLIB        = $(TOPLIBD)/libkadm5clnt$(DEPLIBEXT)
-KADMSRV_DEPLIB = $(TOPLIBD)/libkadm5srv$(DEPLIBEXT)
+KADMCLNT_DEPLIB        = $(TOPLIBD)/libkadm5clnt_mit$(DEPLIBEXT)
+KADMSRV_DEPLIB = $(TOPLIBD)/libkadm5srv_mit$(DEPLIBEXT)
 KDB5_DEPLIB    = $(TOPLIBD)/libkdb5$(DEPLIBEXT)
 GSSRPC_DEPLIB  = $(TOPLIBD)/libgssrpc$(DEPLIBEXT)
 GSS_DEPLIB     = $(TOPLIBD)/libgssapi_krb5$(DEPLIBEXT)
@@ -385,8 +385,8 @@ GSS_LIBS    = $(GSS_KRB5_LIB)
 GSSRPC_LIBS    = -lgssrpc $(GSS_LIBS)
 KADM_COMM_LIBS = $(GSSRPC_LIBS)
 # need fixing if ever used on Mac OS X!
-KADMSRV_LIBS   = -lkadm5srv $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
-KADMCLNT_LIBS  = -lkadm5clnt $(KADM_COMM_LIBS)
+KADMSRV_LIBS   = -lkadm5srv_mit $(HESIOD_LIBS) $(KDB5_LIBS) $(KADM_COMM_LIBS)
+KADMCLNT_LIBS  = -lkadm5clnt_mit $(KADM_COMM_LIBS)
 
 # libutil for NetBSD, et al. for openpty(), etc.
 UTIL_LIB       = @UTIL_LIB@
index 1952ccb5c87162d7e60e79e91fdf06bb5b75cb2e..8435d02b0a0e22a883007b3b9d9fe2ad29288bb7 100755 (executable)
@@ -194,12 +194,12 @@ if test -n "$do_libs"; then
     fi
 
     if test $library = 'kadm_server'; then
-       lib_flags="$lib_flags -lkadm5srv -lkdb5 $KDB5_DB_LIB"
+       lib_flags="$lib_flags -lkadm5srv_mit -lkdb5 $KDB5_DB_LIB"
        library=kadm_common
     fi
 
     if test $library = 'kadm_client'; then
-       lib_flags="$lib_flags -lkadm5clnt"
+       lib_flags="$lib_flags -lkadm5clnt_mit"
        library=kadm_common
     fi
 
index aceb949fa05ed91bf62de03b584450a6447d5355..f6a11b43afa5ab4e5c59e481470aa431a8981878 100644 (file)
@@ -3,7 +3,7 @@ BUILDTOP=$(REL)..$(S)..$(S)..
 LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
 DEFS=
 
-LIBBASE=kadm5clnt
+LIBBASE=kadm5clnt_mit
 LIBMAJOR=7
 LIBMINOR=0
 STOBJLISTS=../OBJS.ST OBJS.ST
@@ -70,6 +70,11 @@ clean-unix:: clean-liblinks clean-libs clean-libobjs
 
 install:: install-libs
 
+install-unix::
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/libkadm5clnt$(DEPLIBEXT)
+       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(DEPLIBEXT) \
+               libkadm5clnt$(DEPLIBEXT))
+
 depend:: includes
 
 @lib_frag@
index e813830def99e63254aa24b2e54055c5b288bb36..9e8b26f833da100bff5984f372be8da86aeba3db 100644 (file)
@@ -9,7 +9,7 @@ DEFS=
 ##DOSBUILDTOP = ..\..\..
 ##DOSLIBNAME = libkadm5srv.lib
 
-LIBBASE=kadm5srv
+LIBBASE=kadm5srv_mit
 LIBMAJOR=7
 LIBMINOR=0
 STOBJLISTS=../OBJS.ST OBJS.ST
@@ -87,6 +87,11 @@ clean-unix:: clean-liblinks clean-libs clean-libobjs
 
 install:: install-libs
 
+install-unix::
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/libkadm5srv$(DEPLIBEXT)
+       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(DEPLIBEXT) \
+               libkadm5srv$(DEPLIBEXT))
+
 depend:: includes
 
 @lib_frag@