file: update to 5.38 16411/head
authorMichal Vasilek <michal.vasilek@nic.cz>
Fri, 20 Aug 2021 10:23:32 +0000 (12:23 +0200)
committerMichal Vasilek <michal.vasilek@nic.cz>
Mon, 23 Aug 2021 10:25:13 +0000 (12:25 +0200)
* fixes CVE-2019-18218

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
libs/file/Makefile

index d18ca7b9492061e9d0285e4b56c5b86d3533f036..4f35a171ce6113cca544a47f123cbc865580396e 100644 (file)
@@ -8,16 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=file
-PKG_VERSION:=5.37
+PKG_VERSION:=5.38
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://src.fedoraproject.org/lookaside/pkgs/file/ \
-       http://download.openpkg.org/components/cache/file/ \
+PKG_SOURCE_URL:=http://download.openpkg.org/components/cache/file/ \
        ftp://ftp.astron.com/pub/file/
-PKG_HASH:=e9c13967f7dd339a3c241b7710ba093560b9a33013491318e88e6b8b57bae07f
+PKG_HASH:=593c2ffc2ab349c5aea0f55fedfe4d681737b6b62376a9b3ad1e77b2cc19fa34
 
-PKG_LICENSE:=BSD-2c
+PKG_LICENSE:=BSD-2-Clause
 PKG_LICENSE_FILES:=COPYING
 
 PKG_INSTALL:=1
@@ -44,7 +43,7 @@ $(call Package/file/Default)
   SECTION:=libs
   CATEGORY:=Libraries
   TITLE+= library
-  DEPENDS:=+zlib
+  DEPENDS:=+zlib +liblzma +libbz2
 endef
 
 TARGET_CFLAGS += $(FPIC)
@@ -53,6 +52,9 @@ TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \
+       --enable-bzlib \
+       --enable-xzlib \
+       --enable-zlib \
        --disable-libseccomp \
        --disable-rpath \
        --disable-warnings \