mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01:00
Kshitij Gupta fixed a display bug in aa-logprof, aa-genprof, with the Glob
and Glob with Ext putting duplicate entries in the list. The fix introduced a Perl 5.10.1 or higher dependency, so start documenting minimum required versions of packages. Acked-By: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
b77a05aa52
commit
28a97bf3c5
2 changed files with 23 additions and 5 deletions
18
README
18
README
|
@ -198,3 +198,21 @@ Building and Installing AppArmor Kernel Patches
|
|||
|
||||
TODO
|
||||
|
||||
|
||||
-----------------
|
||||
Required versions
|
||||
-----------------
|
||||
|
||||
The AppArmor userspace utilities are written with some assumptions about
|
||||
installed and available versions of other tools. This is a (possibly
|
||||
incomplete) list of known version dependencies:
|
||||
|
||||
AppArmor.pm (used by aa-audit, aa-autodep, aa-complain, aa-disable,
|
||||
aa-enforce, aa-genprof, aa-logprof, aa-unconfined) requires minimum
|
||||
Perl 5.10.1.
|
||||
|
||||
Python scripts require minimum Python 2.7. Some utilities may require
|
||||
Python 3.3. Python 3.0, 3.1, 3.2 are largely untested.
|
||||
|
||||
Most shell scripts are written for POSIX-compatible sh. aa-decode expects
|
||||
bash, probably version 3.2 and higher.
|
||||
|
|
|
@ -3879,8 +3879,8 @@ sub ask_the_questions() {
|
|||
$newpath =~ s/\/[^\/]+$/\/\*/;
|
||||
}
|
||||
}
|
||||
if ($newpath ne $selected) {
|
||||
push @options, $newpath;
|
||||
if (not $newpath ~~ $options) {
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
}
|
||||
}
|
||||
|
@ -3896,9 +3896,9 @@ sub ask_the_questions() {
|
|||
} else {
|
||||
$newpath =~ s/\/[^\/]+(\.[^\/]+)$/\/\*$1/;
|
||||
}
|
||||
if ($newpath ne $selected) {
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
if (not $newpath ~~ @options) {
|
||||
push @options, $newpath;
|
||||
$defaultoption = $#options + 1;
|
||||
}
|
||||
}
|
||||
} elsif ($ans =~ /\d/) {
|
||||
|
|
Loading…
Add table
Reference in a new issue