aboutsummaryrefslogtreecommitdiff
path: root/security/tinysu
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-24 21:52:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-24 21:52:50 +0000
commit14ada42ce79d9aa1f748dac2db48ac94833af6af (patch)
treee4b3f200b47200cc268b97e12f4b6e68f306880f /security/tinysu
parentaff421d88b16a150189271dcadbb4c8030e36e2f (diff)
downloadports-14ada42ce79d9aa1f748dac2db48ac94833af6af.tar.gz
ports-14ada42ce79d9aa1f748dac2db48ac94833af6af.zip
This is a port of tinysu, 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. PR: ports/80752 Submitted by: Zak Johnson <zakj@nox.cx>
Notes
Notes: svn path=/head/; revision=136071
Diffstat (limited to 'security/tinysu')
-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
4 files changed, 40 insertions, 0 deletions
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/