Subject: CVS commit: wip/stmpclean
From: pancake ;)
Date: 2004-05-13 10:45:23
Message id: E1BOBqF-0003Ib-Vh@sc8-pr-cvs1.sourceforge.net

Log Message:
Initial import of stmpclean:

$/usr/pkgsrc/wip/stmpclean> cat DESCR
The stmpclean utility removes old files (and old empty directories) from the
specified directory. It'll be typically used to clean directories such as
/tmp where old files tend to accumulate.

The stmpclean utility never removes files or directories owned by root. It
is
a feature, not a bug. Great care is taken while descending into the
directory,
and the operation is secure. Unlike floating around Perl scripts that do the
same task stmpclean never forks and consumes limited amount of memory (these
Perl script easily turn into forking bombs when someone creates a lot a
directories under /tmp). If your system is attacked and the attacker creates
an extremely deep file hierarchy, stmpclean won't add to the problem by
crashing your system trying to remove it.
$/usr/pkgsrc/wip/stmpclean>

$/usr/pkgsrc/wip/stmpclean> cat MESSAGE
===========================================================================
$NetBSD$

WARNING!! THIS PROGRAM COULD DELETE SENSIBLE INFORMATION USE IT *ONLY*
ON TEMPORALLY DIRECTORIES LIKE /tmp.

===========================================================================
$/usr/pkgsrc/wip/stmpclean>

Files:
RevisionActionfile
1.1importwip/stmpclean/Makefile
1.1importwip/stmpclean/PLIST
1.1importwip/stmpclean/distinfo
1.1importwip/stmpclean/DESCR
1.1importwip/stmpclean/MESSAGE