1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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.
This commit is contained in:
Baptiste Daroussin 2014-10-09 06:28:14 +00:00
parent 4c74f8dc91
commit 1a3853cac2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370504
4 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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 "-*" \

View File

@ -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