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
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 \
$(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
+++ /dev/null
---- 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)