diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-25 13:30:59 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-25 13:30:59 +0800 |
commit | ebb4c9961f72263bd55e3ae755800335a7a9b2e6 (patch) | |
tree | a9b1a3e27732d84cdad53f5427ec782c18a8b102 | |
parent | fdef73918579eda1bb3feddd1414d6fabcf90ffd (diff) | |
download | freebsd-ports-gnome-ebb4c9961f72263bd55e3ae755800335a7a9b2e6.tar.gz freebsd-ports-gnome-ebb4c9961f72263bd55e3ae755800335a7a9b2e6.tar.zst freebsd-ports-gnome-ebb4c9961f72263bd55e3ae755800335a7a9b2e6.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>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/tmpreaper/Makefile | 29 | ||||
-rw-r--r-- | sysutils/tmpreaper/distinfo | 2 | ||||
-rw-r--r-- | sysutils/tmpreaper/pkg-descr | 13 |
4 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1eb9a750eaa3..ce64a6a199bc 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -496,6 +496,7 @@ SUBDIR += ticker.app SUBDIR += timelimit SUBDIR += tinybsd + SUBDIR += tmpreaper SUBDIR += tmpwatch SUBDIR += topless SUBDIR += torsmo 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 |