Annotation of /trunk/core/sudo/sudo-1.7.2p1-r2.smage2
Parent Directory | Revision Log
Revision 3154 -
(hide annotations)
(download)
Tue Oct 13 22:42:56 2009 UTC (14 years, 11 months ago) by niro
File size: 1228 byte(s)
Tue Oct 13 22:42:56 2009 UTC (14 years, 11 months ago) by niro
File size: 1228 byte(s)
auto added: ver bump to 1.7.2p1-r2
1 | niro | 3154 | # $Id$ |
2 | |||
3 | PNAME="sudo" | ||
4 | PVER="1.7.2p1" | ||
5 | PBUILD="r2" | ||
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-1.1" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mtools | ||
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 | 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 | --with-pam \ | ||
48 | || die | ||
49 | |||
50 | mmake || die | ||
51 | } | ||
52 | |||
53 | src_install() | ||
54 | { | ||
55 | cd ${SRCDIR} | ||
56 | mmake DESTDIR=${BINDIR} install || die | ||
57 | |||
58 | # pam related configs | ||
59 | minstallpam sudo.pamd sudo || die | ||
60 | |||
61 | # docs | ||
62 | minstalldocs BUGS CHANGES HISTORY LICENSE PORTING \ | ||
63 | README RUNSON TODO TROUBLESHOOTING UPGRADE \ | ||
64 | || die | ||
65 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |