Page MenuHomeFreeBSD

Add USES=7z support
ClosedPublic

Authored by jbeich on Nov 17 2015, 8:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 8:57 AM
Unknown Object (File)
Sat, Oct 26, 1:13 AM
Unknown Object (File)
Thu, Oct 17, 2:49 PM
Unknown Object (File)
Thu, Oct 17, 3:16 AM
Unknown Object (File)
Wed, Oct 16, 4:32 PM
Unknown Object (File)
Mon, Oct 14, 11:54 PM
Unknown Object (File)
Mon, Oct 14, 6:36 PM
Unknown Object (File)
Mon, Oct 14, 9:06 AM
Subscribers

Details

Summary

Common way to extract .7z files. Can take advantage of libarchive support. Maybe not very useful due to low number of consumers. See examples for usage.

Initial version is based on devel/fb-adb, so expect rough edges.

Test Plan

Build examples on 9.x and 10.x.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jbeich retitled this revision from to Add USES=7z support.
jbeich updated this object.
jbeich edited the test plan for this revision. (Show Details)
jbeich added a reviewer: portmgr.
jbeich edited edge metadata.

devel/fb-adb: OVERRIDE_LINUX_BASE_PORT check can be easily killed now.

jbeich edited edge metadata.

Oops, fix USES=7z:partial regression: DISTFILES vs. _DISTFILES.

All targets should be done in a POST section

I have seen that other USES are not pushing target in a post section they must be fixed

otherwise looks good to me

In D4190#103040, @bapt wrote:

All targets should be done in a POST section

Rationale? "Traditionally" isn't a valid one as rP394503 was designed to break it. For USES=7z the current order not only safeguards do-p7zip-extract from quirks in individual ports but also allows post-extract to fix up paths/etc after extraction of *.7z files, similar to *.tar.gz.

@bapt, if by "post" section you mean the fact that the target is called do-* then it's irrelevant, it's run after the do-extract target, so it feels kinda ok to me.

bapt added a reviewer: bapt.

yes you are right, my bad

This revision is now accepted and ready to land.Mar 23 2016, 9:58 PM
This revision was automatically updated to reflect the committed changes.