summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-08-12 00:22:48 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-08-12 00:22:48 +0000
commit373028303122d638cd1afcc42839ae1cc58b800a (patch)
tree03a9d4619f2a653956c9f6bb57be81158b11ad8a
parentAdded stmpclean (diff)
To remove old files from temporary directories.
PR: 12972 Submitted: stanislav shalunov <shalunov@tuzik.lz.att.com>
Notes
Notes: svn path=/head/; revision=20660
-rw-r--r--sysutils/stmpclean/Makefile17
-rw-r--r--sysutils/stmpclean/distinfo1
-rw-r--r--sysutils/stmpclean/pkg-comment1
-rw-r--r--sysutils/stmpclean/pkg-descr13
-rw-r--r--sysutils/stmpclean/pkg-plist1
5 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/stmpclean/Makefile b/sysutils/stmpclean/Makefile
new file mode 100644
index 000000000000..d00253cfc24d
--- /dev/null
+++ b/sysutils/stmpclean/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: stmpclean
+# Version required: 0.1
+# Date created: 4 August 1999
+# Whom: shalunov
+#
+# $Id:$
+
+DISTNAME= stmpclean-0.1
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.mccme.ru/users/shalunov/
+
+MAINTAINER= shalunov@mccme.ru
+
+MAN8= stmpclean.8
+MANCOMPRESSED= no
+
+.include <bsd.port.mk>
diff --git a/sysutils/stmpclean/distinfo b/sysutils/stmpclean/distinfo
new file mode 100644
index 000000000000..e52364cc5e22
--- /dev/null
+++ b/sysutils/stmpclean/distinfo
@@ -0,0 +1 @@
+MD5 (stmpclean-0.1.tar.gz) = ce4e4b16a0c063c9ab50d754e48bdaea
diff --git a/sysutils/stmpclean/pkg-comment b/sysutils/stmpclean/pkg-comment
new file mode 100644
index 000000000000..95d77cd56bfc
--- /dev/null
+++ b/sysutils/stmpclean/pkg-comment
@@ -0,0 +1 @@
+Remove old files from temporary directories.
diff --git a/sysutils/stmpclean/pkg-descr b/sysutils/stmpclean/pkg-descr
new file mode 100644
index 000000000000..4b570d554b8c
--- /dev/null
+++ b/sysutils/stmpclean/pkg-descr
@@ -0,0 +1,13 @@
+The utility stmpclean securely deletes old files from directories
+such as /tmp and /var/tmp.
+
+Combining find and rm (possibly with xargs) for this purpose allows
+a local attacker to delete any file on the system. It is a security
+hole.
+
+Using one of the nifty floating around Perl scripts for this purpose
+is dangerous: when you have an attack they have a tendency to behave
+like forking bombs, making matters much worse.
+
+--Stanislav
+shalunov@mccme.ru
diff --git a/sysutils/stmpclean/pkg-plist b/sysutils/stmpclean/pkg-plist
new file mode 100644
index 000000000000..90023b33967e
--- /dev/null
+++ b/sysutils/stmpclean/pkg-plist
@@ -0,0 +1 @@
+sbin/stmpclean