]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - sudo/sudo.nm
sudo: Update to 1.8.10.
[people/ms/ipfire-3.x.git] / sudo / sudo.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = sudo
7 version = 1.8.10
8 release = 1
9
10 groups = Applications/System
11 url = http://www.sudo.ws/
12 license = BSD
13 summary = Allows restricted root access for specified users.
14
15 description
16 Sudo (superuser do) allows a system administrator to give certain
17 users (or groups of users) the ability to run some (or all) commands
18 as root while logging all commands and arguments. Sudo operates on a
19 per-command basis. It is not a replacement for the shell. Features
20 include: the ability to restrict what commands a user may run on a
21 per-host basis, copious logging of each command (providing a clear
22 audit trail of who did what), a configurable timeout of the sudo
23 command, and the ability to use the same configuration file (sudoers)
24 on many different machines.
25 end
26
27 source_dl = http://www.sudo.ws/sudo/dist/
28
29 build
30 requires
31 audit-devel
32 cyrus-sasl-devel
33 libselinux-devel
34 openldap-devel
35 pam-devel
36 end
37
38 configure_options += \
39 --libexecdir=%{libdir} \
40 --with-logging=syslog \
41 --with-logfac=authpriv \
42 --with-pam \
43 --with-pam-login \
44 --with-editor=/usr/bin/vi \
45 --with-env-editor \
46 --with-ignore-dot \
47 --with-tty-tickets \
48 --with-ldap \
49 --with-passprompt="[sudo] password for %p: " \
50 --with-selinux \
51 --with-linux-audit
52
53 install_cmds
54 mkdir -pv %{BUILDROOT}/etc
55 cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}/etc/sudoers
56 end
57 end
58
59 packages
60 package %{name}
61 groups += Base
62
63 configfiles
64 /etc/sudoers
65 end
66 end
67
68 package %{name}-debuginfo
69 template DEBUGINFO
70 end
71 end