From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 22 08:10:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA22616A426 for ; Sun, 22 Jan 2006 08:10:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0998A43D45 for ; Sun, 22 Jan 2006 08:10:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0M8AA5C073493 for ; Sun, 22 Jan 2006 08:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0M8AAiM073489; Sun, 22 Jan 2006 08:10:10 GMT (envelope-from gnats) Resent-Date: Sun, 22 Jan 2006 08:10:10 GMT Resent-Message-Id: <200601220810.k0M8AAiM073489@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jeffrey H. Johnson" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 192F216A422 for ; Sun, 22 Jan 2006 08:04:20 +0000 (GMT) (envelope-from root@offworld.cqasys.com) Received: from imf10aec.mail.bellsouth.net (imf10aec.mail.bellsouth.net [205.152.59.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D5843D4C for ; Sun, 22 Jan 2006 08:04:18 +0000 (GMT) (envelope-from root@offworld.cqasys.com) Received: from ibm56aec.bellsouth.net ([65.7.181.160]) by imf16aec.mail.bellsouth.net with ESMTP id <20060122063915.DAVE29020.imf16aec.mail.bellsouth.net@ibm56aec.bellsouth.net> for ; Sun, 22 Jan 2006 01:39:15 -0500 Received: from offworld.cqasys.com ([65.7.181.160]) by ibm56aec.bellsouth.net with ESMTP id <20060122063915.FJWJ1137.ibm56aec.bellsouth.net@offworld.cqasys.com>; Sun, 22 Jan 2006 01:39:15 -0500 Received: by offworld.cqasys.com (Postfix, from userid 0) id E828E39833; Sun, 22 Jan 2006 01:39:14 -0500 (EST) Message-Id: <20060122063914.E828E39833@offworld.cqasys.com> Date: Sun, 22 Jan 2006 01:39:14 -0500 (EST) From: "Jeffrey H. Johnson" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: CPE1704TKS@bellsouth.net Subject: ports/92139: [NEW PORT] sysutils/dusage: Report about disk space in use, change since last run, etc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 08:10:15 -0000 >Number: 92139 >Category: ports >Synopsis: [NEW PORT] sysutils/dusage: Report about disk space in use, change since last run, etc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 22 08:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jeffrey H. Johnson >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006 >Description: Guarding disk space is one of the problems of system management. Using a list of pathnames, this program filters the output of du(1) to find the amount of disk space used for each of the paths (actually, it collects all values in one single du run). It adds the new value to the list, shifting old values up. It then generates a nice report of the amount of disk space occupied in each of the specified paths, together with the amount it grew (or shrinked) since the previous run, and since 7 runs ago. When run daily, this gives daily and weekly figures. This program requires perl version 3.0, patchlevel 4 or higher. Copyright 1990 Johan Vromans, all rights reserved. Peaceware. This program may be used, modified and distributed as long as this copyright notice remains part of the source. It may not be sold, or be used to harm any living creature including the world and the universe. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- dusage-19900227.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: # # dusage # dusage/files # dusage/files/patch-aa # dusage/Makefile # dusage/distinfo # dusage/pkg-descr # dusage/pkg-plist # echo c - dusage mkdir -p dusage > /dev/null 2>&1 echo c - dusage/files mkdir -p dusage/files > /dev/null 2>&1 echo x - dusage/files/patch-aa sed 's/^X//' >dusage/files/patch-aa << 'END-of-dusage/files/patch-aa' X*** Makefile.orig Sun Jan 22 01:18:50 2006 X--- Makefile Sun Jan 22 01:20:04 2006 X*************** X*** 0 **** X--- 1,3 ---- X+ install: X+ install -m 755 dusage.pl ${PREFIX}/bin/dusage X+ install -m 644 dusage.1 ${PREFIX}/man/man1 END-of-dusage/files/patch-aa echo x - dusage/Makefile sed 's/^X//' >dusage/Makefile << 'END-of-dusage/Makefile' X# New ports collection makefile for: dusage X# Date created: 22 January 2006 X# Whom: Jeffrey H. Johnson X# X# $FreeBSD: ports/sysutils/dusage/Makefile,v 1.00 2006/01/22 01:05:09 irn Exp $ X# X XPORTNAME= dusage XPORTVERSION= 19900227 XCATEGORIES= sysutils XMASTER_SITES= ftp://ftp.unicamp.br/pub/unix-c/sysadmin/ \ X http://ftp.br.xemacs.org/pub/unix-c/sysadmin/ XDISTNAME= dusage XEXTRACT_SUFX= .tar.Z X XMAINTAINER= CPE1704TKS@bellsouth.net XCOMMENT= Report about disk space in use, change since last run, etc X XNO_BUILD= yes XUSE_PERL5= yes X XNO_CDROM= may not be sold XRESTRICTED= may not be used to harm any living creature including the world and the universe X XALL_TARGET= ${PORTNAME} XMAN1= dusage.1 X X.include END-of-dusage/Makefile echo x - dusage/distinfo sed 's/^X//' >dusage/distinfo << 'END-of-dusage/distinfo' XSIZE (dusage.tar.Z) = 10436 XMD5 (dusage.tar.Z) = f2d95cdf9bb7747cdc855079142b9e23 XSHA256 (dusage.tar.Z) = 4010c9c543c0d20a27d823c44d1e51a6f1245f6480abfbdde0be661482f05b5f XRMD160 (dusage.tar.Z) = fedc871da417a715715d89284d3f6d6f781b726b END-of-dusage/distinfo echo x - dusage/pkg-descr sed 's/^X//' >dusage/pkg-descr << 'END-of-dusage/pkg-descr' XGuarding disk space is one of the problems of system management. X XUsing a list of pathnames, this program filters the output of du(1) to Xfind the amount of disk space used for each of the paths (actually, it Xcollects all values in one single du run). It adds the new value to Xthe list, shifting old values up. It then generates a nice report of Xthe amount of disk space occupied in each of the specified paths, Xtogether with the amount it grew (or shrinked) since the previous run, Xand since 7 runs ago. When run daily, this gives daily and weekly Xfigures. X XThis program requires perl version 3.0, patchlevel 4 or higher. X XCopyright 1990 Johan Vromans, all rights reserved. X XPeaceware. This program may be used, modified and distributed as long as Xthis copyright notice remains part of the source. It may not be sold, or Xbe used to harm any living creature including the world and the universe. END-of-dusage/pkg-descr echo x - dusage/pkg-plist sed 's/^X//' >dusage/pkg-plist << 'END-of-dusage/pkg-plist' Xbin/dusage END-of-dusage/pkg-plist exit --- dusage-19900227.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: