git: c53e9713c2e5 - main - sysutils/freebsd-fdisk: New port in preparation of fdisk removal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jan 2024 23:15:15 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c53e9713c2e5a26c23ce3707d372e95934eeeb4a commit c53e9713c2e5a26c23ce3707d372e95934eeeb4a Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2024-01-25 22:50:06 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2024-01-25 22:50:06 +0000 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. --- sysutils/Makefile | 1 + sysutils/freebsd-fdisk/Makefile | 26 ++++++++++++++++++++++++++ sysutils/freebsd-fdisk/distinfo | 3 +++ sysutils/freebsd-fdisk/pkg-descr | 2 ++ sysutils/freebsd-fdisk/pkg-plist | 2 ++ 5 files changed, 34 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index bcfdee9df7d6..83d91a7a9b9c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -425,6 +425,7 @@ SUBDIR += fpart SUBDIR += frand SUBDIR += freebsd-bsdlabel + SUBDIR += freebsd-fdisk SUBDIR += freebsd-snapshot SUBDIR += freecolor SUBDIR += freedt diff --git a/sysutils/freebsd-fdisk/Makefile b/sysutils/freebsd-fdisk/Makefile new file mode 100644 index 000000000000..72ef7db8c4ea --- /dev/null +++ b/sysutils/freebsd-fdisk/Makefile @@ -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> diff --git a/sysutils/freebsd-fdisk/distinfo b/sysutils/freebsd-fdisk/distinfo new file mode 100644 index 000000000000..de0114aca898 --- /dev/null +++ b/sysutils/freebsd-fdisk/distinfo @@ -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 diff --git a/sysutils/freebsd-fdisk/pkg-descr b/sysutils/freebsd-fdisk/pkg-descr new file mode 100644 index 000000000000..8f03f29ae423 --- /dev/null +++ b/sysutils/freebsd-fdisk/pkg-descr @@ -0,0 +1,2 @@ +freebsd-fdisk: This is/was FreeBSD sbin/fdisk prior to its removal +in FreeBSD-15. diff --git a/sysutils/freebsd-fdisk/pkg-plist b/sysutils/freebsd-fdisk/pkg-plist new file mode 100644 index 000000000000..68dae2e64b9e --- /dev/null +++ b/sysutils/freebsd-fdisk/pkg-plist @@ -0,0 +1,2 @@ +sbin/fdisk +share/man/man8/fdisk.8.gz