3 # Build log hardening check, checks build logs for missing hardening flags.
5 # Copyright (C) 2012 Simon Ruderich
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
26 our $VERSION = '0.01';
29 # Parse command line arguments.
31 my $option_version = 0;
32 if (not Getopt::Long::GetOptions(
33 'help|h|?' => \$option_help,
34 'version' => \$option_version,
37 Pod::Usage::pod2usage(2);
41 Pod::Usage::pod2usage(1);
43 if ($option_version) {
44 print "blhc $VERSION Copyright (C) 2012 Simon Ruderich
46 This program is free software: you can redistribute it and/or modify
47 it under the terms of the GNU General Public License as published by
48 the Free Software Foundation, either version 3 of the License, or
49 (at your option) any later version.
51 This program is distributed in the hope that it will be useful,
52 but WITHOUT ANY WARRANTY; without even the implied warranty of
53 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54 GNU General Public License for more details.
56 You should have received a copy of the GNU General Public License
57 along with this program. If not, see <http://www.gnu.org/licenses/>.
67 blhc - build log hardening check, checks build logs for missing hardening flags
71 B<blhc> [-h -? --help]
73 --help available options
74 --version version number and license
78 blhc is a small tool which checks build logs for missing hardening flags and
79 other important warnings. It's licensed under the GPL 3 or later.
87 Print available options.
91 Print version number and license.
97 Simon Ruderich, E<lt>simon@ruderich.orgE<gt>
99 =head1 COPYRIGHT AND LICENSE
101 Copyright (C) 2012 by Simon Ruderich
103 This program is free software: you can redistribute it and/or modify
104 it under the terms of the GNU General Public License as published by
105 the Free Software Foundation, either version 3 of the License, or
106 (at your option) any later version.
108 This program is distributed in the hope that it will be useful,
109 but WITHOUT ANY WARRANTY; without even the implied warranty of
110 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
111 GNU General Public License for more details.
113 You should have received a copy of the GNU General Public License
114 along with this program. If not, see <http://www.gnu.org/licenses/>.