diff options
author | mulhern <mulhern@yoctoproject.org> | 2013-08-27 17:56:58 -0400 |
---|---|---|
committer | mulhern <mulhern@yoctoproject.org> | 2013-08-30 15:42:10 -0400 |
commit | 5ec81ec5b117de41ed56eb05df271f103213d7be (patch) | |
tree | de50297afa7da628e7ca11847d10637bcdb9b525 /recipes-security/bastille | |
parent | ec1c761ad87b1dec899e9d48403ad03398a7f9ed (diff) | |
download | meta-security-5ec81ec5b117de41ed56eb05df271f103213d7be.tar.gz |
Bastille: document the current status and usability of the Bastille install.
The README file is updated to indicate the functionality of Bastille that is
actually available.
The recipe file is updated with a pointer to the README file.
An additional patch is added so that when Bastille is run in interactive mode
it will not attempt to make any changes to the system. This is better than
attempting to make the changes and making the screen flicker . The text on the
final screen has been updated appropriately.
Signed-off-by: mulhern <mulhern@yoctoproject.org>
Diffstat (limited to 'recipes-security/bastille')
-rw-r--r-- | recipes-security/bastille/bastille_3.2.1.bb | 3 | ||||
-rw-r--r-- | recipes-security/bastille/files/do_not_apply_config.patch | 40 |
2 files changed, 43 insertions, 0 deletions
diff --git a/recipes-security/bastille/bastille_3.2.1.bb b/recipes-security/bastille/bastille_3.2.1.bb index 1c924e7..06215a2 100644 --- a/recipes-security/bastille/bastille_3.2.1.bb +++ b/recipes-security/bastille/bastille_3.2.1.bb | |||
@@ -1,3 +1,5 @@ | |||
1 | #The functionality of Bastille that is actually available is restricted. Please | ||
2 | #consult the README file for the meta-security layer for additional information. | ||
1 | SUMMARY = "Linux hardening tool" | 3 | SUMMARY = "Linux hardening tool" |
2 | DESCRIPTION = "Bastille Linux is a Hardening and Reporting/Auditing Program which enhances the security of a Linux box, by configuring daemons, system settings and firewalling." | 4 | DESCRIPTION = "Bastille Linux is a Hardening and Reporting/Auditing Program which enhances the security of a Linux box, by configuring daemons, system settings and firewalling." |
3 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
@@ -29,6 +31,7 @@ SRC_URI = "http://sourceforge.net/projects/bastille-linux/files/bastille-linux/3 | |||
29 | file://allow_os_with_assess.patch \ | 31 | file://allow_os_with_assess.patch \ |
30 | file://edit_usage_message.patch \ | 32 | file://edit_usage_message.patch \ |
31 | file://organize_distro_discovery.patch \ | 33 | file://organize_distro_discovery.patch \ |
34 | file://do_not_apply_config.patch \ | ||
32 | " | 35 | " |
33 | 36 | ||
34 | SRC_URI[md5sum] = "df803f7e38085aa5da79f85d0539f91b" | 37 | SRC_URI[md5sum] = "df803f7e38085aa5da79f85d0539f91b" |
diff --git a/recipes-security/bastille/files/do_not_apply_config.patch b/recipes-security/bastille/files/do_not_apply_config.patch new file mode 100644 index 0000000..574aa98 --- /dev/null +++ b/recipes-security/bastille/files/do_not_apply_config.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | Upstream Status: Inappropriate [No upstream maintenance] | ||
2 | |||
3 | Signed-off-by: Anne Mulhern <mulhern@yoctoproject.org> | ||
4 | |||
5 | --- | ||
6 | |||
7 | Index: Bastille/Bastille_Curses.pm | ||
8 | =================================================================== | ||
9 | --- Bastille.orig/Bastille_Curses.pm 2013-08-27 16:43:39.130959000 -0400 | ||
10 | +++ Bastille/Bastille_Curses.pm 2013-08-27 16:43:39.794959000 -0400 | ||
11 | @@ -83,11 +83,6 @@ | ||
12 | # Output answers to the script and display | ||
13 | &outputConfig; | ||
14 | |||
15 | - # Run Bastille | ||
16 | - | ||
17 | - &Run_Bastille_with_Config; | ||
18 | - | ||
19 | - | ||
20 | # Display Credits | ||
21 | |||
22 | open CREDITS,"/usr/share/Bastille/Credits"; | ||
23 | Index: Bastille/InteractiveBastille | ||
24 | =================================================================== | ||
25 | --- Bastille.orig/InteractiveBastille 2013-08-27 16:43:39.434959000 -0400 | ||
26 | +++ Bastille/InteractiveBastille 2013-08-27 17:18:55.758959000 -0400 | ||
27 | @@ -531,10 +531,10 @@ | ||
28 | " Please address bug reports and suggestions to jay\@bastille-linux.org\n" . | ||
29 | "\n"; | ||
30 | |||
31 | - $InterfaceEndScreenDescription = "We will now implement the choices you have made here.\n\n" . | ||
32 | + $InterfaceEndScreenDescription = "We will now record the choices you have made here.\n\n" . | ||
33 | "Answer NO if you want to go back and make changes!\n"; | ||
34 | - $InterfaceEndScreenQuestion = "Are you finished answering the questions, i.e. may we make the changes?"; | ||
35 | - $InterfaceEndScreenNoEpilogue = "Please use Back/Next buttons to move among the questions you wish to\nchange.\n\nChoose YES on this question later to implement your choices.\n"; | ||
36 | + $InterfaceEndScreenQuestion = "Are you finished answering the questions, i.e. may we record the answers and exit?"; | ||
37 | + $InterfaceEndScreenNoEpilogue = "Please use Back/Next buttons to move among the questions you wish to\nchange.\n\nChoose YES on this question later to record your choices.\n"; | ||
38 | require Bastille_Curses; | ||
39 | } elsif ($GLOBAL_AUDITONLY) { | ||
40 | |||