summaryrefslogtreecommitdiff
path: root/filesystems/exfat-utils
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/exfat-utils')
-rw-r--r--filesystems/exfat-utils/Makefile29
-rw-r--r--filesystems/exfat-utils/distinfo3
-rw-r--r--filesystems/exfat-utils/files/patch-Makefile.am8
-rw-r--r--filesystems/exfat-utils/files/patch-configure.ac21
-rw-r--r--filesystems/exfat-utils/pkg-descr5
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.