# $Id$ PNAME="sudo" PVER="1.7.2p6" PBUILD="r1" PCATEGORIE="app-admin" STATE="unstable" DESCRIPTION="sudo allows to give certain users the ability to run some commands as another user while logging the commands." HOMEPAGE="http://www.sudo.ws/" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" MCORE_ONLY_KEEP="" sminclude mtools mcore-split SRC_URI=( http://www.sudo.ws/${PNAME}/dist/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-1.6.9p12-allow-wheel.patch ) UP2DATE="updatecmd http://www.sudo.ws/${PNAME}/dist | grep ${PNAME}- | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # allow the group wheel to run all commands mpatch ${PNAME}-1.6.9p12-allow-wheel.patch || die } src_compile() { cd ${SRCDIR} mconfigure \ --libexecdir=/usr/$(mlibdir)/sudo \ --with-all-insults \ --disable-path-info \ --with-env-editor \ --without-pam \ || die mmake || die }