Bug 238090 - Add initial support for base packages via ports
Summary: Add initial support for base packages via ports
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL: https://reviews.freebsd.org/D20394
Keywords: feature
Depends on:
Blocks:
 
Reported: 2019-05-24 02:00 UTC by Kris Moore
Modified: 2019-05-28 20:11 UTC (History)
2 users (show)

See Also:
kmoore: exp-run?


Attachments
Add os ports and some Mk enhancements (252.29 KB, patch)
2019-05-24 02:00 UTC, Kris Moore
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 :)