Bug 238090

Summary: Add initial support for base packages via ports
Product: Ports & Packages Reporter: Kris Moore <kmoore>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Not Accepted    
Severity: Affects Only Me CC: ports-bugs, seanc
Priority: --- Keywords: feature
Version: LatestFlags: kmoore: exp-run?
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D20394
Attachments:
Description Flags
Add os ports and some Mk enhancements none

Description Kris Moore freebsd_committer freebsd_triage 2019-05-24 02:00:26 UTC
Created attachment 204581 [details]
Add os ports and some Mk enhancements

Requesting an exp-run for some new ports which allow building base packages from the ports tree. This is the patch being worked on in:

https://reviews.freebsd.org/D20394
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2019-05-26 19:42:29 UTC
Reject:  building base from the ports tree is not portmgr's job.
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2019-05-26 19:48:24 UTC
(In reply to Antoine Brodin from comment #1)
and it's not the way portmgr sees the ports tree.
Comment 3 Kris Moore freebsd_committer freebsd_triage 2019-05-28 19:09:12 UTC
Just to be clear here, the objection is that we don't have specific dist-files for the os ports? I can easy enough add those, however it may change your work-flow since you have to ensure the jail being checked out / created matches what is going to be built by the ports.

Or are there bigger objections to the concept of having base packages?
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2019-05-28 19:19:11 UTC
Well, base packages should be generated by the base system, and do not belong in ports, something like make packages, which I think already exists.
Comment 5 Kris Moore freebsd_committer freebsd_triage 2019-05-28 20:11:16 UTC
(In reply to Mathieu Arnold from comment #4)

Disagree, and that was the point of our WG at BSDCan 2019. We're proposing an alternative now to handle the packaging of base via the ports tree. In-Tree has a bunch of problems which was covered in the WG. Building base from ports will be far more sustainable in the long-run for the project. 

Turns out our ports tree is really good at packaging bits, no reason to re-invent the wheel now :)