git: e7bcd658eb30 - main - packages: move floppy utilities into a new package

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Thu, 15 May 2025 00:04:22 UTC
The branch main has been updated by ivy:

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

commit e7bcd658eb30d24195581317b4ec3b59b343ec9b
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-05-14 22:01:55 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-05-15 00:02:52 +0000

    packages: move floppy utilities into a new package
    
    Very few people use floppy disks nowadays.  Move the fd utilities into a
    new package.
    
    Reviewed by:    imp, des
    Approved by:    des (mentor)
    Differential Revision:  https://reviews.freebsd.org/D50291
---
 release/packages/Makefile.package | 2 ++
 usr.sbin/fdcontrol/Makefile       | 1 +
 usr.sbin/fdformat/Makefile        | 1 +
 usr.sbin/fdread/Makefile          | 1 +
 usr.sbin/fdwrite/Makefile         | 1 +
 5 files changed, 6 insertions(+)

diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 4a1e1920b64e..da9d52f45099 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -67,6 +67,8 @@ elftoolchain_COMMENT=	ElfToolchain programs and libraries
 elftoolchain_DESC=	ElfToolchain programs and libraries
 examples_COMMENT=	Examples in /usr/share/examples
 examples_DESC=		Examples in /usr/share/examples
+fd_COMMENT=		Floppy disk support
+fd_DESC=		Floppy disk support
 fetch_COMMENT=		Fetch Utility
 fetch_DESC=		Fetch Utility
 firmware-iwm_DESC=	iwm(4) firmwares
diff --git a/usr.sbin/fdcontrol/Makefile b/usr.sbin/fdcontrol/Makefile
index daaae25815aa..65d8b6c3fcb7 100644
--- a/usr.sbin/fdcontrol/Makefile
+++ b/usr.sbin/fdcontrol/Makefile
@@ -1,5 +1,6 @@
 .PATH: ${.CURDIR:H}/fdread
 
+PACKAGE= fd
 PROG=	fdcontrol
 SRCS=	fdcontrol.c fdutil.c
 CFLAGS+= -I${.CURDIR:H}/fdread
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 2b6891027b22..145cbde6798a 100644
--- a/usr.sbin/fdformat/Makefile
+++ b/usr.sbin/fdformat/Makefile
@@ -1,5 +1,6 @@
 .PATH: ${.CURDIR:H}/fdread
 
+PACKAGE= fd
 PROG=	fdformat
 MAN=	fdformat.8
 SRCS=	fdformat.c fdutil.c
diff --git a/usr.sbin/fdread/Makefile b/usr.sbin/fdread/Makefile
index eb205604cde0..c7cfce78cef5 100644
--- a/usr.sbin/fdread/Makefile
+++ b/usr.sbin/fdread/Makefile
@@ -1,3 +1,4 @@
+PACKAGE= fd
 PROG=	fdread
 SRCS=	fdread.c fdutil.c
 
diff --git a/usr.sbin/fdwrite/Makefile b/usr.sbin/fdwrite/Makefile
index 810ae058c7b0..681d3183bb61 100644
--- a/usr.sbin/fdwrite/Makefile
+++ b/usr.sbin/fdwrite/Makefile
@@ -6,6 +6,7 @@
 # ----------------------------------------------------------------------------
 #
 
+PACKAGE= fd
 PROG=	fdwrite
 
 .include <bsd.prog.mk>