IT lexicon › Programming › DEP-5 (machine-readable debian/copyright)

DEP-5 (machine-readable debian/copyright)

Programming På svenska → Updated: 2026-11-02

Debian's format for recording copyright and licence file by file inside a package, readable by humans and tools alike.

Every Debian package must ship a debian/copyright stating who owns what and under which licence — a requirement the ftpmasters take with grim seriousness, and one that was free-form prose for years. Debian Enhancement Proposal 5 turned it into structured data, and version 1.0 of the format was finalised in 2012.

The file is a series of RFC 822-style stanzas: Files: with glob patterns, Copyright: and License:, with short licence names close to SPDX identifiers. REUSE later borrowed it, accepting a .reuse/dep5 file for files that cannot carry their own headers — until REUSE replaced it with a TOML file of its own. Debian, in other words, had solved the problem a while before everyone else noticed it existed.

← Back to the lexicon