debian 安装包中changelog.Debian 日志格式

发布时间 2023-09-25 13:51:37作者: 北京开发

 

官方说明文档 : https://www.debian.org/doc/debian-policy/index.html#contents

 

A、

debian/changelog应该简单就介绍安装包的版本,当然也可以包含与上一个版本的些改变。changelog应该能够使安装工具(例如:dpkg)去发现安装包的版本号和其他的release信息。

changelog文件的格式:


package
(version) distribution(s); urgency=urgency [optional blank line(s), stripped] * change details more change details [blank line(s), included in output of dpkg-parsechangelog] * even more change details [optional blank line(s), stripped] -- maintainer name <email address>[two spaces] date




B、例子:

gst-plugins-base1.0 (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).

-- Sebastian Dröge <slomo@debian.org> Thu, 30 May 2019 11:27:53 +0300

C、详细说明:

wireshark   (1.10.1)   unstable;   urgency=low

        (空行)

(两个空格)*(空格)Self-made package

        (空行)

(空格)--  Wireshark  Self-made package  <wireshark@example.com> (2个空格)   Wed, 27  Jan  2010 00:00:00 +0000