summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:58 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:58 +0000
commitbee371d588217678e668b6d61a350668d0291d69 (patch)
tree61ff6cae3cc478ee4691ba916bd1ad4856da8051
parent233eb00be2c3e5e11e4b6b5455eef646eecfa239 (diff)
downloadurpmi-bee371d588217678e668b6d61a350668d0291d69.tar
urpmi-bee371d588217678e668b6d61a350668d0291d69.tar.gz
urpmi-bee371d588217678e668b6d61a350668d0291d69.tar.bz2
urpmi-bee371d588217678e668b6d61a350668d0291d69.tar.xz
urpmi-bee371d588217678e668b6d61a350668d0291d69.zip
(_check) prefix some messages with "SECURITY:"
-rw-r--r--NEWS1
-rw-r--r--urpm/signature.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index bc2ee7b8..c2253c50 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@
warning
o honor per medium "verify-rpm" option for missing signature check
o media have keys, not signatures
+ o prefix some messages with "SECURITY:"
o warn about packages we don't check even if not using -v
- unrequested package list management (for orphans) (mga#7167):
o do not wrongly tell we updated the unrequested package list when we didn't
diff --git a/urpm/signature.pm b/urpm/signature.pm
index 62e193fd..85f15c29 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -74,13 +74,13 @@ sub _check {
if (!$medium) {
if ($verif =~ /OK \(\(none\)\)/) {
$verif =~ s/\n//g;
- $urpm->{info}(N("The following package has no signature (%s): %s\n", $verif, $filepath));
+ $urpm->{info}(N("SECURITY: The following package has no signature (%s): %s\n", $verif, $filepath));
}
next;
}
#- check whether verify-rpm is specifically disabled for this medium
if (defined $medium->{'verify-rpm'} && !$medium->{'verify-rpm'}) {
- $urpm->{info}(N("NOT checking %s\n", $filepath));
+ $urpm->{info}(N("SECURITY: NOT checking %s\n", $filepath));
next;
}