diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-25 05:30:59 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-25 05:30:59 +0000 |
commit | 6b01656eed1764140e2cff02d38b58f9e540b0bb (patch) | |
tree | 15d679dbc5c0393e0496f0922223ef116159851e /sysutils/tmpreaper | |
parent | aedb35da79ff1677366b11ea52e02c218ba3c29f (diff) | |
download | ports-6b01656eed1764140e2cff02d38b58f9e540b0bb.tar.gz ports-6b01656eed1764140e2cff02d38b58f9e540b0bb.zip |
Add tmpreaper.
This port 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 have not 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.
WWW: http://packages.debian.org/stable/admin/tmpreaper.html
PR: ports/83868
Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes:
svn path=/head/; revision=140054
Diffstat (limited to 'sysutils/tmpreaper')
-rw-r--r-- | sysutils/tmpreaper/Makefile | 29 | ||||
-rw-r--r-- | sysutils/tmpreaper/distinfo | 2 | ||||
-rw-r--r-- | sysutils/tmpreaper/pkg-descr | 13 |
3 files changed, 44 insertions, 0 deletions
diff --git a/sysutils/tmpreaper/Makefile b/sysutils/tmpreaper/Makefile new file mode 100644 index 000000000000..dc3a2a1f8e83 --- /dev/null +++ b/sysutils/tmpreaper/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: tmpreaper +# Date created: 21 Jul 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $FreeBSD$ +# + +PORTNAME= tmpreaper +PORTVERSION= 1.6.5 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} +DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= ehaupt@critical.ch +COMMENT= Cleans up files in directories based on their age + +GNU_CONFIGURE= yes + +PLIST_FILES= sbin/tmpreaper +PORTDOCS= README +MAN8= tmpreaper.8 + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/tmpreaper/distinfo b/sysutils/tmpreaper/distinfo new file mode 100644 index 000000000000..4a98629aa365 --- /dev/null +++ b/sysutils/tmpreaper/distinfo @@ -0,0 +1,2 @@ +MD5 (tmpreaper_1.6.5.tar.gz) = 4188c71b4fbb73af1d2f3046ddfec86f +SIZE (tmpreaper_1.6.5.tar.gz) = 111249 diff --git a/sysutils/tmpreaper/pkg-descr b/sysutils/tmpreaper/pkg-descr new file mode 100644 index 000000000000..5b097d929a02 --- /dev/null +++ b/sysutils/tmpreaper/pkg-descr @@ -0,0 +1,13 @@ +This port 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 have not 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. + +WWW: http://packages.debian.org/stable/admin/tmpreaper.html + +- ehaupt +ehaupt@critical.ch |