this patch updates sudo to the latest stable version: 1.7.2p3

-Raphael

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19695 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2010-02-18 00:33:06 +00:00
parent 012b224240
commit 3f3fc6d2ef

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2009 OpenWrt.org # Copyright (C) 2006-2010 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -7,12 +7,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=sudo PKG_NAME:=sudo
PKG_VERSION:=1.7.2p2 PKG_VERSION:=1.7.2p3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist/ PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist/
PKG_MD5SUM:=2a19cf1ab4afc94fe19d0d0899d4cd45 PKG_MD5SUM:=b4bb9a0ae896958b71e48ef91967cdcb
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -21,29 +21,29 @@ include $(INCLUDE_DIR)/package.mk
define Package/sudo define Package/sudo
SECTION:=admin SECTION:=admin
CATEGORY:=Administration CATEGORY:=Administration
TITLE:=delegate authority to run commands TITLE:=Delegate authority to run commands
URL:=http://www.sudo.ws/ URL:=http://www.sudo.ws/
endef endef
define Package/sudo/description define Package/sudo/description
Sudo (su "do") allows a system administrator to delegate authority to give Sudo (su "do") allows a system administrator to delegate authority to give
certain users (or groups of users) the ability to run some (or all) commands certain users (or groups of users) the ability to run some (or all) commands as
as root or another user while providing an audit trail of the commands and root or another user while providing an audit trail of the commands and their
their arguments. arguments.
endef
define Package/sudo/conffiles
/etc/sudoers
endef endef
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--without-pam \ --without-pam \
--disable-pam-session \ --disable-pam-session \
--with-editor=/bin/vi \ --with-editor=/bin/vi
CONFIGURE_VARS+= \ CONFIGURE_VARS+= \
sudo_cv_uid_t_len=10 \ sudo_cv_uid_t_len=10 \
sudo_cv_func_unsetenv_void=no \ sudo_cv_func_unsetenv_void=no
define Package/sudo/conffiles
/etc/sudoers
endef
define Package/sudo/install define Package/sudo/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin