libexif: update to 0.6.23
authorRosen Penev <rosenp@gmail.com>
Sun, 19 Sep 2021 08:05:16 +0000 (01:05 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 25 Sep 2021 18:04:33 +0000 (11:04 -0700)
Switch to AUTORELEASE for simplicity.

Fix license information.

Add PKG_BUILD_PARALLEL for faster compilation.

Fixes CVE-2020-0198 and CVE-2020-0452.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libexif/Makefile
libs/libexif/patches/100-no_doc.patch

index 82ee39d791590363a36e0863b8c4758eaf209cc5..4fa8a2c0c8fc831d32aa4e5c0a6521ca17357ceb 100644 (file)
@@ -8,19 +8,21 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libexif
-PKG_VERSION:=0.6.22
-PKG_RELEASE:=1
+PKG_VERSION:=0.6.23
+PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/$(PKG_NAME)-0_6_22-release/
-PKG_HASH:=5048f1c8fc509cc636c2f97f4b40c293338b6041a5652082d5ee2cf54b530c56
+PKG_SOURCE_URL:=https://github.com/libexif/libexif/releases/download/v$(PKG_VERSION)
+PKG_HASH:=a740a99920eb81ae0aa802bb46e683ce6e0cde061c210f5d5bde5b8572380431
 
-PKG_LICENSE:=LGPL-2.1
+PK_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
+PKG_LICENSE:=LGPL-2.1-or-later
 PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:libexif:libexif
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -29,7 +31,6 @@ define Package/libexif
   CATEGORY:=Libraries
   TITLE:=library for jpeg files with exif tags
   URL:=https://libexif.github.io/
-  MAINTAINER:=W. Michael Petullo <mike@flyn.org>
 endef
 
 define Package/libexif/description
index dc0d662e3e3f2c0e08654dfb6c0d1f909d23bcc3..a67f79da7a349c856c5f0e41e3d99515a5ac0345 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -393,7 +393,7 @@ target_alias = @target_alias@
+@@ -406,7 +406,7 @@ target_alias = @target_alias@
  top_build_prefix = @top_build_prefix@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@