[packages] sudo: update to 1.7.4p4
* 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@24845 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b8c17bde29
commit
5235784c7e
@ -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
|
||||
|
@ -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)
|
Loading…
x
Reference in New Issue
Block a user