]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - pkgs/sudo/sudo.nm
avahi: Update to 0.6.30.
[people/amarx/ipfire-3.x.git] / pkgs / sudo / sudo.nm
CommitLineData
957db558
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = sudo
5c472486 28PKG_VER = 1.7.4p3
0b846e53 29PKG_REL = 1
957db558
MT
30
31PKG_MAINTAINER =
b42a752b 32PKG_GROUPS = Base Applications/System
13e5c9f4 33PKG_URL = http://www.sudo.ws/sudo/download.html
957db558
MT
34PKG_LICENSE = BSD
35PKG_SUMMARY = Allows restricted root access for specified users.
36
0b846e53
SS
37PKG_BUILD_DEPS+= audit-devel cyrus-sasl-devel libselinux-devel openldap-devel\
38 pam-devel
957db558
MT
39
40define PKG_DESCRIPTION
41 Sudo (superuser do) allows a system administrator to give certain \
42 users (or groups of users) the ability to run some (or all) commands \
43 as root while logging all commands and arguments. Sudo operates on a \
44 per-command basis. It is not a replacement for the shell. Features \
45 include: the ability to restrict what commands a user may run on a \
46 per-host basis, copious logging of each command (providing a clear \
47 audit trail of who did what), a configurable timeout of the sudo \
48 command, and the ability to use the same configuration file (sudoers) \
49 on many different machines.
50endef
51
52PKG_TARBALL = $(THISAPP).tar.gz
53
54CONFIGURE_OPTIONS += \
5f16f9d1 55 --libexecdir=/usr/lib \
957db558
MT
56 --with-logging=syslog \
57 --with-logfac=authpriv \
58 --with-pam \
59 --with-pam-login \
60 --with-editor=/usr/bin/vi \
61 --with-env-editor \
62 --with-ignore-dot \
63 --with-tty-tickets \
64 --with-ldap \
0b846e53
SS
65 --with-passprompt="[sudo] password for %p: " \
66 --with-selinux \
67 --with-linux-audit
957db558
MT
68
69define STAGE_INSTALL_CMDS
70 -mkdir -pv $(BUILDROOT)/etc
71 cp -vf $(DIR_SOURCE)/sudoers $(BUILDROOT)/etc/sudoers
957db558 72endef