[package] update sudo to 1.7.2 (#5514)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 15 Jul 2009 09:57:36 +0000 (09:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 15 Jul 2009 09:57:36 +0000 (09:57 +0000)
SVN-Revision: 16850

admin/sudo/Makefile
admin/sudo/patches/101-install_no_strip.patch

index 44cbb2065bdb9c64b76981b38928756eb5639e40..3ef534bd2e6df5028e18640b8c37ae17788da222 100644 (file)
@@ -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) \
index 4e7ed7433f9cf70ccbb7f91bbd78469a1f790707..fd09dd9078d9e8715457597cb8d3ea117021c754 100644 (file)
@@ -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)