查看: 55|回覆: 0

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

[複製鏈接]

2

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2009-5-12
發表於 2023-9-25 13:49:00 | 顯示全部樓層 |閲讀模式

 

官方说明文档 : 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

 

 





来源:https://www.cnblogs.com/yyybill/p/17727777.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部