From 1a3853cac2c0c9f2b354d474b7c5fd6558382696 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 9 Oct 2014 06:28:14 +0000 Subject: Update to 5.0.7 Note from upstream release note: Note in particular there is a security fix to disallow evaluation of the initial values of integer variables imported from the environment (they are instead treated as literal numbers). That could allow local privilege escalation, under some specific and atypical conditions where zsh is being invoked in privilege elevation contexts when the environment has not been properly sanitized, such as when zsh is invoked by sudo on systems where "env_reset" has been disabled. --- shells/zsh/Makefile | 3 +-- shells/zsh/distinfo | 8 ++++---- shells/zsh/files/patch-Completion-Unix-Command-_sysctl | 10 +++++----- shells/zsh/pkg-plist | 2 +- 4 files changed, 11 insertions(+), 12 deletions(-) (limited to 'shells/zsh') diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index 7c52ddf7afba..bbe3bf2938b8 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= zsh -PORTVERSION= 5.0.6 -PORTREVISION= 2 +PORTVERSION= 5.0.7 CATEGORIES= shells MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \ SF/${PORTNAME}/${PORTNAME}-doc/${PORTVERSION}:doc diff --git a/shells/zsh/distinfo b/shells/zsh/distinfo index 619a3619f1f2..0b2c9b69b08c 100644 --- a/shells/zsh/distinfo +++ b/shells/zsh/distinfo @@ -1,4 +1,4 @@ -SHA256 (zsh-5.0.6.tar.bz2) = 84ca509b141533a3b695e314fbce1200b86ff337ab7dd9e3414da05d86378845 -SIZE (zsh-5.0.6.tar.bz2) = 3174858 -SHA256 (zsh-5.0.6-doc.tar.bz2) = b273a568682682cc1f00885aba118c7400cacfdbc0ecdf32fd5f9b820b8acfd6 -SIZE (zsh-5.0.6-doc.tar.bz2) = 2999237 +SHA256 (zsh-5.0.7.tar.bz2) = 544e27de81740286b916d1d77c9f48ad7c26ad7943ed96d278abee67cf6704b3 +SIZE (zsh-5.0.7.tar.bz2) = 3181030 +SHA256 (zsh-5.0.7-doc.tar.bz2) = 43e8665ba9d9eca8370c64e2d4846e84f9111c628e5792f2aa639a7fb209fcf1 +SIZE (zsh-5.0.7-doc.tar.bz2) = 3005587 diff --git a/shells/zsh/files/patch-Completion-Unix-Command-_sysctl b/shells/zsh/files/patch-Completion-Unix-Command-_sysctl index 6c7083893e3d..4f856bb2e252 100644 --- a/shells/zsh/files/patch-Completion-Unix-Command-_sysctl +++ b/shells/zsh/files/patch-Completion-Unix-Command-_sysctl @@ -1,11 +1,11 @@ ---- Completion/Unix/Command/_sysctl.orig 2005-12-05 15:22:54.000000000 +0100 -+++ Completion/Unix/Command/_sysctl 2012-05-11 18:24:24.679714541 +0200 +--- Completion/Unix/Command/_sysctl.orig 2014-10-02 21:28:23.000000000 +0200 ++++ Completion/Unix/Command/_sysctl 2014-10-09 07:57:47.570857223 +0200 @@ -1,7 +1,7 @@ #compdef sysctl case $OSTYPE in -- *freebsd[5-9].*|freebsd4.[4-9]*) -+ *freebsd[5-9].*|freebsd4.[4-9]*|*freebsd[0-9][0-9]*) +- *freebsd<5->.*|freebsd4.[4-9]*) ++ *freebsd<5->.*|freebsd4.[4-9]*|*freebsd[0-9][0-9].*) local -a sysctlvars - sysctlvars=( $(sysctl -aN) ) + sysctlvars=( $(_call_program sysctl-variables sysctl -aN) ) _arguments -s -A "-*" \ diff --git a/shells/zsh/pkg-plist b/shells/zsh/pkg-plist index 174fc20ef3f4..9215374647b3 100644 --- a/shells/zsh/pkg-plist +++ b/shells/zsh/pkg-plist @@ -312,6 +312,7 @@ bin/zsh-%%ZSH_VER%% %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_arping %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_at %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_attr +%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_augeas %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_awk %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_baz %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Unix/_bind_addresses @@ -755,7 +756,6 @@ bin/zsh-%%ZSH_VER%% %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_typeset %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_ulimit %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_unhash -%%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_unsetopt %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_user_math_func %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_value %%DATADIR%%/%%ZSH_VER%%/functions/Completion/Zsh/_vared -- cgit v1.2.3