diff options
author | oliver <oliver@FreeBSD.org> | 2003-07-24 01:00:33 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-07-24 01:00:33 +0800 |
commit | 0fa304fd03263736dd292ac666e27716be372aba (patch) | |
tree | 56dad41552324612a2da36a080218a01c7dcd7b5 /sysutils | |
parent | 05f230a40c9f8540a4304641b1f6e2183da7a044 (diff) | |
download | freebsd-ports-gnome-0fa304fd03263736dd292ac666e27716be372aba.tar.gz freebsd-ports-gnome-0fa304fd03263736dd292ac666e27716be372aba.tar.zst freebsd-ports-gnome-0fa304fd03263736dd292ac666e27716be372aba.zip |
Add disktool 2.0,
xView sysadmin tool for monitoring diskfull
situations.
PR: 52495
Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/disktool/Makefile | 37 | ||||
-rw-r--r-- | sysutils/disktool/distinfo | 1 | ||||
-rw-r--r-- | sysutils/disktool/files/patch-Makefile | 34 | ||||
-rw-r--r-- | sysutils/disktool/pkg-descr | 15 | ||||
-rw-r--r-- | sysutils/disktool/pkg-plist | 1 |
6 files changed, 89 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 57627d3869d0..f9cdee015d74 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -64,6 +64,7 @@ SUBDIR += dim SUBDIR += dirdiff SUBDIR += diskcheckd + SUBDIR += disktool SUBDIR += disktype SUBDIR += diskusage SUBDIR += doconfig diff --git a/sysutils/disktool/Makefile b/sysutils/disktool/Makefile new file mode 100644 index 000000000000..f084c38f6ffa --- /dev/null +++ b/sysutils/disktool/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: disktool +# Date created: Thu Apr 24 05:10:34 EDT 2003 +# Whom: Serge Gagnon <gagnon__s@videotron.ca> +# +# $FreeBSD$ +# + +PORTNAME= disktool +PORTVERSION= 2.0 +CATEGORIES= sysutils +MASTER_SITES= http://ftp.auxio.org/pub/mirrors/step.polymtl.ca/pub/Xview/apps/disktool/ \ + ftp://quenix.dyndns.org/freebsd/ +DISTNAME= disktool-2.0c + +MAINTAINER= gagnon__s@videotron.ca +COMMENT= XView sysadmin tool for monitoring diskfull situations + +LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview + +USE_REINPLACE= yes +USE_X_PREFIX= yes + +WRKSRC= ${WRKDIR}/${DISTNAME} + +ALL_TARGET= disktool + +MAN1= disktool.1 + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/disktool ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/disktool.man \ + ${PREFIX}/man/man1/disktool.1 + +.include <bsd.port.mk> diff --git a/sysutils/disktool/distinfo b/sysutils/disktool/distinfo new file mode 100644 index 000000000000..f529c4092af6 --- /dev/null +++ b/sysutils/disktool/distinfo @@ -0,0 +1 @@ +MD5 (disktool-2.0c.tar.gz) = a706e07027531b9244c90d5cbea9433e diff --git a/sysutils/disktool/files/patch-Makefile b/sysutils/disktool/files/patch-Makefile new file mode 100644 index 000000000000..260bdd6b49c7 --- /dev/null +++ b/sysutils/disktool/files/patch-Makefile @@ -0,0 +1,34 @@ +--- Makefile.orig Sat Apr 18 00:27:18 1998 ++++ Makefile Wed Jul 23 18:52:34 2003 +@@ -31,14 +31,15 @@ + # + # FreeBSD(tested on 2.2.1) uncomment the next 2 lines + # +-#OPENWINHOME = /usr/X11R6 +-#AUX_CFLAGS = -DFBSD ++PREFIX = %%PREFIX%% ++OPENWINHOME = $(PREFIX) ++AUX_CFLAGS = -DFBSD + # + # End of Configurable stuff + # + # ============================================= + # +-CC = gcc ++CC?= cc + # + OBJS = disktool.o + +@@ -46,10 +47,10 @@ + + INCLUDE = -I${OPENWINHOME}/include ${XINCLUDES} + +-CFLAGS = ${INCLUDE} -c ++CFLAGS+= ${INCLUDE} -c + + # Change -O to -g for debugging purposes +-LDFLAGS = -pipe -O3 -m486 ++LDFLAGS?= -pipe -O3 + + + XVIEW_LIBS = -L${OPENWINHOME}/lib \ diff --git a/sysutils/disktool/pkg-descr b/sysutils/disktool/pkg-descr new file mode 100644 index 000000000000..9c6f54acd9eb --- /dev/null +++ b/sysutils/disktool/pkg-descr @@ -0,0 +1,15 @@ +`disktool' is an XView program to monitor up to 64 filesystems +simultaneously and alert you when a particular filesystem is low on +space. disktool is set-up to "un-iconify" when a filesystem it is +monitoring has reached its' user-definable "critical threshold". A +unix command can also be initiated when this threshold is reached. +The command and un-iconifying can be repeated every so many polls, +configurable from the cmdline or from the Properties pop-up. +The properties pop-up is obtained by selecting any gauge with the +right mouse button. The middle mouse button has also been mapped to +force a filesystem poll to update the displayed data. + +`disktool' is a good sysadmin tool for monitoring diskfull situations +to avoid datafile corruption. + +WWW: http://step.polymtl.ca/~coyote/xview_main.html diff --git a/sysutils/disktool/pkg-plist b/sysutils/disktool/pkg-plist new file mode 100644 index 000000000000..85bbb63b84a7 --- /dev/null +++ b/sysutils/disktool/pkg-plist @@ -0,0 +1 @@ +bin/disktool |