summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-04-09 20:11:58 +0000
committerAchim Gottinger <achim@gentoo.org>2001-04-09 20:11:58 +0000
commit657af89d27b8e409ac73163b65f4f78832bdf386 (patch)
tree8c571694f0edea0a99622563571673a9f004b457 /app-admin
parentI removed this ebuild, because it was only there for testing and (diff)
downloadgentoo-2-657af89d27b8e409ac73163b65f4f78832bdf386.tar.gz
gentoo-2-657af89d27b8e409ac73163b65f4f78832bdf386.tar.bz2
gentoo-2-657af89d27b8e409ac73163b65f4f78832bdf386.zip
FHS 2.1 modifications and addition of use "pam"
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/sudo/files/digest-sudo-1.6.3_p71
-rw-r--r--app-admin/sudo/sudo-1.6.3_p7.ebuild40
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
+}
+