]> git.ipfire.org Git - ipfire-3.x.git/blame - sudo/sudo.nm
python-setuputils: Update to 40.4.3
[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
5dd0a121
SS
7version = 1.8.20p2
8release = 1
802ea3af 9
f2f0e6d7 10groups = Applications/System
18fc6b55 11url = http://www.sudo.ws/
802ea3af
MT
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
802ea3af 31 cyrus-sasl-devel
802ea3af
MT
32 openldap-devel
33 pam-devel
34 end
35
7f27ab78
SS
36 export LD_LIBRARY_PATH = %{DIR_APP}/lib/util/.libs/
37
802ea3af 38 configure_options += \
e8faa445 39 --libexecdir=%{libdir} \
802ea3af
MT
40 --with-logging=syslog \
41 --with-logfac=authpriv \
42 --with-pam \
43 --with-pam-login \
cb87081b 44 --with-editor=%{bindir}/vi \
802ea3af
MT
45 --with-env-editor \
46 --with-ignore-dot \
47 --with-tty-tickets \
48 --with-ldap \
5dd0a121 49 --with-passprompt="[sudo] password for %p: "
802ea3af 50
7f27ab78
SS
51 prepare_cmds
52 # The tarball contains files owned by a stange uid:gid which will let
53 # the testsuite (testsudoers/test3) fail. Fix the ownership of this files.
54 chown -R 0:0 %{DIR_APP}
55 end
56
57 test
58 make check
59 end
60
802ea3af 61 install_cmds
7f27ab78 62 mkdir -pv %{BUILDROOT}%{sysconfdir}
cb87081b 63 cp -vf %{DIR_SOURCE}/sudoers %{BUILDROOT}%{sysconfdir}/sudoers
802ea3af
MT
64 end
65end
66
67packages
68 package %{name}
f2f0e6d7 69 groups += Base
18fc6b55
MT
70
71 configfiles
cb87081b 72 %{sysconfdir}/sudoers
18fc6b55 73 end
802ea3af 74 end
1f9bc2f0
MT
75
76 package %{name}-debuginfo
77 template DEBUGINFO
78 end
802ea3af 79end