From nobody Thu Jan 25 23:15:15 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TLc9w06tBz58Fhn; Thu, 25 Jan 2024 23:15:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TLc9v6kMHz4m10; Thu, 25 Jan 2024 23:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706224515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vOsaWwknVCSwo2D+m6pz1A3haUd0Usc3zs7Exqtru78=; b=YO2FiTY64PlKa0yaRLJaMNMfgtyVvSfWW/Mn/LC7g4XDOj87ijuqRqBBnh3U5a97/biy7i 1zCi+mqq6BiSlYDgH1tQ2PJ6sYPIUiwnZJd/ZHJdR28Kx58SLwMWD+GVzcHAwX6bft+PKN e1PwCjZt69KTZHqGqha08XVlbuyzakKTZMDaNeWkNohopzsEE5I+hkqr2SmmxHqNMheGNy hQkmE7ANqaqmSxVPVU6blkVEHxYHlj0x74O0JNuD/PYwlT9/nMAtlpei5cexRqsbH/VTjq 6ErIvxnOZ9ZJ+7x3CjzVDlsPw2GwHJUU4/LvHUaENtl03kmZ0ob8JJ6q8tlOfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706224515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vOsaWwknVCSwo2D+m6pz1A3haUd0Usc3zs7Exqtru78=; b=H9fZ7DhEGBP1XmoGGaJKOt6r2NNNuGnqUV3eDA7n49UilsW5GnMW7pIlXTlArc/hia7J3Q 67jio7QtM4e7YBg92jBrzCj77oxV23RCpGUD/bicXycgTCvA9Hi0wLH+YAkHUeRYGFd6Tw uy9nCDWxTybpd3hNMADOyCB5vEsoEID0hb2U8tykC1Esyx0sY8MjxYPA4uv2VpbEhTTAbH zAMdqb6G3bBucyWeWig8/n4nhZeM2mdRqJetwY2bWUB53gFp1+lrRNmu0nPAxXFZDN5SXs gtrJQ1nBPy2IWSFJcc51TYkb/3Yl4FEshD9D/hPVohdKN9uxQMUPQraV7m0L4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706224515; a=rsa-sha256; cv=none; b=yAX/2KKynsuKrwdVMKBQN2jHjlcTV0crKc7nlcqlK+4w/pKVJNwydMWqYq3YSZrOZm6U7S PBf98loLyD4FZLkTJ00y12qX3osFBQKDzXM3q17mUgByLjmyoDntAaOJ2IYzSaf37Oc5pk xPc1nKgcFMEBc+RjkeC2VN/x2YQQPoB6KbjUbjh3Fi/fL5Exadlv4Pml8ac6jGFFfVEcz7 QlDJdeqOxh8tqGVBvSW8Vt6RGWJTN5VT8vWkHxK8Doly7HgjanbO3IaOyw5XLxrFdmM4Ii O26fcK9b6suNMNbIHEbo2qhnLmCGh6pt/a3Q8IpeDBzNVg4A04SVeyEhW3MDgQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TLc9v5nF7zGyP; Thu, 25 Jan 2024 23:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40PNFFtq083775; Thu, 25 Jan 2024 23:15:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40PNFFTT083772; Thu, 25 Jan 2024 23:15:15 GMT (envelope-from git) Date: Thu, 25 Jan 2024 23:15:15 GMT Message-Id: <202401252315.40PNFFTT083772@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: c53e9713c2e5 - main - sysutils/freebsd-fdisk: New port in preparation of fdisk removal List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c53e9713c2e5a26c23ce3707d372e95934eeeb4a Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c53e9713c2e5a26c23ce3707d372e95934eeeb4a commit c53e9713c2e5a26c23ce3707d372e95934eeeb4a Author: Cy Schubert AuthorDate: 2024-01-25 22:50:06 +0000 Commit: Cy Schubert 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 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