diff options
Diffstat (limited to 'dynamic-layers/meta-perl/recipes-security/bastille/files/edit_usage_message.patch')
-rw-r--r-- | dynamic-layers/meta-perl/recipes-security/bastille/files/edit_usage_message.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dynamic-layers/meta-perl/recipes-security/bastille/files/edit_usage_message.patch b/dynamic-layers/meta-perl/recipes-security/bastille/files/edit_usage_message.patch new file mode 100644 index 0000000..72cdc2f --- /dev/null +++ b/dynamic-layers/meta-perl/recipes-security/bastille/files/edit_usage_message.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Upstream Status: Inappropriate [No upstream maintenance] | ||
2 | |||
3 | Signed-off-by: Anne Mulhern <mulhern@yoctoproject.org> | ||
4 | |||
5 | --- | ||
6 | |||
7 | Index: Bastille/bin/bastille | ||
8 | =================================================================== | ||
9 | --- Bastille.orig/bin/bastille 2013-08-25 14:16:35.614779001 -0400 | ||
10 | +++ Bastille/bin/bastille 2013-08-25 14:16:38.674779000 -0400 | ||
11 | @@ -60,7 +60,7 @@ | ||
12 | printUsage () { | ||
13 | cat >&2 << EOF | ||
14 | $ERRSPACES Usage: bastille [ -b | -c | -x ] [ --os <version>] [ -f <alternate config> ] | ||
15 | -$ERRSPACES bastille [-r | -l | -h | --assess | --assessnobrowser ] | ||
16 | +$ERRSPACES bastille [-r | -l | -h | --assess | --assessnobrowser ] [ --os <version> ] | ||
17 | $ERRSPACES -b : use a saved config file to apply changes | ||
18 | $ERRSPACES directly to system | ||
19 | $ERRSPACES -c : use the Curses (non-X11) GUI, not available on HP-UX | ||
20 | Index: Bastille/Bastille/API.pm | ||
21 | =================================================================== | ||
22 | --- Bastille.orig/Bastille/API.pm 2013-08-25 08:15:40.266779002 -0400 | ||
23 | +++ Bastille/Bastille/API.pm 2013-08-25 14:18:22.750778811 -0400 | ||
24 | @@ -206,7 +206,7 @@ | ||
25 | #options before interactive or Bastille runs, so this check is often redundant | ||
26 | $GLOBAL_ERROR{"usage"}="\n". | ||
27 | "$spc Usage: bastille [ -b | -c | -x ] [ --os <version> ] [ -f <alternate config> ]\n". | ||
28 | - "$spc bastille [ -r | --assess | --assessnobowser ]\n\n". | ||
29 | + "$spc bastille [ -r | --assess | --assessnobowser ] [ --os <version> ]\n\n". | ||
30 | "$spc --assess : check status of system and report in browser\n". | ||
31 | "$spc --assessnobrowser : check status of system and list report locations\n". | ||
32 | "$spc -b : use a saved config file to apply changes\n". | ||