diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2024-09-27 12:48:46 +0200 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2024-11-06 16:17:35 +0100 |
commit | 6e2da9672f79f44048d597f0f61e4646cdeade9d (patch) | |
tree | c92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/exfat-utils | |
parent | math/sdpa: speed up build (diff) |
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
Diffstat (limited to 'filesystems/exfat-utils')
-rw-r--r-- | filesystems/exfat-utils/Makefile | 29 | ||||
-rw-r--r-- | filesystems/exfat-utils/distinfo | 3 | ||||
-rw-r--r-- | filesystems/exfat-utils/files/patch-Makefile.am | 8 | ||||
-rw-r--r-- | filesystems/exfat-utils/files/patch-configure.ac | 21 | ||||
-rw-r--r-- | filesystems/exfat-utils/pkg-descr | 5 |
5 files changed, 66 insertions, 0 deletions
diff --git a/filesystems/exfat-utils/Makefile b/filesystems/exfat-utils/Makefile new file mode 100644 index 000000000000..ca8e499a18f3 --- /dev/null +++ b/filesystems/exfat-utils/Makefile @@ -0,0 +1,29 @@ +PORTNAME= exfat +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.0 +PORTREVISION= 1 +CATEGORIES= filesystems sysutils +PKGNAMESUFFIX= -utils + +MAINTAINER= samm@FreeBSD.org +COMMENT= Utilities to create, check, label and dump exFAT filesystem +WWW= https://github.com/relan/exfat + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libublio.so:devel/libublio + +USES= autoreconf cpe localbase pkgconfig +CPE_VENDOR= ${PORTNAME}_project +USE_GITHUB= yes +GH_ACCOUNT= relan +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share + +PLIST_FILES= sbin/exfatlabel sbin/dumpexfat sbin/exfatfsck sbin/mkexfatfs \ + sbin/fsck.exfat sbin/mkfs.exfat sbin/exfatattrib \ + share/man/man8/exfatlabel.8.gz share/man/man8/mkexfatfs.8.gz share/man/man8/exfatfsck.8.gz \ + share/man/man8/dumpexfat.8.gz share/man/man8/exfatattrib.8.gz + +.include <bsd.port.mk> diff --git a/filesystems/exfat-utils/distinfo b/filesystems/exfat-utils/distinfo new file mode 100644 index 000000000000..4b38f1e77983 --- /dev/null +++ b/filesystems/exfat-utils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685989221 +SHA256 (relan-exfat-v1.4.0_GH0.tar.gz) = af560659f55dca0270f94809530f359d6bdad5d313133c68b458fb0a8eeab1c8 +SIZE (relan-exfat-v1.4.0_GH0.tar.gz) = 62390 diff --git a/filesystems/exfat-utils/files/patch-Makefile.am b/filesystems/exfat-utils/files/patch-Makefile.am new file mode 100644 index 000000000000..672480a6c8cc --- /dev/null +++ b/filesystems/exfat-utils/files/patch-Makefile.am @@ -0,0 +1,8 @@ +--- Makefile.am.orig 2023-06-05 18:39:49 UTC ++++ Makefile.am +@@ -20,4 +20,4 @@ + # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + # + +-SUBDIRS = libexfat attrib dump fsck fuse label mkfs ++SUBDIRS = libexfat attrib dump fsck label mkfs diff --git a/filesystems/exfat-utils/files/patch-configure.ac b/filesystems/exfat-utils/files/patch-configure.ac new file mode 100644 index 000000000000..23a8ce7511e0 --- /dev/null +++ b/filesystems/exfat-utils/files/patch-configure.ac @@ -0,0 +1,21 @@ +--- configure.ac.orig 2023-06-05 18:39:27 UTC ++++ configure.ac +@@ -37,10 +37,6 @@ PKG_CHECK_MODULES([UBLIO], [libublio], [ + AC_DEFINE([USE_UBLIO], [1], + [Define if block devices are not supported.]) + ], [:]) +-PKG_CHECK_MODULES([FUSE3], [fuse3], +- [AC_DEFINE([FUSE_USE_VERSION], [30], [Required FUSE API version.])], +- [PKG_CHECK_MODULES([FUSE2], [fuse >= 2.6], +- [AC_DEFINE([FUSE_USE_VERSION], [26], [Required FUSE API version.])])]) + case "$host_os" in + *-gnu) + AC_DEFINE([_XOPEN_SOURCE], [500], [Enable pread() and pwrite().]) +@@ -53,7 +49,6 @@ AC_CONFIG_FILES([ + attrib/Makefile + dump/Makefile + fsck/Makefile +- fuse/Makefile + label/Makefile + mkfs/Makefile + Makefile]) diff --git a/filesystems/exfat-utils/pkg-descr b/filesystems/exfat-utils/pkg-descr new file mode 100644 index 000000000000..e9c5bd8916e4 --- /dev/null +++ b/filesystems/exfat-utils/pkg-descr @@ -0,0 +1,5 @@ +Utilities to manage extended file allocation table filesystem. This package +provides tools to create, check and label the filesystem. +It contains dumpexfat to dump properties of the filesystem, exfatfsck to report +errors found on a exFAT filesystem, exfatlabel to label a exFAT filesystem and +mkexfatfs to create a exFAT filesystem. |