]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - sudo/sudo.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / sudo / sudo.nm
CommitLineData
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 6name = sudo
5b4a0762 7version = 1.8.3
802ea3af
MT
8release = 1
9
10groups = Base Applications/System
11url = http://www.sudo.ws/sudo/download.html
12license = BSD
13summary = Allows restricted root access for specified users.
14
15description
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
25end
26
27source_dl = http://www.sudo.ws/sudo/dist/
28
29build
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=/usr/lib \
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
57end
58
59packages
60 package %{name}
61 end
1f9bc2f0
MT
62
63 package %{name}-debuginfo
64 template DEBUGINFO
65 end
802ea3af 66end