#36560: Use hfsCompression --------------------------+---------------------- Reporter: mfeiri@… | Owner: mfeiri@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: haspatch Port: | --------------------------+---------------------- Changes (by mfeiri@…): * status: reopened => new * owner: macports-tickets@… => mfeiri@… Comment: Thanks for pointing out this regression. I've updated the patch to apply to ''extract_archive_to_tmpdir'' instead of ''_activate_file''. This way ditto can compress the entire directory tree of a port, which is a lot faster and seems to preserve hard links. I've also tried to hook the HFS compression directly into the unarchiving pipe, e.g. {{{bsdtar -cpf - --format cpio @${location} | ditto -xV --hfsCompress - $extractdir}}}, but it turned out that the conversion from tar to cpio does not preserve hard links https://github.com/libarchive/libarchive/wiki/Hardlinks. -- Ticket URL: <https://trac.macports.org/ticket/36560#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS