Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2025 13:54:32 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0559f30a882d - main - krb5: Install the libkrb5clnt.so symlink with the .so
Message-ID:  <202507081354.568DsWnY098022@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=0559f30a882d2f606782b68b9432a1e7362486fc

commit 0559f30a882d2f606782b68b9432a1e7362486fc
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-07-08 13:45:46 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-07-08 13:54:27 +0000

    krb5: Install the libkrb5clnt.so symlink with the .so
    
    For 34 days the libclntkrb5.so symlink was installed as libclntkrb5.
    Fix this and add the error to ObsoleteFiles.inc.
    
    Noted and Makefile patch by fluffy@.
    
    Fixes:          ee3960cba106
---
 ObsoleteFiles.inc           | 3 +++
 krb5/lib/kadm5clnt/Makefile | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 61f948a2c970..faf7c421af80 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,9 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20250708: For 34 days 15.0-CURRENT installed libkadm5clnt symlink without .so
+OLD_FILES+=usr/lib/libkadm5clnt
+
 # 20250626: For 11 days 15.0-CURRENT installed libtpool to the wrong location
 MOVED_LIBS+=usr/lib/libtpool.so.2
 
diff --git a/krb5/lib/kadm5clnt/Makefile b/krb5/lib/kadm5clnt/Makefile
index e377f95f5b6e..ddb9b0e9fec5 100644
--- a/krb5/lib/kadm5clnt/Makefile
+++ b/krb5/lib/kadm5clnt/Makefile
@@ -88,7 +88,7 @@ ${CHPASS_UTIL_STRINGS_ERR_C}: ${CHPASS_UTIL_STRINGS_ERR}
 	rm -f et-c-${.PREFIX}.et et-c-${.PREFIX}.c
 
 afterinstall:
-	${INSTALL_LIBSYMLINK} ${SHLIB} ${DESTDIR}${LIBDIR}/libkadm5clnt
+	${INSTALL_LIBSYMLINK} ${SHLIB_LINK} ${DESTDIR}${LIBDIR}/libkadm5clnt.so
 
 .include <bsd.lib.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507081354.568DsWnY098022>