aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/tinysu/Makefile21
-rw-r--r--security/tinysu/distinfo2
-rw-r--r--security/tinysu/files/patch-hier.c11
-rw-r--r--security/tinysu/pkg-descr6
5 files changed, 41 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 659ad5fa8180..09a3c4e79950 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -495,6 +495,7 @@
SUBDIR += termlog
SUBDIR += tinc
SUBDIR += tinyca
+ SUBDIR += tinysu
SUBDIR += tor
SUBDIR += trinokiller
SUBDIR += tripwire
diff --git a/security/tinysu/Makefile b/security/tinysu/Makefile
new file mode 100644
index 000000000000..a015952bac6e
--- /dev/null
+++ b/security/tinysu/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: tinysu
+# Date created: 5 May 2005
+# Whom: zakj@nox.cx
+#
+# $FreeBSD$
+#
+
+PORTNAME= tinysu
+PORTVERSION= 0.9
+CATEGORIES= security
+MASTER_SITES= http://peff.net/tinysu/
+
+MAINTAINER= zakj@nox.cx
+COMMENT= A featureless replacement for su and sudo
+
+PLIST_FILES= bin/tinysu
+
+ALL_TARGET= it
+INSTALL_TARGET= setup check
+
+.include <bsd.port.mk>
diff --git a/security/tinysu/distinfo b/security/tinysu/distinfo
new file mode 100644
index 000000000000..7b28618e24fc
--- /dev/null
+++ b/security/tinysu/distinfo
@@ -0,0 +1,2 @@
+MD5 (tinysu-0.9.tar.gz) = c4d84f386dc10928babe103d4db253c9
+SIZE (tinysu-0.9.tar.gz) = 17613
diff --git a/security/tinysu/files/patch-hier.c b/security/tinysu/files/patch-hier.c
new file mode 100644
index 000000000000..105401494cec
--- /dev/null
+++ b/security/tinysu/files/patch-hier.c
@@ -0,0 +1,11 @@
+--- hier.c.orig Sun Feb 29 03:21:15 2004
++++ hier.c Tue May 24 23:42:06 2005
+@@ -4,8 +4,5 @@
+
+ void hier()
+ {
+- h(auto_home,-1,-1,02755);
+- d(auto_home,"bin",-1,-1,02755);
+-
+ c(auto_home,"bin","tinysu",auto_uid,auto_gid,04750);
+ }
diff --git a/security/tinysu/pkg-descr b/security/tinysu/pkg-descr
new file mode 100644
index 000000000000..5be7ae0d33c2
--- /dev/null
+++ b/security/tinysu/pkg-descr
@@ -0,0 +1,6 @@
+tinysu is a featureless replacement for su and sudo. tinysu is installed
+setuid root and executable by members of a particular group. It is intended to
+be used in situations where an unprivileged user is being granted full root
+access, but wants the convenience of a sudo-style log.
+
+WWW: http://peff.net/tinysu/