summaryrefslogtreecommitdiff
path: root/filesystems/xfsm
diff options
context:
space:
mode:
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.