Magellan Linux

Diff of /smage/trunk/core/sudo/sudo-1.7.4p4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 769 by niro, Thu Oct 21 20:17:27 2010 UTC revision 770 by niro, Thu Oct 21 20:19:12 2010 UTC
# Line 10  STATE="unstable" Line 10  STATE="unstable"
10  DESCRIPTION="sudo allows to give certain users the ability to run some commands as another user while logging the commands."  DESCRIPTION="sudo allows to give certain users the ability to run some commands as another user while logging the commands."
11  HOMEPAGE="http://www.sudo.ws/"  HOMEPAGE="http://www.sudo.ws/"
12    
13  DEPEND=">= sys-libs/pam-1.1"  DEPEND=">= virtual/glibc"
14    
15  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
16  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17    
18  sminclude mtools  MCORE_ONLY_KEEP="etc/sudoers usr/bin/sudo"
19    sminclude mtools mcore-split
20    
21  SRC_URI=(  SRC_URI=(
22   http://www.sudo.ws/${PNAME}/dist/${SRCFILE}   http://www.sudo.ws/${PNAME}/dist/${SRCFILE}
# Line 44  src_compile() Line 45  src_compile()
45   --with-all-insults \   --with-all-insults \
46   --disable-path-info \   --disable-path-info \
47   --with-env-editor \   --with-env-editor \
48   --with-pam \   --without-pam \
49   || die   || die
50    
51   mmake || die   mmake || die
# Line 53  src_compile() Line 54  src_compile()
54  src_install()  src_install()
55  {  {
56   cd ${SRCDIR}   cd ${SRCDIR}
  mmake DESTDIR=${BINDIR} install || die  
   
  # pam related configs  
  minstallpam sudo.pamd sudo || die  
57    
58     mmake DESTDIR=${BINDIR} install || die
59   # fix permissions - /var and /var/db get 0700 and this breaks the system!   # fix permissions - /var and /var/db get 0700 and this breaks the system!
60   mchmod 0755 /var || die   mchmod 0755 /var || die
61   mchmod 0755 /var/db || die   mchmod 0755 /var/db || die

Legend:
Removed from v.769  
changed lines
  Added in v.770