From 588e3c1df2b1e603bf2cc96ed5c1b257b9e75d41 Mon Sep 17 00:00:00 2001 From: Mohammed Anas Date: Sat, 14 Oct 2023 00:20:11 +0100 Subject: [PATCH] libarchive: update to 3.7.2. --- srcpkgs/libarchive/template | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index f4885ebc033c5..eba33933dfba6 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -1,7 +1,7 @@ # Template file for 'libarchive' pkgname=libarchive -version=3.6.2 -revision=3 +version=3.7.2 +revision=1 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable acl) $(vopt_enable acl xattr) @@ -16,18 +16,13 @@ short_desc="Library to read/write several different streaming archive formats" maintainer="Juan RP " license="BSD-2-Clause" homepage="http://www.libarchive.org/" -changelog="https://raw.githubusercontent.com/wiki/libarchive/libarchive/ReleaseNotes.md" -distfiles="https://github.com/libarchive/libarchive/releases/download/v${version}/libarchive-${version}.tar.gz" -checksum=ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3 +changelog="https://github.com/libarchive/libarchive/releases" +distfiles="https://github.com/libarchive/libarchive/releases/download/v${version}/libarchive-${version}.tar.xz" +checksum=04357661e6717b6941682cde02ad741ae4819c67a260593dfb2431861b251acb build_options="acl expat lzo lz4 ssl zstd" build_options_default="acl ssl lz4 zstd" -post_extract() { - # remove iconv from libarchive.pc requirements. - vsed -e '/LIBSREQUIRED.*iconv/d' -i configure -} - pre_configure() { export LIBS=-pthread } @@ -35,11 +30,11 @@ pre_configure() { do_check() { case "$XBPS_TARGET_LIBC" in *musl) - make check || + make check ${makejobs} || msg_warn "Tests can fail due to encoding conversions\n" ;; *) - make check + make check ${makejobs} ;; esac }