--- smage/trunk/core/sudo/sudo-1.7.4p4-r1.smage2 2010/10/21 20:17:27 769 +++ smage/trunk/core/sudo/sudo-1.7.4p4-r1.smage2 2010/10/21 20:19:12 770 @@ -10,12 +10,13 @@ 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=">= sys-libs/pam-1.1" +DEPEND=">= virtual/glibc" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" -sminclude mtools +MCORE_ONLY_KEEP="etc/sudoers usr/bin/sudo" +sminclude mtools mcore-split SRC_URI=( http://www.sudo.ws/${PNAME}/dist/${SRCFILE} @@ -44,7 +45,7 @@ --with-all-insults \ --disable-path-info \ --with-env-editor \ - --with-pam \ + --without-pam \ || die mmake || die @@ -53,11 +54,8 @@ src_install() { cd ${SRCDIR} - mmake DESTDIR=${BINDIR} install || die - - # pam related configs - minstallpam sudo.pamd sudo || die + mmake DESTDIR=${BINDIR} install || die # fix permissions - /var and /var/db get 0700 and this breaks the system! mchmod 0755 /var || die mchmod 0755 /var/db || die