diff options
Diffstat (limited to 'sysutils/disktool')
-rw-r--r-- | sysutils/disktool/Makefile | 33 | ||||
-rw-r--r-- | sysutils/disktool/distinfo | 2 | ||||
-rw-r--r-- | sysutils/disktool/files/patch-Makefile | 34 | ||||
-rw-r--r-- | sysutils/disktool/files/patch-disktool.c | 69 | ||||
-rw-r--r-- | sysutils/disktool/pkg-descr | 15 |
5 files changed, 0 insertions, 153 deletions
diff --git a/sysutils/disktool/Makefile b/sysutils/disktool/Makefile deleted file mode 100644 index 075d42b5ab33..000000000000 --- a/sysutils/disktool/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# Created by: Serge Gagnon <gagnon__s@videotron.ca> -# $FreeBSD$ - -PORTNAME= disktool -PORTVERSION= 2.0 -PORTREVISION= 3 -CATEGORIES= sysutils -MASTER_SITES= http://ftp.auxio.org/pub/mirrors/step.polymtl.ca/pub/Xview/apps/disktool/ -DISTNAME= disktool-2.0c - -MAINTAINER= cy@FreeBSD.org -COMMENT= XView sysadmin tool for monitoring diskfull situations - -DEPRECATED= 64-bit unsupported -EXPIRATION_DATE= 2020-05-05 - -LIB_DEPENDS= libxview.so:x11-toolkits/xview - -WRKSRC= ${WRKDIR}/${DISTNAME} - -ALL_TARGET= disktool - -PLIST_FILES= bin/disktool man/man1/disktool.1.gz - -post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/disktool ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/disktool.man \ - ${STAGEDIR}${PREFIX}/man/man1/disktool.1 - -.include <bsd.port.mk> diff --git a/sysutils/disktool/distinfo b/sysutils/disktool/distinfo deleted file mode 100644 index 64b37e1c2c93..000000000000 --- a/sysutils/disktool/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (disktool-2.0c.tar.gz) = 725c0fbd8a80b662604989296750656e4d6938a69836ff5575d901d5ea7f15d8 -SIZE (disktool-2.0c.tar.gz) = 32643 diff --git a/sysutils/disktool/files/patch-Makefile b/sysutils/disktool/files/patch-Makefile deleted file mode 100644 index 260bdd6b49c7..000000000000 --- a/sysutils/disktool/files/patch-Makefile +++ /dev/null @@ -1,34 +0,0 @@ ---- 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/files/patch-disktool.c b/sysutils/disktool/files/patch-disktool.c deleted file mode 100644 index 7b8fa430d62f..000000000000 --- a/sysutils/disktool/files/patch-disktool.c +++ /dev/null @@ -1,69 +0,0 @@ ---- disktool.c.orig 1998-04-17 15:32:43.000000000 -0700 -+++ disktool.c 2013-09-17 09:15:50.943959620 -0700 -@@ -168,9 +168,9 @@ - } - - /* ==========================================================================*/ --long kbytes(blocks, blocksize) -- long blocks; -- long blocksize; -+int64_t kbytes(blocks, blocksize) -+ int64_t blocks; -+ uint64_t blocksize; - { - /* Return number of kilobytes given the number of blocks and the block size. - This isn't quite trivial because a 32 bit signed long integer could easily -@@ -361,7 +361,7 @@ - Panel_item item; - Event *event; - { -- return; -+ return 0; - } - - /* ========================================================================*/ -@@ -376,7 +376,7 @@ - timer.it_interval.tv_sec = xv_get(inc_item, PANEL_VALUE); - notify_set_itimer_func(frame, get_values, - ITIMER_REAL, &timer, NULL); -- return; -+ return 0; - } - /* ========================================================================*/ - int -@@ -397,7 +397,7 @@ - xv_get(thresh_item, PANEL_VALUE)/1000, NULL); - xv_set(thresh_item, PANEL_MAX_VALUE, 3000, NULL); - } -- return; -+ return 0; - } - - /* ========================================================================*/ -@@ -488,7 +488,7 @@ - thresh[curr_item] = xv_get(thresh_item, PANEL_VALUE); - get_values(); - reposition_widgets(); -- return; -+ return 0; - } - - /* ========================================================================*/ -@@ -507,7 +507,7 @@ - } - get_values(); - reposition_widgets(); -- return; -+ return 0; - } - - /* ========================================================================*/ -@@ -517,7 +517,7 @@ - int value; - Event *event; - { -- return; -+ return 0; - } - - /* ========================================================================*/ diff --git a/sysutils/disktool/pkg-descr b/sysutils/disktool/pkg-descr deleted file mode 100644 index 4293fae0fe3a..000000000000 --- a/sysutils/disktool/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -`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 |