CVS commit: src/external/bsd/libarchive/dist/libarchive

2021-03-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Mar 29 15:31:46 UTC 2021

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_read_disk_posix.c

Log Message:
PR/56083: RVP: tar -c hangs when reading from FUSE-ext2 filesystems since
it returns 0 for statvfs members and libarchive handles only -1. Centralize
the transfer setting code.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_read_disk_posix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-09-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Sep  5 13:35:24 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_read_open_filename.c

Log Message:
avoid always passing NULL to printf()-like functions


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_read_open_filename.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-08-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 28 18:44:54 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_write_disk_secure.c

Log Message:
PR/55612: Martin Husemann: libarchive tests pollute /tmp w/o cleanup
Make tests obey $TMPDIR.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-08-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 14 14:42:45 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_write_disk_posix.c

Log Message:
PR/55568: Andreas Gustafsson: Set the error when failing to create a temp file.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-04-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 22 15:55:41 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_acl_platform_posix1e.c

Log Message:
make variable constant since it is assigned from a string literal


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_posix1e.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-04-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Apr 22 15:55:55 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_acl_platform_nfs4.c

Log Message:
Add missing break's


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/test/test_acl_platform_nfs4.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-02-27 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Feb 27 10:35:08 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_read_support_format_xar.c

Log Message:
Fix undefined behavior in archive_read_support_format_xar()

Cherry-pick upstream patch:

>From 2cfda000bc5159d46fd8ead7d1bd3ea1f66f7948 Mon Sep 17 00:00:00 2001
From: Martin Matuska 
Date: Thu, 27 Feb 2020 01:54:19 +0100
Subject: [PATCH] XAR reader: initialize file_queue with 0 and memcpy() if
 allocated only

Fixes #1338


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/archive_read_support_format_xar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-02-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Feb 25 09:01:25 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_read.c

Log Message:
Avoid NULL pointer arithmetic

Cherry-pick upstream patch:

>From ec5b86b48e99c5501374b01606f1ccdae6a8a93e Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski 
Date: Mon, 24 Feb 2020 22:58:00 +0100
Subject: [PATCH] archive_read.c: silence UBSan warning about undefined
 behavior

Fixes #1335

https://github.com/libarchive/libarchive/commit/ec5b86b48e99c5501374b01606f1ccdae6a8a93e.patch


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_read.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-02-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb 10 15:24:21 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_write_disk_posix.c

Log Message:
When extracting symlinks atomically remove them like we do for hard links.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:37:26 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_archive_write_set_format_filter_by_ext.c
test_read_format_7zip.c test_sparse_basic.c
test_write_format_zip_file.c test_write_format_zip_file_zip64.c

Log Message:
make things compile (pullup merged)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/test/test_archive_write_set_format_filter_by_ext.c
 \
src/external/bsd/libarchive/dist/libarchive/test/test_read_format_7zip.c \

src/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file.c \

src/external/bsd/libarchive/dist/libarchive/test/test_write_format_zip_file_zip64.c
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/test/test_sparse_basic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:37:03 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_write_disk_secure.c

Log Message:
fix test I broke by commenting out flags.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/libarchive/dist/libarchive/test/test_write_disk_secure.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive/test

2020-01-16 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jan 17 00:36:20 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive/test:
test_read_disk_directory_traversals.c

Log Message:
pull fix from head (O_EXEC means O_SEARCH only on FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-01-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jan 14 19:29:45 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_write_disk_posix.c

Log Message:
In the extract atomic case, remove the destination hard link first
since it did not get removed before for us. If we wanted to do this
right, we would do the mk*temp() file generation and trying to link
instead of open, and finally when we got the link to succeed, we
would rename the temp link to the final destination name, making
hard link creation atomic. For now we just remove first.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2018-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Feb  5 12:13:54 UTC 2018

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_openssl_evp_private.h archive_openssl_hmac_private.h

Log Message:
undo previous.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/bsd/libarchive/dist/libarchive/archive_openssl_evp_private.h \
src/external/bsd/libarchive/dist/libarchive/archive_openssl_hmac_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2018-02-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb  5 10:46:19 UTC 2018

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_openssl_hmac_private.h

Log Message:
Adapt the version hack for openssl provided inline functions: openssl 1.0.2k
already provides the colliding definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_openssl_hmac_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2018-02-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Feb  5 10:26:06 UTC 2018

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_openssl_evp_private.h

Log Message:
Try to fix the build: OpenSSL 1.0.2k already has the EVP inline functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_openssl_evp_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2016-12-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 29 20:11:50 UTC 2016

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_write.3

Log Message:
Do not mention non-existing archive_write_set_format_shar_binary.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/libarchive/dist/libarchive/archive_write.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2016-12-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 29 20:07:49 UTC 2016

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_entry.3

Log Message:
Fix prototype.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/libarchive/dist/libarchive/archive_entry.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2016-12-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Dec 29 13:46:21 UTC 2016

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_read_disk.3

Log Message:
Fix return type of two functions to match header.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/libarchive/dist/libarchive/archive_read_disk.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2016-06-06 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon Jun  6 14:45:15 UTC 2016

Modified Files:
src/external/bsd/libarchive/dist/libarchive: libarchive-formats.5

Log Message:
Fix reference to mtree(8) from mtree(1).
While there fix the .Dt, make the document title all caps.
Also, remove .Pp before .Bl.
Ok from wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/libarchive-formats.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2013-10-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Oct 19 22:55:13 UTC 2013

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_write_set_format_shar.c

Log Message:
actually use the copied tmp_buf, for 3 byte-unaligned uudecode.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_shar.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




CVS commit: src/external/bsd/libarchive/dist/libarchive

2011-09-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Sep 16 16:27:36 UTC 2011

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_check_magic.c

Log Message:
Use __dead


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_check_magic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2011-08-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug 16 14:08:36 UTC 2011

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_read_support_compression_compress.c

Log Message:
Revert.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \

src/external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2011-08-15 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Aug 16 03:33:37 UTC 2011

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_read_support_compression_compress.c

Log Message:
provisional fix for CVS-2011-2895, buffer overflow during decompress


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/archive_read_support_compression_compress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2011-07-12 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Tue Jul 12 18:19:13 UTC 2011

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive.h
archive_read_support_format_iso9660.c archive_write_disk.c
archive_write_set_format_ar.c archive_write_set_format_ustar.c

Log Message:
minor printf format fixes


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive.h
cvs rdiff -u -r1.1.1.2 -r1.2 \

src/external/bsd/libarchive/dist/libarchive/archive_read_support_format_iso9660.c
 \
src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_ar.c \
src/external/bsd/libarchive/dist/libarchive/archive_write_set_format_ustar.c
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2010-07-14 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jul 14 22:13:58 UTC 2010

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_read.3
archive_read_disk_entry_from_file.c

Log Message:
Merge libarchive 2.8.4


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/bsd/libarchive/dist/libarchive/archive_read.3 \

src/external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/libarchive/dist/libarchive

2010-03-14 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sun Mar 14 19:30:50 UTC 2010

Modified Files:
src/external/bsd/libarchive/dist/libarchive:
archive_read_disk_entry_from_file.c

Log Message:
Merge for libarchive-2.8.2.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \

src/external/bsd/libarchive/dist/libarchive/archive_read_disk_entry_from_file.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.