diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-09 20:11:58 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-09 20:11:58 +0000 |
commit | 3c337d5a363769b9fba625a1891380bcbec2f1f1 (patch) | |
tree | 609de12b0b9244004bbd84789a9c2ee5c39b4d76 | |
parent | I removed this ebuild, because it was only there for testing and (diff) | |
download | historical-3c337d5a363769b9fba625a1891380bcbec2f1f1.tar.gz historical-3c337d5a363769b9fba625a1891380bcbec2f1f1.tar.bz2 historical-3c337d5a363769b9fba625a1891380bcbec2f1f1.zip |
FHS 2.1 modifications and addition of use "pam"
-rw-r--r-- | app-admin/sudo/files/digest-sudo-1.6.3_p7 | 1 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.6.3_p7.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/sudo/files/digest-sudo-1.6.3_p7 b/app-admin/sudo/files/digest-sudo-1.6.3_p7 new file mode 100644 index 000000000000..155200f8b56f --- /dev/null +++ b/app-admin/sudo/files/digest-sudo-1.6.3_p7 @@ -0,0 +1 @@ +MD5 9a5268488bacca36783af0a0182d01b9 sudo-1.6.3p7.tar.gz diff --git a/app-admin/sudo/sudo-1.6.3_p7.ebuild b/app-admin/sudo/sudo-1.6.3_p7.ebuild new file mode 100644 index 000000000000..78a1f5171bf0 --- /dev/null +++ b/app-admin/sudo/sudo-1.6.3_p7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Jerry Alexandratos <jerry@gentoo.org> +# Author Achim Gottinger <achim@gentoo.org> Update from p5 to p7 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.6.3_p7.ebuild,v 1.1 2001/04/09 20:11:58 achim Exp $ + +P=${PN}-1.6.3p7 +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Allows certain users/groups to run commands as root" +SRC_URI="http://www.courtesan.com/sudo/dist/${A}" +HOMEPAGE="http://www.courtesan.com/sudo/" + +DEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.73-r1 )" + +src_compile() { + + if [ "`use pam`" ] + then + myconf="--with-pam" + else + myconf="--without-pam" + fi + echo $myconf + try ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man --sysconfdir=/etc \ + --with-all-insults --disable-path-info $myconf + try make +} + +src_install () { + + try make prefix=${D}/usr sysconfdir=${D}/etc mandir=${D}/usr/share/man install + + dodoc BUGS CHANGES FAQ HISTORY LICENSE PORTING README RUNSON TODO TROUBLESHOOTING UPGRADE sample.* + + insinto /etc/pam.d + doins ${FILESDIR}/sudo +} + |