summaryrefslogtreecommitdiff
path: root/filesystems/xfsm
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/xfsm
parentmath/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/xfsm')
-rw-r--r--filesystems/xfsm/Makefile15
-rw-r--r--filesystems/xfsm/distinfo3
-rw-r--r--filesystems/xfsm/files/patch-xfsm_util.c11
-rw-r--r--filesystems/xfsm/pkg-descr6
4 files changed, 35 insertions, 0 deletions
diff --git a/filesystems/xfsm/Makefile b/filesystems/xfsm/Makefile
new file mode 100644
index 000000000000..45e8a6629152
--- /dev/null
+++ b/filesystems/xfsm/Makefile
@@ -0,0 +1,15 @@
+PORTNAME= xfsm
+PORTVERSION= 1.99
+PORTREVISION= 2
+CATEGORIES= filesystems sysutils
+MASTER_SITES= SUNSITE/system/status/xstatus
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= X File System Monitor
+
+USES= imake tar:tgz xorg
+USE_XORG= xbitmaps x11 xext
+MAKE_ARGS= CC="${CC}" CCOPTIONS="-DFreeBSD"
+PLIST_FILES= bin/xfsm share/man/man1/${PORTNAME}.1.gz
+
+.include <bsd.port.mk>
diff --git a/filesystems/xfsm/distinfo b/filesystems/xfsm/distinfo
new file mode 100644
index 000000000000..084adda37eca
--- /dev/null
+++ b/filesystems/xfsm/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905176
+SHA256 (xfsm-1.99.tgz) = 6ba199530b282cecea0e82d636f155f73fa5cddf3cef3c66b6a57864801b22da
+SIZE (xfsm-1.99.tgz) = 51872
diff --git a/filesystems/xfsm/files/patch-xfsm_util.c b/filesystems/xfsm/files/patch-xfsm_util.c
new file mode 100644
index 000000000000..3cbc2489196d
--- /dev/null
+++ b/filesystems/xfsm/files/patch-xfsm_util.c
@@ -0,0 +1,11 @@
+--- xfsm_util.c.orig Thu Feb 18 04:35:38 1999
++++ xfsm_util.c Wed Mar 15 03:08:33 2000
+@@ -152,7 +152,7 @@
+ /* *** FreeBSD has fsize which is the physical block size *** */
+ /* *** and bsize which is the optimal transfer block size *** */
+ /* *** and which depends on the filesystem parameter. *** */
+- calc_bsize=stats[i].f_fsize;
++ calc_bsize=stats[i].f_bsize;
+ #endif /* FreeBSD */
+
+ /* *** take the longer of the two 'problematic' strings *** */
diff --git a/filesystems/xfsm/pkg-descr b/filesystems/xfsm/pkg-descr
new file mode 100644
index 000000000000..9a9c488303d7
--- /dev/null
+++ b/filesystems/xfsm/pkg-descr
@@ -0,0 +1,6 @@
+xfsm stands for X File System Monitor and runs under MIT's X11
+window system on several flavors of UNIX. It is a tool designed
+to make monitoring your file systems' status easy by displaying
+a simple bar graph for each file system greater than size 0. It
+updates the file systems' statistics at regular, user definable
+intervals.