Created attachment 231962 [details] Patch for libarchive Update libarchive to 3.6.0 Compile and tested on FreeBSD 13.0-STABLE #2 stable/13-n248607-93a95ebbf7c (amd64) (make, make check-plist, make test) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 13.0-RELEASE (i386) make test output (13-STABLE) Totals: Tests run: 587 Tests failed: 2 Assertions checked:33142742 Assertions failed: 5 Skips reported: 51 Failing tests: 460: test_sparse_basic (4 failures) 461: test_fully_sparse_files (1 failures) 460 and 461 are known to fail Reference: https://github.com/libarchive/libarchive/issues/1612 Compile tested with following users: net/samba412 net/samba413 science/v_sim archivers/ark archivers/file-roller archivers/gnome-autoar archivers/p5-Archive-Extract-Libarchive archivers/pixz archivers/rpm4 archivers/rubygem-libarchive archivers/unmakeself astro/opencpn audio/ardour6 audio/cardinal audio/guitarix-lv2 audio/hydrogen deskutils/osmo deskutils/pinot devel/appstream-glib devel/cmake devel/cmake-gui devel/gvfs devel/libtifiles2 devel/zeal emulators/cemu emulators/dgen-sdl emulators/nemu emulators/nestopia emulators/pcsxr games/lordsawar games/meandmyshadow graphics/akira graphics/atril graphics/atril-lite graphics/evince graphics/filmulator graphics/glaxnimate graphics/libgxps graphics/minder graphics/tesseract graphics/zathura-cb irc/epic5 lang/swi-pl mail/claws-mail-archive mail/evolution misc/far2l multimedia/mpv multimedia/qmmp-qt5 multimedia/totem-pl-parser net/grilo-plugins net-mgmt/seafile-client net-mgmt/seafile-server polish/kadu science/avogadro2 science/avogadrolibs sysutils/apache-mesos sysutils/archivemount sysutils/ftwin sysutils/fwup sysutils/osinfo-db-tools sysutils/pacman sysutils/rdup textproc/libextractor textproc/libgepub www/epiphany www/midori
This would be nice for the RAR filters. The version before it was a security release too.
I don't know if this is the correct way to add the patches but there were some security fixes for the RAR filters too. PATCH_SITES= https://github.com/libarchive/libarchive/commit/ PATCHFILES= 52efa50c69653029687bfc545703b7340b7a51e2.patch:-p1 \ 1271f775dc917798ad7d03c3b3bd66bacad03603.patch:-p1
Thanks, I'll commit this tomorrow along with those patches unless maintainer objects.
A commit in branch main references this bug: 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(-)