pkgsrc-wip/stmpclean/Makefile
pancake ;) 37ad384002 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>
2004-05-13 08:45:10 +00:00

18 lines
491 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/05/13 08:45:10 poppnk Exp $
#
DISTNAME= stmpclean-0.3
CATEGORIES= wip sysutils
MASTER_SITES= http://www.internet2.edu/~shalunov/stmpclean/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.internet2.edu/~shalunov/stmpclean/
COMMENT= Secure /tmp cleaner
USE_BUILDLINK3= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stmpclean ${PREFIX}/sbin/stmpclean
${INSTALL_DATA} ${WRKSRC}/stmpclean.8 ${PREFIX}/man/man8/
.include "../../mk/bsd.pkg.mk"