git: f0f7aec3e469 - main - archivers/libarchive: Update to 3.6.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 13 Mar 2022 07:54:02 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0f7aec3e469a774d51671392a56193772663bdb

commit f0f7aec3e469a774d51671392a56193772663bdb
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-03-13 07:05:24 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-03-13 07:53:54 +0000

    archivers/libarchive: Update to 3.6.0
    
    Backport upstream commits 52efa50c69653029687bfc545703b7340b7a51e2 and
    1271f775dc917798ad7d03c3b3bd66bacad03603 for security fixes in
    RAR filter, suggested by Tod Jackson
    
    Changelog: https://github.com/libarchive/libarchive/releases/tag/v3.6.0
    
    PR:             262069
    Approved by:    glewis (maintainer timeout, 2+ weeks)
---
 archivers/libarchive/Makefile |  7 +++++--
 archivers/libarchive/distinfo | 10 +++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 2e739bdf12bf..03b3a014f89d 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -1,11 +1,14 @@
 PORTNAME=	libarchive
-DISTVERSION=	3.5.2
-PORTREVISION=	1
+DISTVERSION=	3.6.0
 PORTEPOCH=	1
 CATEGORIES=	archivers
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \
 		https://libarchive.org/downloads/
 
+PATCH_SITES=	https://github.com/libarchive/libarchive/commit/
+PATCHFILES=	52efa50c69653029687bfc545703b7340b7a51e2.patch:-p1 \
+		1271f775dc917798ad7d03c3b3bd66bacad03603.patch:-p1
+
 MAINTAINER=	glewis@FreeBSD.org
 COMMENT=	Library to create and read several streaming archive formats
 
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index 2cf5a46d0fec..1884591a8b53 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1636759090
-SHA256 (libarchive-3.5.2.tar.xz) = f0b19ff39c3c9a5898a219497ababbadab99d8178acc980155c7e1271089b5a0
-SIZE (libarchive-3.5.2.tar.xz) = 4905416
+TIMESTAMP = 1647154536
+SHA256 (libarchive-3.6.0.tar.xz) = df283917799cb88659a5b33c0a598f04352d61936abcd8a48fe7b64e74950de7
+SIZE (libarchive-3.6.0.tar.xz) = 6400620
+SHA256 (52efa50c69653029687bfc545703b7340b7a51e2.patch) = bb2d7b9d7602bca9f64d792627127c7d2c74e39f488c7125d042e15b265de68c
+SIZE (52efa50c69653029687bfc545703b7340b7a51e2.patch) = 4570
+SHA256 (1271f775dc917798ad7d03c3b3bd66bacad03603.patch) = 75b88af271c5be1d52e732cd72638ecc74f1cf01578eac16b56fc9dfec899976
+SIZE (1271f775dc917798ad7d03c3b3bd66bacad03603.patch) = 1503