rendered paste bodySummary: Manage PaX flags on elf and a.out binaries
Name: chpax
Version: 0.7
Release: 1
Epoch: 1
License: Public Domain
Group: Applications/System
Source0: http://pax.grsecurity.net/%{name}-%{version}.tar.gz
URL: http://pax.grsecurity.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
%description
This program manages various PaX related flags for ELF and a.out
binaries. The flags only have effect when running the patched Linux
kernel.
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sbindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install chpax $RPM_BUILD_ROOT%{_sbindir}
install chpax.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%{_mandir}/man1/chpax.1
%attr(755,root,root) %{_sbindir}/*