? o Index: bsdtar.c =================================================================== RCS file: /cvsroot/src/external/bsd/libarchive/dist/tar/bsdtar.c,v retrieving revision 1.1.1.4 diff -u -u -r1.1.1.4 bsdtar.c --- bsdtar.c 24 Jul 2019 13:50:41 -0000 1.1.1.4 +++ bsdtar.c 23 Oct 2019 16:49:20 -0000 @@ -284,6 +284,10 @@ case 'a': /* GNU tar */ bsdtar->flags |= OPTFLAG_AUTO_COMPRESS; break; + case OPTION_ALLOW_SYMLINKS: + bsdtar->extract_flags &= + ~ARCHIVE_EXTRACT_SECURE_SYMLINKS; + break; case OPTION_ACLS: /* GNU tar */ bsdtar->extract_flags |= ARCHIVE_EXTRACT_ACL; bsdtar->readdisk_flags &= ~ARCHIVE_READDISK_NO_ACL; Index: bsdtar.h =================================================================== RCS file: /cvsroot/src/external/bsd/libarchive/dist/tar/bsdtar.h,v retrieving revision 1.1.1.4 diff -u -u -r1.1.1.4 bsdtar.h --- bsdtar.h 24 Jul 2019 13:50:41 -0000 1.1.1.4 +++ bsdtar.h 23 Oct 2019 16:49:20 -0000 @@ -130,6 +130,7 @@ /* Fake short equivalents for long options that otherwise lack them. */ enum { OPTION_ACLS = 1, + OPTION_ALLOW_SYMLINKS, OPTION_B64ENCODE, OPTION_CHECK_LINKS, OPTION_CHROOT, Index: cmdline.c =================================================================== RCS file: /cvsroot/src/external/bsd/libarchive/dist/tar/cmdline.c,v retrieving revision 1.1.1.3 diff -u -u -r1.1.1.3 cmdline.c --- cmdline.c 24 Jul 2019 13:50:41 -0000 1.1.1.3 +++ cmdline.c 23 Oct 2019 16:49:20 -0000 @@ -64,6 +64,7 @@ int equivalent; /* Equivalent short option. */ } tar_longopts[] = { { "absolute-paths", 0, 'P' }, + { "allow-symlinks", 0, OPTION_ALLOW_SYMLINKS }, { "append", 0, 'r' }, { "acls", 0, OPTION_ACLS }, { "auto-compress", 0, 'a' },