blob: cd14ea05ba7d73eec97476c39bcf6997c949fe78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.7_p5.ebuild,v 1.21 2005/04/20 01:50:58 vapier Exp $
inherit eutils
#
# TODO: Fix support for krb4 and krb5
#
DESCRIPTION="Allows certain users/groups to run commands as root"
HOMEPAGE="http://www.sudo.ws/"
SRC_URI="ftp://ftp.sudo.ws/pub/sudo/${P/_/}.tar.gz"
LICENSE="Sudo"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sparc x86"
IUSE="pam"
DEPEND="pam? ( >=sys-libs/pam-0.73-r1 )"
S=${WORKDIR}/${P/_/}
src_compile() {
econf \
--with-all-insults \
--disable-path-info \
--with-env-editor \
`use_with pam` \
|| die "econf failed"
emake || die
}
src_install() {
einstall || die
dodoc BUGS CHANGES HISTORY PORTING README RUNSON TODO \
TROUBLESHOOTING UPGRADE sample.*
dopamd ${FILESDIR}/sudo
}
|