大网数据广告活动
服务器运维问答

What is the meaning of [security] on the Debian packages web

· 52CE 我爱测

What is the meaning of [security] in the title like in these packages: https://packages.debian.org/buster/nginx-extras https://packages.debian.org/stretch/openssl ?

问题原文

原帖链接 · mvorisek · CC BY-SA 4.0

What is the meaning of [security] in the title like in these packages:

已采纳解答

原帖链接 · gxx · CC BY-SA 4.0

It refers to the fact that the package received a security update.

Edit: I'm not able to cite a reference, it's just my take from reading the source code. Specifically, the code checks if the latest version is available from main, or a different section. If it's different, the suite name is included and the suite is marked accordingly with red color. This is also why this not only applies to packages with a security update, but also to packages from contrib or non-free.

For reference, the source code:

if ($p{versions}) {
    warn "\tversions=$p{versions}\n" if DEBUG;

    $html .= "\n<dt><a href='$p{name}'$id>$p{name}</a> ($p{versions})";
    $id = "";
    $html .= " [<strong class='pmarker'>$p{section}</strong>]"
    if $p{section} ne 'main';
    $html .= " [<strong class='pmarker'>$p{archive}</strong>]"
    if $p{archive} ne 'us';
    $html .= "</dt>\n<dd";

    $txt .= "\n$p{name} ($p{versions})";
    $txt .= " [$p{section}]" if $p{section} ne 'main';
    $txt .= " [$p{archive}]" if $p{archive} ne 'us';
    $txt .= " ";

    if ($p{trans_desc}) {
    foreach my $lang (@LANGUAGES) {
        my ($sdesc, $sdesc_html, $desclang) = ($p{desc},
                           encode_entities($p{desc}, '<>&"\''),
                           'en');
        if ($p{trans_desc}{$lang}) {
        $sdesc = $p{trans_desc}{$lang};
        $sdesc_html = encode_entities($sdesc, '<>&"\'');
        $desclang = $lang;
        }

        $html .= $s{begin}{$lang};
        $html .= " lang='$desclang'" if $desclang ne $lang;
        $html .= ">$sdesc_html$s{end}{$lang}";
    }
    } else {
    $html .= " lang='en'>".encode_entities($p{desc}, '<>&"\'');
    }
    $html .= "</dd>";
    $txt .= $p{desc};
}

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-24)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。