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