summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-10-26 23:49:03 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-10-26 23:49:03 +0000
commitfdd26b530ccb192d1840256f27aa765b86b4983d (patch)
treee84c7b42d6c2ff856c881cc5db9999c749509902 /app-admin/sud
parentbug 68841 (&& 64133?) (Manifest recommit) (diff)
downloadgentoo-2-fdd26b530ccb192d1840256f27aa765b86b4983d.tar.gz
gentoo-2-fdd26b530ccb192d1840256f27aa765b86b4983d.tar.bz2
gentoo-2-fdd26b530ccb192d1840256f27aa765b86b4983d.zip
First commit
Diffstat (limited to 'app-admin/sud')
-rw-r--r--app-admin/sud/ChangeLog10
-rw-r--r--app-admin/sud/Manifest3
-rw-r--r--app-admin/sud/files/digest-sud-1.31
-rw-r--r--app-admin/sud/files/sud.rc621
-rw-r--r--app-admin/sud/metadata.xml11
-rw-r--r--app-admin/sud/sud-1.3.ebuild38
6 files changed, 84 insertions, 0 deletions
diff --git a/app-admin/sud/ChangeLog b/app-admin/sud/ChangeLog
new file mode 100644
index 000000000000..9b4e70d9cebb
--- /dev/null
+++ b/app-admin/sud/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/sud
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/ChangeLog,v 1.1 2004/10/26 23:49:03 lu_zero Exp $
+
+*sud-1.3 (27 Oct 2004)
+
+ 27 Oct 2004; Luca Barbato <lu_zero@gentoo.org> +metadata.xml,
+ +files/sud.rc6, +sud-1.3.ebuild:
+ First commit
+
diff --git a/app-admin/sud/Manifest b/app-admin/sud/Manifest
new file mode 100644
index 000000000000..545eeb5fbb91
--- /dev/null
+++ b/app-admin/sud/Manifest
@@ -0,0 +1,3 @@
+MD5 ef5c3a19161a6410e3d37c5074358c4f metadata.xml 614
+MD5 593a3a085a64c6e60c2c2a98d5d41c8d sud-1.3.ebuild 620
+MD5 874508808d3ec11855a9309de842778c files/digest-sud-1.3 59
diff --git a/app-admin/sud/files/digest-sud-1.3 b/app-admin/sud/files/digest-sud-1.3
new file mode 100644
index 000000000000..a3ac890b2f58
--- /dev/null
+++ b/app-admin/sud/files/digest-sud-1.3
@@ -0,0 +1 @@
+MD5 f44ca2810ff72b84ad8a10cd62752098 sud-1.3.tar.gz 117542
diff --git a/app-admin/sud/files/sud.rc6 b/app-admin/sud/files/sud.rc6
new file mode 100644
index 000000000000..18c178a3c59d
--- /dev/null
+++ b/app-admin/sud/files/sud.rc6
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/files/sud.rc6,v 1.1 2004/10/26 23:49:03 lu_zero Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting sud"
+ start-stop-daemon --start --quiet --pidfile /var/run/sud.pid \
+ --startas /usr/sbin/sud
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping sud"
+ start-stop-daemon --stop --quiet --pidfile /var/run/sud.pid
+ eend $?
+}
diff --git a/app-admin/sud/metadata.xml b/app-admin/sud/metadata.xml
new file mode 100644
index 000000000000..27c217d9a05d
--- /dev/null
+++ b/app-admin/sud/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+<maintainer>
+ <email>lu_zero@gentoo.org</email>
+</maintainer>
+<longdescription>
+sud (superuser daemon) permits a user to switch to root privileges and to use a suid program in a nosuid environment. It is based on a client/server model and on the ability to pass file descriptors between processes. sud permits you to choose your authentication method, and your effective credentials will be checked by using a Unix domain socket.
+</longdescription>
+</pkgmetadata>
diff --git a/app-admin/sud/sud-1.3.ebuild b/app-admin/sud/sud-1.3.ebuild
new file mode 100644
index 000000000000..dd32c4e456aa
--- /dev/null
+++ b/app-admin/sud/sud-1.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/sud-1.3.ebuild,v 1.1 2004/10/26 23:49:03 lu_zero Exp $
+
+inherit eutils
+
+DESCRIPTION="sud is a daemon to execute interactive and non-interactive processes with special (and customizable) privileges in a nosuid environment"
+
+HOMEPAGE="http://s0ftpj.org/projects/sud/index.htm"
+
+SRC_URI="http://s0ftpj.org/projects/sud/${P}.tar.gz"
+
+LICENSE="BSD"
+
+SLOT="0"
+
+KEYWORDS="~x86 ~ppc"
+
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_compile() {
+
+ econf || die
+ emake || die "emake failed"
+
+}
+
+src_install() {
+ einstall || die
+ dodoc AUTHORS COPYING ChangeLog* INSTALL README NEWS TODO
+ doman ilogin.1 sud.1 suz.1
+ insinto /etc
+ doins miscs/sud.conf*
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/sud.rc6 sud
+}