GhostBSD Versioning Guide
Overview
GhostBSD uses a versioning scheme that clearly indicates which FreeBSD release it’s based on, making it easier to track compatibility and updates.
Versioning Format
The GhostBSD version format is: YY.PP.R##.#p#
Components Breakdown:
YY: Last two digits of the year (e.g.,25for 2025)PP: GhostBSD patch version (incremental:01,02,03, etc.)R: Indicates this is a RELEASE version##.#: FreeBSD major and minor version (e.g.,14.2)p#: FreeBSD patch level (p0,p1,p2, etc.)
Example:
25.01.R14.2p1 means:
Released in 2025
First GhostBSD patch version of the year (
01)Based on FreeBSD RELEASE
Uses FreeBSD 14.2 base
Includes FreeBSD patch level p1
Version Examples
GhostBSD Version |
Release Year |
Notes |
|---|---|---|
|
2025 |
Based on initial 14.2 release |
|
2025 |
First patch level update |
|
2025 |
Updated for security patches |
|
2025 |
New FreeBSD minor version |
Checking GhostBSD Version
# Check GhostBSD version
ghostbsd-version
# Direct file check
cat /etc/version
Version Files in ghostbsd-src
Key Version File:
sys/conf/package-version: Contains the GhostBSD version string
Version Flow:
sys/conf/package-versioncontains the GhostBSD version stringBuild process uses this to create
/etc/versionin the final systemghostbsd-versioncommand reads/etc/version
Release Lifecycle
Regular Release Cycle:
Update to new FreeBSD base
Testing and integration of GhostBSD-specific features
Update
sys/conf/package-versionwith new GhostBSD versionBuild and test complete system
Release with updated version number
Update Types:
Patch level updates: Update FreeBSD patch (e.g.,
25.01.R14.2p0→25.01.R14.2p1)GhostBSD updates: Increment GhostBSD patch version (e.g.,
25.01.R14.2p1→25.02.R14.2p1)
Branch Correlation
Repository Branches vs. Versions:
Repository Branch |
GhostBSD Version Pattern |
|---|---|
|
Development builds |
|
Not released |
|
|
|
|
Developer Guidelines
When Creating Releases:
Update
sys/conf/package-version: Set the new GhostBSD versionTest version commands: Verify
ghostbsd-versionreturns correct valueBuild and test: Complete system build and testing
Document changes: Note any GhostBSD-specific modifications
Version Verification:
# After building, verify version is correct
ghostbsd-version # Should show new GhostBSD version