From: florian Date: Wed, 15 Jul 2009 09:57:36 +0000 (+0000) Subject: [package] update sudo to 1.7.2 (#5514) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=0f1c172996a3ad34dacb8c504b07750184253961;p=packages.git [package] update sudo to 1.7.2 (#5514) git-svn-id: svn://svn.openwrt.org/openwrt/packages@16850 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/admin/sudo/Makefile b/admin/sudo/Makefile index 44cbb2065..3ef534bd2 100644 --- a/admin/sudo/Makefile +++ b/admin/sudo/Makefile @@ -7,12 +7,12 @@ 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 @@ -27,15 +27,17 @@ define Package/sudo/description 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) \ diff --git a/admin/sudo/patches/101-install_no_strip.patch b/admin/sudo/patches/101-install_no_strip.patch index 4e7ed7433..fd09dd907 100644 --- a/admin/sudo/patches/101-install_no_strip.patch +++ b/admin/sudo/patches/101-install_no_strip.patch @@ -1,9 +1,9 @@ --- 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 @@ -13,5 +13,5 @@ + $(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)