]> git.pld-linux.org Git - packages/chpax.git/blob - chpax.spec
- release 3: fixed %install: install also chstk.
[packages/chpax.git] / chpax.spec
1 Summary:        Manage PaX flags for ELF and a.out binaries
2 Summary(pl):    Zarz±dca znaczników PaX dla binarek ELF oraz a.out
3 Name:           chpax
4 Version:        0.20020901
5 Release:        3
6 License:        Public Domain
7 Group:          Applications/System
8 Source0:        http://pageexec.virtualave.net/%{name}.c
9 Source1:        http://www.openwall.com/linux/linux-2.2.21-ow2.tar.gz 
10 URL:            http://pageexec.virtualave.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _sbindir        /sbin
14
15 %description
16 This program manages various PaX related flags for ELF and a.out
17 binaries. The flags only have effect when running the patched Linux
18 kernel.
19
20 %description -l pl
21 Program zarz±dzaj±cy flagami zwi±zanymi z PaX w binarkach ELF oraz
22 a.out. Znaczniki te s± brane pod uwagê tylko w momencie u¿ywania
23 odpowiednio za³atanego j±dra systemu.
24
25 %prep
26 %setup -q -T -c -a 1
27 install %{SOURCE0} .
28 cp `find -name chstk.c` .
29
30 %build
31 %{__cc} %{rpmcflags} %{rpmldflags} -o chpax chpax.c
32 %{__cc} %{rpmcflags} %{rpmldflags} -o chstk chstk.c
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_sbindir}
37
38 install chpax chstk $RPM_BUILD_ROOT%{_sbindir}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_sbindir}/*
This page took 0.04613 seconds and 3 git commands to generate.