Magellan Linux

Contents of /smage/trunk/core/sudo/sudo-1.7.2p6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (show annotations) (download)
Mon Apr 26 19:58:26 2010 UTC (14 years ago) by niro
File size: 1004 byte(s)
auto added: ver bump to 1.7.2p6-r1
1 # $Id$
2
3 PNAME="sudo"
4 PVER="1.7.2p6"
5 PBUILD="r1"
6
7 PCATEGORIE="app-admin"
8 STATE="unstable"
9
10 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/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 MCORE_ONLY_KEEP="etc/sudoers usr/bin/sudo"
19 sminclude mtools mcore-split
20
21 SRC_URI=(
22 http://www.sudo.ws/${PNAME}/dist/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-1.6.9p12-allow-wheel.patch
25 )
26
27 UP2DATE="updatecmd http://www.sudo.ws/${PNAME}/dist | grep ${PNAME}- | lasttarball gz"
28
29 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33
34 # allow the group wheel to run all commands
35 mpatch ${PNAME}-1.6.9p12-allow-wheel.patch || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41
42 mconfigure \
43 --libexecdir=/usr/$(mlibdir)/sudo \
44 --with-all-insults \
45 --disable-path-info \
46 --with-env-editor \
47 --without-pam \
48 || die
49
50 mmake || die
51 }

Properties

Name Value
svn:keywords Id