]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.perl | |
2 | Summary: Snare for Linux - audit subsystem control and distribution | |
3 | Name: SnareLinux | |
4 | Version: 1.5.1 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://www.intersectalliance.com/projects/SnareLinux/Download/SnareLinux-%{version}.tar.gz | |
9 | # Source0-md5: 1d469d169e7a3aecfb36b34a7fd1f90b | |
10 | URL: http://www.intersectalliance.com/ | |
11 | BuildRequires: audit-libs-devel >= 1.0.16 | |
12 | BuildRequires: rpm-perlprov >= 4.1-13 | |
13 | Requires: audit >= 1.0.16 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | The System iNtrusion Analysis and Reporting Environment (SNARE) agent | |
18 | for Linux provides a event collection, filtering, control and remote | |
19 | distribution cabability for the Linux operating system. Snare supports | |
20 | organisations that need to meet national security policy guidelines | |
21 | such as NISPOM, DCID/DIAM, SOX/Sarbanes Oxley, GLBA, CISP and BS7799. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__make} | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -D SnareDispatcher.pl $RPM_BUILD_ROOT%{_sbindir}/SnareDispatcher | |
32 | install SnareDispatchHelper $RPM_BUILD_ROOT%{_sbindir} | |
33 | install SnareWebServer.pl $RPM_BUILD_ROOT%{_sbindir} | |
34 | install SnareTranslationTable $RPM_BUILD_ROOT%{_sbindir} | |
35 | install -D snare.conf $RPM_BUILD_ROOT%{_sysconfdir}/snare.conf | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %attr(750,root,root) %{_sbindir}/Snare* | |
43 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snare.conf |