Source Package Format 2.0

Status: DRAFT
Date: 2023-09-25
Obsoletes: Source Package Format 1.0

Abstract

This document describes version 2.0 of the format for software packages.

Status

This specification is in DRAFT status. It is a work-in-progress and is subject to change. Comments and revisions are welcome.

Although some sections have yet to be written, this specification is already implemented by package building tools and over 100 source packages since 2012. Any changes made to written sections will maintain compatibility with the existing format and implementations.

Occasionally, new optional elements of the format are added and existing limitations are relaxed. Such changes are made in tandem with corresponding support being added to package building tools. Source packages that make use of such new elements and relaxed limitations are responsible for ensuring that package building tools are new enough to support them, by listing such tools and minimum required versions in the Build-Depends control field (see § 5.1). Refer to the release notes of package building tools to identify the versions in which support is added for changes to this Source Package Format.

Legal Notice

Copyright © 2012, 2019-2021, 2023 Patrick "P. J." McDermott

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contents