FYI: Example of pkgbase /usr/src/ files with differences vs. what uname -apKU reports for the commit hash
Date: Wed, 13 Aug 2025 01:39:00 UTC
From a recent pkgbase upgrade:
# uname -apKU
FreeBSD 7950X3D-ZFS 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE main-n279547-b89104dfd5cf GENERIC-NODEBUG amd64 amd64 1500059 1500059
That upgrade sequence established its own /usr/src/ update.
Then:
# cd /usr/
# git clone -b main https://git.freebsd.org/src.git src-alt
# cd /usr/src-alt/
# git checkout b89104dfd5cf
. . .
# diff -rq -x .git /usr/src/ /usr/src-alt/
Files /usr/src/ObsoleteFiles.inc and /usr/src-alt/ObsoleteFiles.inc differ
Only in /usr/src/contrib/sqlite3/tea: tclconfig
Only in /usr/src/contrib/sqlite3/tea: win
Only in /usr/src/crypto/krb5/src/kadmin: kdbkeys
Only in /usr/src/crypto/krb5/src/kadmin: scripts
Only in /usr/src/crypto/krb5/src/lib/crypto/crypto_tests: test
Only in /usr/src/crypto/krb5/src/lib/krb5: posix
Only in /usr/src/crypto/krb5/src/tests: softpkcs11
Only in /usr/src/krb5/include: krb5_private
Files /usr/src/krb5/usr.bin/ksu/Makefile and /usr/src-alt/krb5/usr.bin/ksu/Makefile differ
Only in /usr/src/lib/libprocstat: zfs
Only in /usr/src/share/doc/legal: intel_iwlwififw
Only in /usr/src/stand/i386: zfsboot
Only in /usr/src/sys/arm/ti: omap4
Only in /usr/src/sys/arm/ti: twl
Only in /usr/src/sys/arm/ti: usb
Only in /usr/src/sys/contrib/dev: iwlwififw
Only in /usr/src/sys/contrib/openzfs/lib/libzpool: include
Only in /usr/src/sys/modules/dtb: omap4
Only in /usr/src/sys/modules: iwlwififw
Only in /usr/src/tools/tools/net80211: wlanstats
Only in /usr/src/usr.bin: objcopy
Only in /usr/src/usr.bin: shar
Only in /usr/src/usr.sbin: nvmfd
Only in /usr/src/usr.sbin: rpc.ypupdated
# diff -u /usr/src/ObsoleteFiles.inc /usr/src-alt/ObsoleteFiles.inc
--- /usr/src/ObsoleteFiles.inc 2025-08-11 15:40:54.000000000 -0700
+++ /usr/src-alt/ObsoleteFiles.inc 2025-08-12 12:07:44.279492000 -0700
@@ -61,8 +61,6 @@
# 20250807: Replace lib/libgssapi with krb5/lib/gssapi
OLD_FILES+=usr/include/gssapi_krb5/gssapi.h
-OLD_FILES+=usr/include/gssapi_krb5/gssapi/gssapi.h
-OLD_FILES+=usr/include/gssapi_krb5/gssapi/mechglue.h
OLD_DIRS+=usr/include/gssapi_krb5/gssapi
OLD_DIRS+=usr/include/gssapi_krb5
OLD_FILES+=etc/gssapi/qop
# diff -u /usr/src/krb5/usr.bin/ksu/Makefile /usr/src-alt/krb5/usr.bin/ksu/Makefile
--- /usr/src/krb5/usr.bin/ksu/Makefile 2025-08-11 15:40:54.000000000 -0700
+++ /usr/src-alt/krb5/usr.bin/ksu/Makefile 2025-08-12 12:07:44.279733000 -0700
@@ -23,8 +23,7 @@
xmalloc.c
CFLAGS+=-I${KRB5_DIR}/include \
- -I${KRB5_SRCTOP}/include \
- -DGET_TGT_VIA_PASSWD
+ -I${KRB5_SRCTOP}/include
MAN= ksu.1
===
Mark Millard
marklmi at yahoo.com