include $(TOPDIR)/rules.mk
PKG_NAME:=sudo
-PKG_VERSION:=1.7.0
+PKG_VERSION:=1.7.2
PKG_RELEASE:=1
-PKG_SOURCE:=sudo-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist/
-PKG_MD5SUM:=5fd96bba35fe29b464f7aa6ad255f0a6
+PKG_MD5SUM:=9caba8719c3e0f163880a05f02a48249
include $(INCLUDE_DIR)/package.mk
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
as root or another user while providing an audit trail of the commands and
- their arguments.
+ their arguments.
endef
CONFIGURE_ARGS+= \
--without-pam \
--disable-pam-session \
+ --with-editor=/bin/vi \
CONFIGURE_VARS+= \
sudo_cv_uid_t_len=10 \
+ sudo_cv_func_unsetenv_void=no \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
--- a/Makefile.in
+++ b/Makefile.in
-@@ -408,11 +408,11 @@ install-dirs:
+@@ -415,11 +415,11 @@ install-dirs:
$(DESTDIR)$(noexecdir)
- install-binaries: $(PROGS)
+ install-binaries: install-dirs $(PROGS)
- $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo
+ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 sudo $(DESTDIR)$(sudodir)/sudo
rm -f $(DESTDIR)$(sudodir)/sudoedit
+ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo
+@SELINUX@ $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 sesh $(DESTDIR)$(libexecdir)/sesh
- install-noexec: sudo_noexec.la
+ install-noexec: install-dirs sudo_noexec.la
test -f .libs/$(noexecfile) && $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir)