unrar: Update to 5.6.1.
authorRosen Penev <rosenp@gmail.com>
Tue, 27 Mar 2018 02:13:13 +0000 (19:13 -0700)
committerYousong Zhou <yszhou4tech@gmail.com>
Sun, 8 Apr 2018 08:50:42 +0000 (16:50 +0800)
Change links to HTTPS and add CPE_ID.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/unrar/Makefile
utils/unrar/patches/100-makefile_fixes.patch

index 9d8f25eafe2370110db6206e401ec40fbfc7b47c..6d7b9ed5c53e15e3e358ec99e9149dec1adefdce 100644 (file)
@@ -6,17 +6,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=unrar
-PKG_VERSION:=5.5.8
+PKG_VERSION:=5.6.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=unrarsrc-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.rarlab.com/rar
-PKG_HASH:=9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4
+PKG_SOURCE_URL:=https://www.rarlab.com/rar
+PKG_HASH:=67c339dffa95f6c1bedcca40045e99de5852919dbfaa06e4a9c8f18cd5064e70
 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>, \
                Ted Hess <thess@kitschensync.net>
 
 PKG_LICENSE:=UnRAR
 PKG_LICENSE_FILES:=license.txt
+PKG_CPE_ID:=cpe:/a:rarlab:unrar
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/unrar
 PKG_INSTALL:=1
@@ -27,7 +28,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/unrar/Default
   TITLE:=UnRAR
   SUBMENU:=Compression
-  URL:=http://www.rarlab.com/
+  URL:=https://www.rarlab.com/
   DEPENDS:=$(CXX_DEPENDS) +libpthread
 endef
 
index 82205ea269a052319624cb93607f43f38a912c05..9729612201efe285f737980e6c04ff31963fb651 100644 (file)
@@ -5,9 +5,9 @@
  
  # Linux using GCC
 -CXX=c++
--CXXFLAGS=-O2
+-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
 +#CXX=c++
-+#CXXFLAGS=-O2
++#CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
  LIBFLAGS=-fPIC
  DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
  STRIP=strip