diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-04-28 17:22:44 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-04-28 17:22:44 +0000 |
commit | af3feaec0115b2e44483d4eaee95a8be0f112581 (patch) | |
tree | b3c15127dd64a25398c7ae8605e5c5b44074720f | |
parent | Cleaning (diff) | |
download | gentoo-2-af3feaec0115b2e44483d4eaee95a8be0f112581.tar.gz gentoo-2-af3feaec0115b2e44483d4eaee95a8be0f112581.tar.bz2 gentoo-2-af3feaec0115b2e44483d4eaee95a8be0f112581.zip |
Added new revision which depends on virtual/pam and uses the include notation so that it works on non-linux-pam systems.
(Portage version: 2.0.51.20-r5)
-rw-r--r-- | app-admin/sudo/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/sudo/Manifest | 17 | ||||
-rw-r--r-- | app-admin/sudo/files/digest-sudo-1.6.7_p5-r3 | 1 | ||||
-rw-r--r-- | app-admin/sudo/files/sudo_include | 5 | ||||
-rw-r--r-- | app-admin/sudo/sudo-1.6.7_p5-r3.ebuild | 60 |
5 files changed, 84 insertions, 8 deletions
diff --git a/app-admin/sudo/ChangeLog b/app-admin/sudo/ChangeLog index bfc89a5d4edd..9cc35717e21e 100644 --- a/app-admin/sudo/ChangeLog +++ b/app-admin/sudo/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/sudo # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.38 2005/01/01 11:27:31 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/ChangeLog,v 1.39 2005/04/28 17:22:44 flameeyes Exp $ + +*sudo-1.6.7_p5-r3 (28 Apr 2005) + + 28 Apr 2005; Diego Pettenò <flameeyes@gentoo.org> +files/sudo_include, + +sudo-1.6.7_p5-r3.ebuild: + Added new revision which depends on virtual/pam and uses the include + notation so that it works on non-linux-pam systems. 18 Dec 2004; Tavis Ormandy <taviso@gentoo.org> files/sudoers: add suoders warnings diff --git a/app-admin/sudo/Manifest b/app-admin/sudo/Manifest index 502b4e37b9f4..fc1cf0f20baf 100644 --- a/app-admin/sudo/Manifest +++ b/app-admin/sudo/Manifest @@ -1,23 +1,26 @@ MD5 f2d5312d6cebcc8011678767de522c02 ChangeLog 4407 MD5 be6b5a1d716ff9c5e94f8caa0c41a819 sudo-1.6.6.ebuild 804 -MD5 eed7ffa150de84b75b4f057ab16b7018 sudo-1.6.7_p5.ebuild 901 MD5 2ce290a2f2bf9da410049f01fe21b5d0 sudo-1.6.7_p5-r1.ebuild 1319 -MD5 d1eaf2b6933a411ea5ad61eae6e37f17 sudo-1.6.8_p1-r1.ebuild 1385 -MD5 c34116a0ad0ff20144cceeed08df7819 sudo-1.6.8_p1.ebuild 1008 MD5 378d08cc79465313cd2d19fb8ff6be4b sudo-1.6.7_p5-r2.ebuild 1431 +MD5 eed7ffa150de84b75b4f057ab16b7018 sudo-1.6.7_p5.ebuild 901 +MD5 d1eaf2b6933a411ea5ad61eae6e37f17 sudo-1.6.8_p1-r1.ebuild 1385 MD5 8b2247b8a7b39d8ab3a92192d7ada212 sudo-1.6.8_p1-r2.ebuild 1505 +MD5 c34116a0ad0ff20144cceeed08df7819 sudo-1.6.8_p1.ebuild 1008 MD5 23b2b46384863419d6a5bcd80d82e5ff sudo-1.6.8_p2.ebuild 1461 +MD5 74ad376915593ecd59c8f7f1393d5f39 sudo-1.6.7_p5-r3.ebuild 1446 MD5 d3a1edd41e6a44e7dae35d250aea266e files/digest-sudo-1.6.6 62 MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5 64 -MD5 a5463236fbb98e4ee6b1a0faba8c9c52 files/sudo 135 MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5-r1 64 +MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5-r2 64 MD5 703a1c523c89153f9bf6f11be6b65778 files/digest-sudo-1.6.8_p1 64 MD5 703a1c523c89153f9bf6f11be6b65778 files/digest-sudo-1.6.8_p1-r1 64 -MD5 46618a1b8f9dd4b3d35476c1e63217b0 files/sudo-1.6.8_p1-suid_fix.patch 434 -MD5 0b50aabedf9bb326893b5f1c333e46b2 files/sudo-skeychallengeargs.diff 567 -MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5-r2 64 MD5 703a1c523c89153f9bf6f11be6b65778 files/digest-sudo-1.6.8_p1-r2 64 MD5 2a0f63ce27c6d8b9d304ece23ca43a5e files/digest-sudo-1.6.8_p2 64 +MD5 a5463236fbb98e4ee6b1a0faba8c9c52 files/sudo 135 MD5 b906eb71f7564707384cfa9fc80c1b5f files/sudo-1.6.7_p5-strip-bash-functions.diff 1101 +MD5 46618a1b8f9dd4b3d35476c1e63217b0 files/sudo-1.6.8_p1-suid_fix.patch 434 +MD5 0b50aabedf9bb326893b5f1c333e46b2 files/sudo-skeychallengeargs.diff 567 MD5 4362800877ccb8e27de5437707d8a954 files/sudo-strip-bash-functions.diff 1335 MD5 74f9541ba3dfec492975db7223bdf386 files/sudoers 1311 +MD5 774b75e759fe13c7334c523b1db8ab2e files/sudo_include 67 +MD5 ea5d9d51e647a2dbd410d952019ff19b files/digest-sudo-1.6.7_p5-r3 64 diff --git a/app-admin/sudo/files/digest-sudo-1.6.7_p5-r3 b/app-admin/sudo/files/digest-sudo-1.6.7_p5-r3 new file mode 100644 index 000000000000..2875abeb053d --- /dev/null +++ b/app-admin/sudo/files/digest-sudo-1.6.7_p5-r3 @@ -0,0 +1 @@ +MD5 55d503e5c35bf1ea83d38244e0242aaf sudo-1.6.7p5.tar.gz 349785 diff --git a/app-admin/sudo/files/sudo_include b/app-admin/sudo/files/sudo_include new file mode 100644 index 000000000000..cfdcc64e2574 --- /dev/null +++ b/app-admin/sudo/files/sudo_include @@ -0,0 +1,5 @@ +#%PAM-1.0 + +auth include system-auth +auth required pam_nologin.so + diff --git a/app-admin/sudo/sudo-1.6.7_p5-r3.ebuild b/app-admin/sudo/sudo-1.6.7_p5-r3.ebuild new file mode 100644 index 000000000000..2ba234f2a977 --- /dev/null +++ b/app-admin/sudo/sudo-1.6.7_p5-r3.ebuild @@ -0,0 +1,60 @@ +# 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-r3.ebuild,v 1.1 2005/04/28 17:22:44 flameeyes 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 skey" + +DEPEND="pam? ( virtual/pam ) + skey? ( >=app-admin/skey-1.1.5-r1 )" + +S=${WORKDIR}/${P/_/} + +src_unpack() { + unpack ${A} + use skey && epatch ${FILESDIR}/${PN}-skeychallengeargs.diff + epatch ${FILESDIR}/${P}-strip-bash-functions.diff +} + +src_compile() { + econf \ + --with-all-insults \ + --disable-path-info \ + --with-env-editor \ + $(use_with pam) \ + $(use_with skey) \ + || die "econf failed" + emake || die +} + +src_install() { + einstall || die + dodoc BUGS CHANGES HISTORY PORTING README RUNSON TODO \ + TROUBLESHOOTING UPGRADE sample.* + + newpamd ${FILESDIR}/sudo_include sudo + + insinto /etc + doins ${FILESDIR}/sudoers + fperms 0440 /etc/sudoers +} + +pkg_postinst() { + use skey && use pam && { + ewarn "sudo will not use skey authentication when compiled with" + ewarn "pam support. to allow users to authenticate with one time" + ewarn "passwords, you should unset the pam USE flag for sudo." + } +} |