From 72acab80773379a61d7825c0d78ede692629df57 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 26 Mar 2018 19:13:13 -0700 Subject: [PATCH] unrar: Update to 5.6.1. Change links to HTTPS and add CPE_ID. Signed-off-by: Rosen Penev --- utils/unrar/Makefile | 9 +++++---- utils/unrar/patches/100-makefile_fixes.patch | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/utils/unrar/Makefile b/utils/unrar/Makefile index 9d8f25eaf..6d7b9ed5c 100644 --- a/utils/unrar/Makefile +++ b/utils/unrar/Makefile @@ -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 , \ Ted Hess 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 diff --git a/utils/unrar/patches/100-makefile_fixes.patch b/utils/unrar/patches/100-makefile_fixes.patch index 82205ea26..972961220 100644 --- a/utils/unrar/patches/100-makefile_fixes.patch +++ b/utils/unrar/patches/100-makefile_fixes.patch @@ -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