Page MenuHomeFreeBSD

Mk/Uses/tar.mk: add support for .tar.lz archives
ClosedPublic

Authored by danfe on Jun 12 2019, 6:56 AM.

Details

Summary

Lzip offers better compression ratios and archival features compared to more common .gz or .xz formats, and is being used by some software to package their distfiles, e.g. archivers/zutils, astro/gnuastro,sysutils/ddrescue, for which we either have to use bigger .tar.gz distfile, or set EXTRACT_DEPENDS=lzip:archivers/lzip and then manually extract the distfile.

Proposed patch adds .tar.lz suffix support to our framework, since BSD tar(1) natively supports it.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

danfe created this revision.Jun 12 2019, 6:56 AM
danfe added inline comments.Jun 12 2019, 6:57 AM
tar.mk
6 ↗(On Diff #58552)

Missing usage update.

danfe updated this revision to Diff 58553.Jun 12 2019, 7:05 AM

Update usage string.

danfe edited the summary of this revision. (Show Details)Jun 12 2019, 7:18 AM
danfe set the repository for this revision to rP FreeBSD ports repository.
rene accepted this revision.Jun 12 2019, 8:45 AM
This revision is now accepted and ready to land.Jun 12 2019, 8:45 AM
This revision was automatically updated to reflect the committed changes.