git: a00a9c806454 - main - archivers/libarchive: Update to 3.7.2

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 23 Oct 2023 18:23:01 UTC
The branch main has been updated by diizzy:

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

commit a00a9c80645455e486cf6146437336422ba45018
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-23 18:04:26 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-10-23 18:22:57 +0000

    archivers/libarchive: Update to 3.7.2
    
    Backport upstream commit 3bd918d92f8c34ba12de9c6604d96f9e262a59fc
    
    Changelog:
    https://github.com/libarchive/libarchive/releases/tag/v3.7.2
    
    Reference:
    https://github.com/libarchive/libarchive/commit/3bd918d92f8c34ba12de9c6604d96f9e262a59fc
    
    PR:             274628
    Reviewed by:    glewis (maintainer)
---
 archivers/libarchive/Makefile  | 8 +++++---
 archivers/libarchive/distinfo  | 8 +++++---
 archivers/libarchive/pkg-plist | 2 +-
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index ec64e856df42..65418bd2daa9 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	libarchive
-DISTVERSION=	3.7.1
+DISTVERSION=	3.7.2
 PORTEPOCH=	1
 CATEGORIES=	archivers
 MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \
 		https://libarchive.org/downloads/
 
+PATCH_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/commit/
+PATCHFILES=	3bd918d92f8c34ba12de9c6604d96f9e262a59fc.patch:-p1
+
 MAINTAINER=	glewis@FreeBSD.org
 COMMENT=	Library to create and read several streaming archive formats
 WWW=		https://libarchive.org/
@@ -14,8 +17,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
-USES=		autoreconf cpe iconv libtool localbase:ldflags pathfix \
-		pkgconfig tar:xz
+USES=		cpe iconv libtool localbase:ldflags pathfix pkgconfig tar:xz
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index 77986d1b4fab..11f4fa20762b 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1690759351
-SHA256 (libarchive-3.7.1.tar.xz) = b17403ce670ff18d8e06fea05a9ea9accf70678c88f1b9392a2e29b51127895f
-SIZE (libarchive-3.7.1.tar.xz) = 5254260
+TIMESTAMP = 1697883701
+SHA256 (libarchive-3.7.2.tar.xz) = 04357661e6717b6941682cde02ad741ae4819c67a260593dfb2431861b251acb
+SIZE (libarchive-3.7.2.tar.xz) = 5237056
+SHA256 (3bd918d92f8c34ba12de9c6604d96f9e262a59fc.patch) = 25257cc6897984f52939123d08e1d3e1df29d1050bf60013757315e86c389a51
+SIZE (3bd918d92f8c34ba12de9c6604d96f9e262a59fc.patch) = 1211
diff --git a/archivers/libarchive/pkg-plist b/archivers/libarchive/pkg-plist
index 4bbe0d741284..d9815b6d0732 100644
--- a/archivers/libarchive/pkg-plist
+++ b/archivers/libarchive/pkg-plist
@@ -6,7 +6,7 @@ include/archive.h
 include/archive_entry.h
 lib/libarchive.so
 lib/libarchive.so.13
-lib/libarchive.so.13.7.1
+lib/libarchive.so.13.7.2
 libdata/pkgconfig/libarchive.pc
 man/man1/bsdcat.1.gz
 man/man1/bsdcpio.1.gz