Bug 227747 - [PATCH] ports-mgmt/portupgrade: quick&dirty FLAVOR support
Summary: [PATCH] ports-mgmt/portupgrade: quick&dirty FLAVOR support
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-24 14:52 UTC by lampa
Modified: 2022-02-12 23:23 UTC (History)
3 users (show)

See Also:


Attachments
patch for bin/portupgrade (1.32 KB, patch)
2018-04-24 14:52 UTC, lampa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lampa 2018-04-24 14:52:18 UTC
Created attachment 192780 [details]
patch for bin/portupgrade

It only adds two features - automatic flavoring (if flavor is not set in the old package and is available) and flavor preserving (if set), see patch. Inspired by portmaster.
Comment 1 Bryan Drewery freebsd_committer freebsd_triage 2018-09-13 22:25:58 UTC
I've committed this to my local git so far and am optimizing it a bit before
releasing.
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2022-02-12 23:23:39 UTC
There is a PR to the upstream for this issue.
It seems working well to me.

https://github.com/freebsd/portupgrade/pull/72