git: 996606792ff9 - main - Add deprecation notice to the gbde(8) program, scheduled to be removed in FreeBSD 15.0.

From: Poul-Henning Kamp <phk_at_FreeBSD.org>
Date: Tue, 28 Feb 2023 21:39:44 UTC
The branch main has been updated by phk:

URL: https://cgit.FreeBSD.org/src/commit/?id=996606792ff9cfb2a115b6c6ee3d456afa5047f3

commit 996606792ff9cfb2a115b6c6ee3d456afa5047f3
Author:     Poul-Henning Kamp <phk@FreeBSD.org>
AuthorDate: 2023-02-28 21:39:06 +0000
Commit:     Poul-Henning Kamp <phk@FreeBSD.org>
CommitDate: 2023-02-28 21:39:06 +0000

    Add deprecation notice to the gbde(8) program, scheduled to be removed in FreeBSD 15.0.
---
 sbin/gbde/gbde.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sbin/gbde/gbde.c b/sbin/gbde/gbde.c
index 421242c38c80..8f4c2b1fce53 100644
--- a/sbin/gbde/gbde.c
+++ b/sbin/gbde/gbde.c
@@ -737,6 +737,11 @@ main(int argc, char **argv)
 	struct g_bde_key *gl;
 	struct g_bde_softc sc;
 
+	fprintf(stderr, "GBDE disk-encryption is deprecated,\n");
+	fprintf(stderr, "and will be removed in FreeBSD 15.0\n");
+	fprintf(stderr, "(continuing in 5 seconds)\n");
+	sleep(5);
+
 	if (argc < 3)
 		usage();