ports/52495: New port: sysutils/disktool

Serge Gagnon gagnon__s at videotron.ca
Tue May 20 20:20:04 UTC 2003


>Number:         52495
>Category:       ports
>Synopsis:       New port: sysutils/disktool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 13:20:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge at quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386


>Description:
	New port: sysutils/disktool

`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.

cool ;)

>How-To-Repeat:

>Fix:


--- disktool.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	disktool
#	disktool/Makefile
#	disktool/distinfo
#	disktool/files
#	disktool/files/patch-Makefile
#	disktool/pkg-plist
#	disktool/pkg-descr
#
echo c - disktool
mkdir -p disktool > /dev/null 2>&1
echo x - disktool/Makefile
sed 's/^X//' >disktool/Makefile << 'END-of-disktool/Makefile'
X# New ports collection makefile for:	disktool
X# Date created:		Thu Apr 24 05:10:34 EDT 2003
X# Whom:			Serge Gagnon gagnon__s at videotron.ca
X#
X# $FreeBSD$
X#
X
XPORTNAME=	disktool
XPORTVERSION=	2.0
XCATEGORIES=	sysutils
XMASTER_SITES=   ftp://step.polymtl.ca/pub/Xview/apps/disktool/
XDISTNAME=	disktool-2.0c
X
XMAINTAINER=     gagnon__s at videotron.ca
XCOMMENT=	XView sysadmin tool for monitoring diskfull situations
X
XLIB_DEPENDS=    xview.3:${PORTSDIR}/x11-toolkits/xview
X
XWRKSRC=		${WRKDIR}/${DISTNAME}
XALL_TARGET=	disktool
XMAN1=		disktool.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/disktool ${LOCALBASE}/bin/
X	${INSTALL_MAN} ${WRKSRC}/disktool.man \
X	${LOCALBASE}/man/man1/disktool.1
X
X.include <bsd.port.mk>
END-of-disktool/Makefile
echo x - disktool/distinfo
sed 's/^X//' >disktool/distinfo << 'END-of-disktool/distinfo'
XMD5 (disktool-2.0c.tar.gz) = a706e07027531b9244c90d5cbea9433e
END-of-disktool/distinfo
echo c - disktool/files
mkdir -p disktool/files > /dev/null 2>&1
echo x - disktool/files/patch-Makefile
sed 's/^X//' >disktool/files/patch-Makefile << 'END-of-disktool/files/patch-Makefile'
X--- Makefile.orig	Fri Apr 17 18:27:18 1998
X+++ Makefile	Thu Apr 24 17:33:53 2003
X@@ -31,14 +31,14 @@
X #
X # FreeBSD(tested on 2.2.1) uncomment the next 2 lines
X #
X-#OPENWINHOME	= /usr/X11R6
X-#AUX_CFLAGS	= -DFBSD
X+PREFIX		= /usr/X11R6		
X+OPENWINHOME	= $(PREFIX)
X+AUX_CFLAGS	= -DFBSD
X #
X # End of Configurable stuff
X #
X # =============================================
X #
X-CC		= gcc
X #
X OBJS	   	= disktool.o
X 
X@@ -49,7 +49,7 @@
X CFLAGS		= ${INCLUDE} -c
X 
X # Change -O to -g for debugging purposes
X-LDFLAGS         = -pipe -O3 -m486
X+LDFLAGS         = -pipe -O3 
X 
X 
X XVIEW_LIBS 	= -L${OPENWINHOME}/lib \
END-of-disktool/files/patch-Makefile
echo x - disktool/pkg-plist
sed 's/^X//' >disktool/pkg-plist << 'END-of-disktool/pkg-plist'
Xbin/disktool
END-of-disktool/pkg-plist
echo x - disktool/pkg-descr
sed 's/^X//' >disktool/pkg-descr << 'END-of-disktool/pkg-descr'
X`disktool' is an XView program to monitor up to 64 filesystems
Xsimultaneously and alert you when a particular filesystem is low on
Xspace. disktool is set-up to "un-iconify" when a filesystem it is
Xmonitoring has reached its' user-definable "critical threshold". A
Xunix command can also be initiated when this threshold is reached.
XThe command and un-iconifying can be repeated every so many polls,
Xconfigurable from the cmdline or from the Properties pop-up.
XThe properties pop-up is obtained by selecting any gauge with the
Xright mouse button. The middle mouse button has also been mapped to 
Xforce a filesystem poll to update the displayed data.
X
X`disktool' is a good sysadmin tool for monitoring diskfull situations
Xto avoid datafile corruption.
X
XWWW: http://step.polymtl.ca/~coyote/xview_main.html
END-of-disktool/pkg-descr
exit
--- disktool.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list