Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 02:07:36 -0400 (EDT)
From:      Chuck Swiger <chuck@pkix.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52881: New port: sysutils/clean; automatically remove unwanted files
Message-ID:  <200306030607.h5367auq024952@cswiger-sec.homeip.net>
Resent-Message-ID: <200306030610.h536ACBu082084@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         52881
>Category:       ports
>Synopsis:       New port: sysutils/clean; automatically remove unwanted files
>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:   Mon Jun 02 23:10:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Swiger <chuck@pkix.net>
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
PKIx
>Environment:
System: FreeBSD sec.pkix.net 4.8-STABLE FreeBSD 4.8-STABLE #4: Thu May 29 02:17:12 EDT 2003 root@sec.pkix.net:/usr/obj/usr/src/sys/NORMAL i386

>Description:

New port: clean searches through the filesystem for "temporary files"
left behind by editors and the like which can be deleted.  The pattern
of regular expressions is controllable via a ~/.cleanrc.

( Amongst other things, this utility is helpful when preparing ports,
since it keeps things like "port-name/Makefile~" out of the shar file. :-)

>How-To-Repeat:

N/A.

>Fix:

# 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:
#
#	clean
#	clean/pkg-plist
#	clean/pkg-descr
#	clean/distinfo
#	clean/Makefile
#
echo c - clean
mkdir -p clean > /dev/null 2>&1
echo x - clean/pkg-plist
sed 's/^X//' >clean/pkg-plist << 'END-of-clean/pkg-plist'
Xbin/clean
X
END-of-clean/pkg-plist
echo x - clean/pkg-descr
sed 's/^X//' >clean/pkg-descr << 'END-of-clean/pkg-descr'
XThe clean utility searches through the filesystem for "temporary files" 
Xleft behind by editors and the like which can be deleted safely.
X
XWARNING: This program was written with the express purpose of deleting
X(unwanted) files.  Please be certain that you understand this program
Xand that you really want to use such an automatic deletion process
Xbefore you begin.
X
XWWW: http://sourceforge.net/projects/clean
X
X-Chuck Swiger <chuck@pkix.net>
END-of-clean/pkg-descr
echo x - clean/distinfo
sed 's/^X//' >clean/distinfo << 'END-of-clean/distinfo'
XMD5 (clean-3.1.tar.gz) = 033d02409fd28022646d09e50fc61bb4
END-of-clean/distinfo
echo x - clean/Makefile
sed 's/^X//' >clean/Makefile << 'END-of-clean/Makefile'
X# New ports collection makefile for: clean
X# Date created:        2003-6-3
X# Whom:                chuck@pkix.net
X#
X# $FreeBSD: $
X
XPORTNAME= 	clean
XPORTVERSION=	3.1
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER=	chuck@pkix.net
XCOMMENT= Automatically remove unwanted files
X
XMAN1=	clean.1
X
X.include <bsd.port.mk>
END-of-clean/Makefile
exit

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306030607.h5367auq024952>