[packages] sudo: update to 1.7.4p4
authorStephen Walker <stephendwalker@gmail.com>
Wed, 29 Dec 2010 06:54:09 +0000 (06:54 +0000)
committerStephen Walker <stephendwalker@gmail.com>
Wed, 29 Dec 2010 06:54:09 +0000 (06:54 +0000)
 * disable zlib I/O log compression
 * build without lecture support since /var is a tmpfs mount
 * drop the local patch as upstream no longer strips binaries

SVN-Revision: 24845

admin/sudo/Makefile
admin/sudo/patches/101-install_no_strip.patch [deleted file]

index 27e1e2b699ece85139286b9398df961e6062428b..b5038afb5c792b70a88d3cf528a9251b38957b07 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sudo
-PKG_VERSION:=1.7.2p6
+PKG_VERSION:=1.7.4p4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.sudo.ws/sudo/dist
-PKG_MD5SUM:=c4f1a43e8ba94f6bf06d2211442148c4
+PKG_MD5SUM:=55d9906535d70a1de347cd3d3550ee87
 
 PKG_INSTALL:=1
 
@@ -40,7 +40,9 @@ endef
 CONFIGURE_ARGS+= \
        --without-pam \
        --disable-pam-session \
-       --with-editor=/bin/vi
+       --with-editor=/bin/vi \
+       --without-lecture \
+       --disable-zlib
 
 CONFIGURE_VARS+= \
        sudo_cv_uid_t_len=10 \
@@ -55,6 +57,7 @@ define Package/sudo/install
        $(INSTALL_DIR) $(1)/etc
        $(CP) $(PKG_INSTALL_DIR)/etc/sudoers $(1)/etc/
        chmod 0440 $(1)/etc/sudoers
+       $(INSTALL_DIR) $(1)/etc/sudoers.d
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/sudo_noexec.so $(1)/usr/lib/
 endef
diff --git a/admin/sudo/patches/101-install_no_strip.patch b/admin/sudo/patches/101-install_no_strip.patch
deleted file mode 100644 (file)
index 138c142..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -412,11 +412,11 @@ install-dirs:
-           $(DESTDIR)$(noexecdir)
- 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
-       ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit
--      $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo
--@SELINUX@     $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh
-+      $(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: install-dirs sudo_noexec.la
-       test -f .libs/$(noexecfile) && $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 .libs/$(noexecfile) $(DESTDIR)$(noexecdir)