Magellan Linux

Contents of /smage/trunk/core/sudo/sudo-1.6.9p16-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (show annotations) (download)
Sun Jan 11 01:07:49 2009 UTC (15 years, 3 months ago) by niro
File size: 1146 byte(s)
-fixed old cvs headers
1 # $Id$
2
3 PNAME="sudo"
4 PVER="1.6.9p16"
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=">= sys-libs/pam-0.99"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mtools alx
19
20 SRC_URI=(
21 http://www.sudo.ws/${PNAME}/dist/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/sudo.pamd
24 mirror://${PNAME}/${PNAME}-1.6.9p12-allow-wheel.patch
25 )
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # allow the group wheel to run all commands
33 mpatch ${PNAME}-1.6.9p12-allow-wheel.patch || die
34 }
35
36 src_compile()
37 {
38 cd ${SRCDIR}
39
40 mconfigure \
41 --libexecdir=/usr/$(mlibdir)/sudo \
42 --with-all-insults \
43 --disable-path-info \
44 --with-env-editor \
45 --with-pam \
46 || die
47
48 mmake || die
49 }
50
51 src_install()
52 {
53 cd ${SRCDIR}
54 mmake DESTDIR=${BINDIR} install || die
55
56 # pam related configs
57 minstallpam sudo.pamd sudo || die
58
59 # docs
60 minstalldocs BUGS CHANGES HISTORY LICENSE PORTING \
61 README RUNSON TODO TROUBLESHOOTING UPGRADE \
62 || die
63 }

Properties

Name Value
svn:keywords Id