archivers/libarchive: update to 3.5.2

New features:
* CPIO: Support for PWB and v7 binary cpio formats
* ZIP reader: Support of deflate algorithm in symbolic link decompression
This commit is contained in:
naddy 2021-08-27 14:37:59 +00:00
parent 4ec2c2edac
commit 38507792b1
4 changed files with 28 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.44 2020/12/27 19:09:02 naddy Exp $
# $OpenBSD: Makefile,v 1.45 2021/08/27 14:37:59 naddy Exp $
COMMENT= multi-format archive and compression library
DISTNAME= libarchive-3.5.1
SHARED_LIBS= archive 11.2 # 18.1
DISTNAME= libarchive-3.5.2
SHARED_LIBS= archive 11.3 # 18.2
CATEGORIES= archivers
HOMEPAGE= https://www.libarchive.org/

View File

@ -1,2 +1,2 @@
SHA256 (libarchive-3.5.1.tar.xz) = DhfTqNCyBgGGk7J/CAKbWY9u8DYAwrXRDJTOWGkuKZs=
SIZE (libarchive-3.5.1.tar.xz) = 4891300
SHA256 (libarchive-3.5.2.tar.xz) = 8LGf85w8mliYohlJerq7rauZ2BeKzJgBVcfhJxCJtaA=
SIZE (libarchive-3.5.2.tar.xz) = 4905416

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-libarchive_archive_write_set_format_cpio_binary_c,v 1.1 2021/08/27 14:37:59 naddy Exp $
Index: libarchive/archive_write_set_format_cpio_binary.c
--- libarchive/archive_write_set_format_cpio_binary.c.orig
+++ libarchive/archive_write_set_format_cpio_binary.c
@@ -124,6 +124,7 @@ PACKED(struct cpio_binary_header {
* ...but it feels a little better to do it like this:
*/
+#undef swap16 /* OpenBSD endian.h */
static uint16_t swap16(uint16_t in) {
union {
uint16_t s[2];
@@ -141,6 +142,7 @@ static uint16_t swap16(uint16_t in) {
/* NOTREACHED */
}
+#undef swap32 /* OpenBSD endian.h */
static uint32_t swap32(uint32_t in) {
union {
uint32_t l;

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-tar_bsdtar_1,v 1.13 2020/01/03 21:53:19 naddy Exp $
$OpenBSD: patch-tar_bsdtar_1,v 1.14 2021/08/27 14:37:59 naddy Exp $
Index: tar/bsdtar.1
--- tar/bsdtar.1.orig
+++ tar/bsdtar.1
@ -11,7 +11,7 @@ Index: tar/bsdtar.1
.Nd manipulate tape archives
.Sh SYNOPSIS
.Nm
@@ -247,11 +247,9 @@ The filename can be
@@ -248,11 +248,9 @@ The filename can be
for standard input or standard output.
The default varies by system;
on