Bug 210475 - freebsd-update(8) doesn't recognize custom version scheme
Summary: freebsd-update(8) doesn't recognize custom version scheme
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 10.3-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-06-22 17:29 UTC by Rick Miller
Modified: 2019-03-12 23:00 UTC (History)
2 users (show)

See Also:


Attachments
Modify the expression that sets RELNUM to include appended versioning components (740 bytes, text/plain)
2016-06-22 17:29 UTC, Rick Miller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Miller 2016-06-22 17:29:59 UTC
Created attachment 171687 [details]
Modify the expression that sets RELNUM to include appended versioning components

A private FreeBSD distribution implements a custom version scheme via newvers.sh, but freebsd-update(8) clients are unable to support the custom versioning scheme in order to perform a binary update from a privately hosted update server.

The attached patch modifies the expression(s) that set RELNUM to account for an additional internal versioning component derived from newvers.sh's BRANCH environment variable.  The variable is modified to append "-XXXX-n" to the branch where "XXXX" is an internally specified name and "n" is the internal patch number.
Comment 1 Colin Percival freebsd_committer freebsd_triage 2019-03-12 23:00:18 UTC
Drop freebsd-update PRs which were assigned to me.  I'm not working on this code any more.