]>
Commit | Line | Data |
---|---|---|
957db558 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
957db558 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = sudo |
d4430d70 | 7 | version = 1.8.17p1 |
e8faa445 | 8 | release = 1 |
802ea3af | 9 | |
f2f0e6d7 | 10 | groups = Applications/System |
18fc6b55 | 11 | url = http://www.sudo.ws/ |
802ea3af MT |
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) | |
957db558 | 24 | on many different machines. |
802ea3af MT |
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 += \ | |
e8faa445 | 39 | --libexecdir=%{libdir} \ |
802ea3af MT |
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} | |
f2f0e6d7 | 61 | groups += Base |
18fc6b55 MT |
62 | |
63 | configfiles | |
64 | /etc/sudoers | |
65 | end | |
802ea3af | 66 | end |
1f9bc2f0 MT |
67 | |
68 | package %{name}-debuginfo | |
69 | template DEBUGINFO | |
70 | end | |
802ea3af | 71 | end |