sysutils/freebsd-fdisk: New port in preparation of fdisk removal

fdisk(8) will be removed from 15-CURRENT. The tool is still somewhat
useful in a few cases. Make a port of it for those who might need it.

It's currently hosted in a repo in my GH account created using
devel/git-filter-repo.
This commit is contained in:
Cy Schubert 2024-01-25 14:50:06 -08:00
parent d4e3a125e7
commit c53e9713c2
5 changed files with 34 additions and 0 deletions

View file

@ -425,6 +425,7 @@
SUBDIR += fpart SUBDIR += fpart
SUBDIR += frand SUBDIR += frand
SUBDIR += freebsd-bsdlabel SUBDIR += freebsd-bsdlabel
SUBDIR += freebsd-fdisk
SUBDIR += freebsd-snapshot SUBDIR += freebsd-snapshot
SUBDIR += freecolor SUBDIR += freecolor
SUBDIR += freedt SUBDIR += freedt

View file

@ -0,0 +1,26 @@
PORTNAME= freebsd-fdisk
DISTVERSIONPREFIX= v
DISTVERSION= 15.0
CATEGORIES= sysutils
MAINTAINER= cy@FreeBSD.org
COMMENT= FreeBSD fdisk
WWW= https://github.com/cschuber/freebsd-fdisk
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= cschuber
GH_PROJECT= freebsd-fdisk
USES= uidfix
MAKE_ARGS+= BINOWN=${BINOWN} BINMODE=${BINMODE}
MAKE_ENV+= MAKESYSPATH=/usr/src/share/mk \
BINDIR=${PREFIX}/sbin \
MANDIR=${PREFIX}/share/man/man \
MK_WERROR=no
WRKSRC_SUBDIR= fdisk
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1706222926
SHA256 (cschuber-freebsd-fdisk-v15.0_GH0.tar.gz) = 970bdb41b77e91f2657d9d91e62cc441eefac93acd0cbde0d620a3d9fd2a61e4
SIZE (cschuber-freebsd-fdisk-v15.0_GH0.tar.gz) = 17381

View file

@ -0,0 +1,2 @@
freebsd-fdisk: This is/was FreeBSD sbin/fdisk prior to its removal
in FreeBSD-15.

View file

@ -0,0 +1,2 @@
sbin/fdisk
share/man/man8/fdisk.8.gz