--- /dev/null
+# 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
+
--- /dev/null
+MD5 4b0913391afde859dce2c68cc394b5b1 ChangeLog 339
+MD5 ef5c3a19161a6410e3d37c5074358c4f metadata.xml 614
+MD5 f4b74abc41e6c23247215fa0eeacddaf sud-1.3.ebuild 841
+MD5 ac4f557deb03c8bd6bcc21bb177b9491 files/sud.rc6 492
+MD5 874508808d3ec11855a9309de842778c files/digest-sud-1.3 59
--- /dev/null
+MD5 f44ca2810ff72b84ad8a10cd62752098 sud-1.3.tar.gz 117542
--- /dev/null
+#!/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 $?
+}
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}