Debian Message通常指軟件包變更日志(changelog),格式規范如下:
基本結構:
package (version) distribution(s); urgency=level
package
:軟件包名稱,如gst-plugins-base
。version
:版本號,如(1.14.4-2)
。distribution(s)
:適用發行版,如unstable
。urgency
:緊急程度(high
/medium
/low
/no
),如urgency=high
。變更詳情:
*
)開頭,每條變更占一行,可包含空行分隔。* debian/patches/0001-xxx.patch: 修復安全漏洞(Closes: #123456)
。維護者信息:
-- 維護者姓名 <郵箱> 日期
YYYY-MM-DD HH:MM:SS +ZZZZ
(時區可選)。-- Wireshark <wireshark@example.com> Wed, 27 Jan 2020 00:00:00 +0000
。完整示例:
gst-plugins-base (1.14.4-2) unstable; urgency=high
* debian/patches/0001-gstrtspconnection-Security-loophole-making-heap-over.patch: Add upstream patch for CVE-2019-9928 (Closes: #927978).
-- Wireshark <wireshark@example.com> Wed, 27 Jan 2010 00:00:00 +0000
該格式主要用于debian/changelog
文件,由dpkg
工具解析,確保軟件包變更的可追溯性。