Date: 21 Jul 2005 15:51:41 -0000 From: Emanuel Haupt <ehaupt@critical.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83868: new port: sysutils/tmpreaper - Cleans up files in directories based on their age Message-ID: <20050721155141.48724.qmail@mx.critical.ch> Resent-Message-ID: <200507211600.j6LG0alr041748@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83868 >Category: ports >Synopsis: new port: sysutils/tmpreaper - Cleans up files in directories based on their age >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 21 16:00:36 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386 >Description: new port: sysutils/tmpreaper - Cleans up files in directories based on their age This package provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that haven't been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. >How-To-Repeat: >Fix: --- tmpreaper.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: # # tmpreaper # tmpreaper/Makefile # tmpreaper/pkg-descr # tmpreaper/distinfo # echo c - tmpreaper mkdir -p tmpreaper > /dev/null 2>&1 echo x - tmpreaper/Makefile sed 's/^X//' >tmpreaper/Makefile << 'END-of-tmpreaper/Makefile' X# New ports collection makefile for: tmpreaper X# Date created: 21 Jul 2005 X# Whom: Emanuel Haupt <ehaupt@critical.ch> X# X# $FreeBSD$ X# X XPORTNAME= tmpreaper XPORTVERSION= 1.6.5 XCATEGORIES= sysutils XMASTER_SITES= http://ftp.debian.org/debian/pool/main/t/tmpreaper/ XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= ehaupt@critical.ch XCOMMENT= Cleans up files in directories based on their age X XUSE_LIBTOOL_VER=15 X XCONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc --sbindir=${PREFIX}/bin X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X XPLIST_FILES= bin/tmpreaper XPORTDOCS= README XMAN8= tmpreaper.8 X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-tmpreaper/Makefile echo x - tmpreaper/pkg-descr sed 's/^X//' >tmpreaper/pkg-descr << 'END-of-tmpreaper/pkg-descr' XThis package provides a program that can be used to clean out temporary-file Xdirectories. It recursively searches the directory, refusing to chdir() Xacross symlinks, and removes files that haven't been accessed in a Xuser-specified amount of time. You can specify a set of files to protect Xfrom deletion with a shell pattern. X XIt will not remove symlinks, sockets, fifos, or special files unless given a Xcommand line option enabling it to. X XWWW: http://packages.debian.org/stable/admin/tmpreaper.html X X- ehaupt Xehaupt@critical.ch END-of-tmpreaper/pkg-descr echo x - tmpreaper/distinfo sed 's/^X//' >tmpreaper/distinfo << 'END-of-tmpreaper/distinfo' XMD5 (tmpreaper_1.6.5.tar.gz) = 4188c71b4fbb73af1d2f3046ddfec86f XSIZE (tmpreaper_1.6.5.tar.gz) = 111249 END-of-tmpreaper/distinfo exit --- tmpreaper.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050721155141.48724.qmail>