Commit graph

140 commits

Author SHA1 Message Date
ryoon
e83d2c5602 libarchive: Fix bootstrap build under Haiku OS/x86_64 R1/beta2
Haiku OS R1/beta2 provides readpassphrase.h header file and
readpassphrase function in libbsd library.
And libarchive's configure script detects readpassphrase.h
and does not detect readpassphrase function.
In this case, libarchive try to use readpassphrase.h and
build and use internal readpassphrase inplementation.
readpassphrase.h defines readpassphrase function as non-static
and the internal implemantation is static.
This inconsistency breaks bootstrap pkgsrc under Haiku OS/x86_64 R1/beta2.

Add -lbsd to LIBS in Haiku OS case to fix the build and bootstrap.
2021-03-13 19:34:11 +00:00
hauke
13e3daed40 Disable lz4, unbreaking bsdtar build on OmniOS. 2020-07-03 19:57:23 +00:00
nia
a0181a27a9 libarchive: Update to 3.4.3
Libarchive 3.4.3 is a feature and bugfix release.

New features:

    support for pzstd compressed files (#1357)
    support for RHT.security.selinux tar extended attribute (#1348)

Important bugfixes:

    various zstd fixes and improvements (#1342 #1352 #1359)
    child process handling fixes (#1372)

Libarchive 3.4.2 is a feature and security release.

New features:

    support for atomic file extraction (bsdtar -x --safe-writes) (#1289)
    support for mbed TLS (PolarSSL) (#1301)

Important bugfixes:

    security fixes in RAR5 reader (#1280 #1326)
    compression buffer fix in XAR writer (#1317)
    fix uname and gname longer than 32 characters in PAX writer (#1319)
    fix segfault when archiving hard links in ISO9660 and XAR writers (#1325)
    fix support for extracting 7z archive entries with Delta filter (#987)

Libarchive 3.4.1 is a feature and security release.

New features:

    Unicode filename support for reading lha/lzh archives
    New pax write option "xattrhdr"

Important bugfixes:

    security fixes in wide string processing (#1276 #1298)
    security fixes in RAR5 reader (#1212 #1217 #1296)
    security fixes and optimizations to write filter logic (#351)
    security fix related to use of readlink(2) (1dae5a5)
    sparse file handling fixes (#1218 #1260)

Thanks to all contributors and bug reporters.
Special thanks to Christos Zoulas (@zoulasc) from NetBSD for the atomic file extraction feature.
2020-05-26 09:16:39 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
rillig
a928eff0ca archivers: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:54:25 +00:00
prlw1
3489ec2b08 Fix PLIST 2019-09-22 19:17:21 +00:00
joerg
282bf6e73b Merge 64333cef68d7bcc67bef6ecf177fbeaa549b9139 from upstream to unbreak
build without zlib.
2019-09-22 10:03:51 +00:00
joerg
e0c95ea01f Update for libarchive-3.4.0:
- improvements for Android APK and JAR archives
- better support for non-recursive list and extract
- tar --exclude-vcs support
- fixes for file attributes and flags handling
- zipx support
- rar 5.0 reader
2019-09-22 09:55:06 +00:00
joerg
98137d7ae9 Import libarchive 3.4.0 2019-09-22 09:51:28 +00:00
joerg
dfa398ef74 Properly merge libarchive-3.3.3 2019-09-22 09:50:54 +00:00
joerg
880a3de761 Import libarchive-3.3.3 as should have done originally. 2019-09-22 09:47:02 +00:00
adam
eae608d908 libarchive: updated to 3.3.3
libarchive 3.3.3:
Avoid super-linear slowdown on malformed mtree files
Many fixes for building with Visual Studio
NO_OVERWRITE doesn't change existing directory attributes
New support for Zstandard read and write filters
2019-04-10 08:24:03 +00:00
sevan
456e549397 Fix build with LibreSSL 2.7
5da00ad75b
2018-10-01 00:37:51 +00:00
leot
4ddfdf51b2 libarchive: Use `:Q' instead of directly quoting the sed commands in builtin.mk
Use `:Q' operator for BUILDLINK_PREFIX and pass the @LIBS@
via a variable.

Suggested by <joerg>, thanks!
(Possible incorrectnesses are mine!)
2018-06-07 14:28:42 +00:00
leot
b122a2396d libarchive: Quote all sed commands in fake-libarchive-pc target
At least the last `-e' contains whitespaces and can be problematic.
Avoid that by quoting all commands.

Should fix PR pkg/53347.
2018-06-07 11:47:58 +00:00
prlw1
91f15c5130 Create a fake libarchive.pc for the builtin case. 2018-06-06 14:21:09 +00:00
joerg
57e00caf5c Bump version for libarchive 3.3.2. 2017-08-01 22:27:28 +00:00
joerg
852e9e0d37 Remove old files. 2017-08-01 22:27:12 +00:00
joerg
fc8648beda Merge for libarchive-3.3.2. 2017-08-01 22:26:22 +00:00
joerg
6b5e3964d3 Import libarchive-3.3.2 + 9de5f3 + f9dacbf:
- Support NFS4 ACLs on Linux
- Bugfixes
2017-08-01 22:21:11 +00:00
jperkin
69d4ad8ebf Bump libarchive ABI depends, the major was bumped, causing failures in e.g.
pkgin (https://github.com/joyent/pkgsrc/issues/507) on upgrades.
2017-05-29 11:01:43 +00:00
ryoon
207ca05faf Fix bootstrap pkgsrc on FreeBSD/amd64 10. Fix --disable-xattr build 2017-04-27 15:08:08 +00:00
joerg
88dfa7252c Merge 1a1be097da6c042a83fff26bdce361101bb869c8:
Darwin ACL: avoid unnecessary use of getpwuuid() and getgruuid()
2017-03-12 06:52:23 +00:00
joerg
cc9466fb30 Merge 4c3cda21663fa3dc42147c771a3b96b85e631c53:
Darwin ACL: avoid using mbr_identifier_to_uuid()

 Use mbr_uid_to_uuid() and mbr_gid_to_uuid() for backwards compatibility
 instead. These functions have been introduced together with membership.h.
2017-03-12 06:51:23 +00:00
joerg
6945ba9b46 Merge a15c7f7b496ba4cefbcaf6f8ac637db4f3009a58:
Solaris: use aclp instead of acl to not shadow global acl()
2017-03-12 06:48:36 +00:00
joerg
8f0f7973af Merge 60f0931d3b97e00616d7122321e34116d926bcc5:
Reorganize ACL defines and fix detection of ACL_SYNCHRONIZE on Mac OS
 Adjust MacOS part of test_acl_platform_nfs4
2017-03-12 06:45:16 +00:00
joerg
50d0767b6d Merge 784851b7b476f3cb2e1247c0f8913b8726c103d9:
Change Solaris ACL support to use acl() and facl()

This removes dependency on libsec and enables compilation on Solaris 10.
2017-03-05 12:15:22 +00:00
joerg
ac840ad6a7 Merge d9036ca49e414c6b5560c48126b6963204a6eda9:
Fix compilation on Mac OS X versions without ACL_SYNCHRONIZE
2017-03-05 12:05:56 +00:00
joerg
e22112bed3 Recognize newer libarchive versions. 2017-02-28 14:58:09 +00:00
joerg
5969782a6a Merge 70d85407771c2f89cde9de66a267225dfa18653a from upstream:
Use types consistent with the prototypes in the header.
2017-02-25 21:37:47 +00:00
joerg
27f9f3e901 Update to libarchive-3.3.1:
- Various code bugs fixed as a result of fuzzing efforts.
- Better ACL support on Darwin and Solaris
- Support for NFSv4 ACLs in the pax format
2017-02-25 21:13:58 +00:00
joerg
ce4c057b58 Merge libarchive-3.3.1. 2017-02-25 21:11:18 +00:00
joerg
be60383b38 Import libarchive-3.3.1. 2017-02-25 20:54:04 +00:00
gdt
bc91be7523 Make WRKSRC files copied from FILESDIR writable
The contents of FILESDIR may or or may have the user write bit set.
They contain generated files (list.h), and libarchive's build system
recreates these files by opening them for writing without first
removing them.

Discussed on tech-pkg@; thanks to dholland@ for suggesting chmod -R as
both the simplest change and the one least likely to need adjusting.
2016-09-14 12:57:55 +00:00
jperkin
c43e8d9265 The recent libarchive update changed the library major. Increase the
ABI depends and perform a PKGREVISION bump for dependents.

Noticed by OSX binary package users.
2016-07-01 17:55:22 +00:00
joerg
dc55e78ce1 Detect vfsconf for DragonFly, since it doesn't use xvfsconf like
FreeBSD.
2016-06-23 13:39:03 +00:00
joerg
71e2fc4bdb Restore fix for lzma_stream_encoder_mt detection. Lost while syncing
with upstream.
2016-06-22 21:04:54 +00:00
joerg
cd987ec19e Make signo static again to reduce diff against upstream. 2016-06-22 13:01:14 +00:00
joerg
a9a3eec35b Provide _PATH_TTY if it is missing. 2016-06-22 12:04:03 +00:00
joerg
c93dbad808 From upstream: Dummy out copy_acls if sys/acl.h is missing or ACL
support is disabled.
2016-06-21 16:29:55 +00:00
joerg
08d912ac6e libarchive-3.2.1nb1: Merge a number of bugfixes from upstream
(1) ctype misuse
(2) Don't depend on SIGRTMAX
(3) Link against libcrypto when using it for EVP support
2016-06-21 13:39:21 +00:00
joerg
f1950d6871 Disable maintainer mode for libarchive. 2016-06-21 12:23:01 +00:00
joerg
38866ff49f Regenerate. 2016-06-21 12:10:55 +00:00
joerg
ec645f81ef Support maintainer mode. 2016-06-21 12:08:22 +00:00
joerg
040f258a71 Fix configure test for multi-threaded XZ. 2016-06-20 17:32:07 +00:00
joerg
69ba12516d Update build glue for libarchive 3.2.1. 2016-06-20 17:28:33 +00:00
joerg
74cbc0c404 Update for libarchive 3.2.1. 2016-06-20 17:24:55 +00:00
joerg
d2bb91f0e6 Import libarchive-3.2.1:
- security fixes and other bugfixes
- support for multhreading in xz 5.2+
2016-06-20 17:11:37 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00