diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-01-15 20:47:11 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-01-15 20:47:11 +0000 |
commit | 98b361b190ebcb9963bb9e33a371fce63e866389 (patch) | |
tree | e6ca9aa4eae3c11a5e1d9f035fbc6fad1607b150 /app-admin/sudo | |
parent | KDE control center config tool for pure-ftpd, server itself following (diff) | |
download | gentoo-2-98b361b190ebcb9963bb9e33a371fce63e866389.tar.gz gentoo-2-98b361b190ebcb9963bb9e33a371fce63e866389.tar.bz2 gentoo-2-98b361b190ebcb9963bb9e33a371fce63e866389.zip |
New sudo to fix a security hole
Diffstat (limited to 'app-admin/sudo')
-rw-r--r-- | app-admin/sudo/files/digest-sudo-1.6.4 | 1 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.6.4.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-admin/sudo/files/digest-sudo-1.6.4 b/app-admin/sudo/files/digest-sudo-1.6.4 new file mode 100644 index 000000000000..d0c2ceb83146 --- /dev/null +++ b/app-admin/sudo/files/digest-sudo-1.6.4 @@ -0,0 +1 @@ +MD5 adc6e01cacc733097cf341764e56fa73 sudo-1.6.4.tar.gz 331776 diff --git a/app-admin/sudo/sudo-1.6.4.ebuild b/app-admin/sudo/sudo-1.6.4.ebuild new file mode 100644 index 000000000000..d946ff3bab71 --- /dev/null +++ b/app-admin/sudo/sudo-1.6.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.4.ebuild,v 1.1 2002/01/15 20:47:11 drobbins Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Allows certain users/groups to run commands as root" +SRC_URI="http://www.courtesan.com/sudo/dist/${P}.tar.gz" +HOMEPAGE="http://www.courtesan.com/sudo/" + +DEPEND="virtual/glibc pam? ( >=sys-libs/pam-0.73-r1 )" + +src_compile() { + local myconf + if [ "`use pam`" ] + then + myconf="--with-pam" + else + myconf="--without-pam" + fi + ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man --sysconfdir=/etc --with-all-insults --disable-path-info $myconf || die + emake || die +} + +src_install () { + make prefix=${D}/usr sysconfdir=${D}/etc mandir=${D}/usr/share/man install || die + dodoc BUGS CHANGES FAQ HISTORY LICENSE PORTING README RUNSON TODO TROUBLESHOOTING UPGRADE sample.* + insinto /etc/pam.d + doins ${FILESDIR}/sudo +} + |