]> git.pld-linux.org Git - packages/checksec.git/blob - checksec.spec
use dist tarball; package man
[packages/checksec.git] / checksec.spec
1 Summary:        Tool to check system for binary-hardening
2 Name:           checksec
3 Version:        1.7.4
4 Release:        1
5 License:        BSD
6 Group:          Development/Tools
7 Source0:        https://github.com/slimm609/checksec.sh/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  8e963bc27f58d14c9b3657600a5c298e
9 URL:            https://github.com/slimm609/checksec.sh
10 Requires:       binutils
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Modern Linux distributions offer some mitigation techniques to make it
16 harder to exploit software vulnerabilities reliably. Mitigations such
17 as RELRO, NoExecute (NX), Stack Canaries, Address Space Layout
18 Randomization (ASLR) and Position Independent Executables (PIE) have
19 made reliably exploiting any vulnerabilities that do exist far more
20 challenging.
21
22 The checksec script is designed to test what *standard* Linux OS and
23 PaX <http://pax.grsecurity.net/> security features are being used.
24
25 As of version 1.3 the script also lists the status of various Linux
26 kernel protection mechanisms.
27
28 checksec can check binary-files and running processes for hardening
29 features.
30
31 %prep
32 %setup -qn %{name}.sh-%{version}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man7}
37 install -p %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/%{name}
38 install -p extras/man/checksec.7* $RPM_BUILD_ROOT%{_mandir}/man7
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README.md LICENSE.txt ChangeLog
46 %attr(755,root,root) %{_bindir}/%{name}
47 %{_mandir}/man7/checksec.7*
This page took 0.096627 seconds and 3 git commands to generate.