unrar: Update to latest version (5.5.8) 5275/head
authorTed Hess <thess@kitschensync.net>
Wed, 13 Dec 2017 20:39:35 +0000 (15:39 -0500)
committerTed Hess <thess@kitschensync.net>
Wed, 13 Dec 2017 20:48:26 +0000 (15:48 -0500)
11-Aug-2017 version fixes outstanding CVE's.
CVE-2012-6706, CVE-2017-12942, CVE-2017-12941, CVE-2017-12940 and CVE-2017-12938

Signed-off-by: Ted Hess <thess@kitschensync.net>
utils/unrar/Makefile
utils/unrar/patches/100-makefile_fixes.patch

index 31ba4a57b258b0df60c21908079ac94fd464e70b..9d8f25eafe2370110db6206e401ec40fbfc7b47c 100644 (file)
@@ -1,6 +1,4 @@
 #
-# Copyright (C) 2006-2016 OpenWrt.org
-#
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
@@ -8,13 +6,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=unrar
-PKG_VERSION:=5.4.5
+PKG_VERSION:=5.5.8
 PKG_RELEASE:=1
 
 PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.rarlab.com/rar
-PKG_HASH:=e470c584332422893fb52e049f2cbd99e24dc6c6da971008b4e2ae4284f8796c
-PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
+PKG_HASH:=9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4
+PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>, \
+               Ted Hess <thess@kitschensync.net>
 
 PKG_LICENSE:=UnRAR
 PKG_LICENSE_FILES:=license.txt
index ae4c62386e6624abbe7cfd294ceb58960ef21be4..82205ea269a052319624cb93607f43f38a912c05 100644 (file)
@@ -1,6 +1,6 @@
 --- a/makefile
 +++ b/makefile
-@@ -2,12 +2,12 @@
+@@ -2,13 +2,13 @@
  # Makefile for UNIX - unrar
  
  # Linux using GCC
  LIBFLAGS=-fPIC
  DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
  STRIP=strip
+ AR=ar
 -LDFLAGS=-pthread
 +LDFLAGS=-lpthread
  DESTDIR=/usr
  
  # Linux using LCC
-@@ -142,7 +142,7 @@ uninstall-unrar:
+@@ -166,7 +166,7 @@ uninstall-unrar:
                        rm -f $(DESTDIR)/bin/unrar
  
  install-lib:
 -              install libunrar.so $(DESTDIR)/lib
 +              install -D libunrar.so $(DESTDIR)/lib/libunrar.so
+               install libunrar.a $(DESTDIR)/lib
  
  uninstall-lib:
-               rm -f $(DESTDIR)/lib/libunrar.so