From e7bcd658eb30d24195581317b4ec3b59b343ec9b Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Wed, 14 May 2025 23:01:55 +0100 Subject: [PATCH] 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 4a1e1920b64..da9d52f4509 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 daaae25815a..65d8b6c3fcb 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 2b6891027b2..145cbde6798 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 eb205604cde..c7cfce78cef 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 810ae058c7b..681d3183bb6 100644 --- a/usr.sbin/fdwrite/Makefile +++ b/usr.sbin/fdwrite/Makefile @@ -6,6 +6,7 @@ # ---------------------------------------------------------------------------- # +PACKAGE= fd PROG= fdwrite .include