All pastes #932280 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-07 17:15 UTC
rendered paste body
Summary:        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
%define         _mandir         /usr/share/man/man1/

%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 chpax $RPM_BUILD_ROOT%{_sbindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%{_mandir}/chpax.1
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} Jonathan Sabo <jsabo@boh.com>
- Initial build