zsh: security bump to version 5.0.7

Fixes shellshock-alike exploits.

Install binary to /bin as all shells should be and add hash file.

[Peter: drop /bin/sh handling as we're going to handle it globally]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2014-10-08 10:19:46 -03:00 committed by Peter Korsgaard
parent 9a0990c408
commit c3bf16f884
3 changed files with 13 additions and 4 deletions

View File

@ -8,4 +8,4 @@ config BR2_PACKAGE_ZSH
ksh, and tcsh were incorporated into zsh; many original features
were added.
http://zsh.sourceforge.net/
http://www.zsh.org/

2
package/zsh/zsh.hash Normal file
View File

@ -0,0 +1,2 @@
# From http://www.zsh.org/pub/MD5SUM
md5 76726ff50309e628de670476e0508b3a zsh-5.0.7.tar.gz

View File

@ -4,10 +4,17 @@
#
################################################################################
ZSH_VERSION = 5.0.6
ZSH_SITE = http://downloads.sourceforge.net/project/zsh/zsh/$(ZSH_VERSION)
ZSH_VERSION = 5.0.7
ZSH_SITE = http://www.zsh.org/pub
ZSH_DEPENDENCIES = ncurses
ZSH_CONF_OPTS = --bindir=/bin
ZSH_LICENSE = MIT-like
ZSH_LICENSE_FILES = LICENCE
ZSH_DEPENDENCIES = ncurses
# Remove versioned zsh-x.y.z binary taking up space
define ZSH_TARGET_INSTALL_FIXUPS
rm -f $(TARGET_DIR)/bin/zsh-$(ZSH_VERSION)
endef
ZSH_POST_INSTALL_TARGET_HOOKS += ZSH_TARGET_INSTALL_FIXUPS
$(eval $(autotools-package))