git: 474d4707e607 - main - depend-cleanup.sh: Add commented example and remove one more entry
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Nov 2025 17:31:39 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=474d4707e607eedb966685a6e8a2471342c0f23c
commit 474d4707e607eedb966685a6e8a2471342c0f23c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-11-16 17:28:06 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-11-16 17:31:34 +0000
depend-cleanup.sh: Add commented example and remove one more entry
Although the epoch is 20250805, the push for that wasn't until 20250814,
so we can remove the 20250813 entry for tcopy, per jrtc27. Also, include
an example of changing a shell script to a binary, since that's
deceptively tricky, though the code looks simple, per emaste.
There should be no functional changes here.
Sponsored by: Netflix
---
tools/build/depend-cleanup.sh | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index 88b9c3b2e17d..f5d2fdac9dfd 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -260,11 +260,19 @@ check_epoch
# Date Rev Description
-# latest clean epoch:
+# latest clean epoch (but not pushed until 20250814)
# 20250807 # All OpenSSL-using bits need rebuilt
-# 20250813 4f766afc1ca0 tcopy converted to C++
-clean_dep usr.bin/tcopy tcopy c
+# Examples from the past, not currently active
+#
+#Binary program replaced a shell script
+# 20220524 68fe988a40ca kqueue_test binary replaced shell script
+#if stat "$OBJTOP"/tests/sys/kqueue/libkqueue/*kqtest* \
+# "$OBJTOP"/tests/sys/kqueue/libkqueue/.depend.kqtest* >/dev/null 2>&1; then
+# echo "Removing old kqtest"
+# run rm -fv "$OBJTOP"/tests/sys/kqueue/libkqueue/.depend.* \
+# "$OBJTOP"/tests/sys/kqueue/libkqueue/*
+#fi
# 20250904 aef807876c30 moused binary to directory
if [ -f "$OBJTOP"/usr.sbin/moused/moused ]; then