aboutsummaryrefslogtreecommitdiff
path: root/system/p7zip/p7zip.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-16 23:01:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-17 07:48:51 +0700
commit3132a8e569f853ce4c74500653381a93592b08a4 (patch)
tree893dcf5ae1a5615a32a73b16c4de735298274464 /system/p7zip/p7zip.SlackBuild
parente5175bb9950a9a91e9fb8064c320d3a8e79a9c11 (diff)
system/p7zip: Updated for version 16.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/p7zip/p7zip.SlackBuild')
-rw-r--r--system/p7zip/p7zip.SlackBuild19
1 files changed, 2 insertions, 17 deletions
diff --git a/system/p7zip/p7zip.SlackBuild b/system/p7zip/p7zip.SlackBuild
index e9eb5b372c115..e21a3b0709138 100644
--- a/system/p7zip/p7zip.SlackBuild
+++ b/system/p7zip/p7zip.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=p7zip
-VERSION=${VERSION:-9.20.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-16.02}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,21 +72,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# patch to fix security issues :
-#
-# CVE-2015-1038:
-# p7zip 9.20.1 allows remote attackers to write to arbitrary files via a symlink attack in an archive.
-# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1038
-# https://sourceforge.net/p/p7zip/bugs/147/#2f9c
-#
-# CVE-2016-2335:
-# 7zip UDF CInArchive::ReadFileItem Code Execution Vulnerability
-# http://www.talosintel.com/reports/TALOS-2016-0094/
-# https://sourceforge.net/p/p7zip/discussion/383043/thread/9d0fb86b/#1dba
-#
-patch -Np1 < $CWD/CVE-2015-1038.patch
-patch -Np1 < $CWD/CVE-2016-2335.patch
-
make all3 \
OPTFLAGS="$SLKCFLAGS" \
DEST_HOME=/usr \