]> git.pld-linux.org Git - SPECS.git/blob - snortalog.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / snortalog.spec
1 Summary:        Snortalog - a Perl script that summarize snort and other IDS and firewall logs
2 Summary(pl.UTF-8):      Snortalog - skrypt Perla podsumowujący logi snorta i innych IDS-ów oraz firewalli
3 Name:           snortalog
4 Version:        2.4.2
5 Release:        1
6 License:        GPL v2+
7 Group:          Networking
8 #Source0Download: http://jeremy.chartier.free.fr/snortalog/download.html
9 Source0:        http://jeremy.chartier.free.fr/snortalog/downloads/snortalog/%{name}_v%{version}.tgz
10 # Source0-md5:  6a86b24b7c9027e17ac0eb46d544a6e5
11 Source1:        %{name}.cron
12 Patch0:         %{name}-paths.patch
13 URL:            http://jeremy.chartier.free.fr/snortalog/
14 BuildRequires:  rpm-perlprov
15 Requires:       perl-GD-Graph
16 Requires:       perl-GD-TextUtil
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _noautoreq      'perl(modules.*)'
20
21 %description
22 Snortalog is a Perl script to summarise snort and other IDS and
23 firewall logs making it easier to see what attack are being seen
24 through your network. It provides many sorting and filtering options
25 in ASCII and HTML format.
26
27 %description -l pl.UTF-8
28 Snortalog jest skryptem Perla, który podsumowuje logi snorta i innych
29 IDS-ów oraz firewalli sprawiając, że można łatwo sprawdzić przez kogo
30 jesteśmy atakowani przez sieć. Dostarcza wiele sortujących i
31 filtrujących opcji w formacie ASCII i HTML.
32
33 %prep
34 %setup -q -n %{name}
35 %patch0 -p1
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_datadir}/%{name} \
40         $RPM_BUILD_ROOT/etc/cron.daily \
41         $RPM_BUILD_ROOT%{_bindir}
42
43 install snortalog.pl $RPM_BUILD_ROOT%{_bindir}
44 cp -r conf modules picts $RPM_BUILD_ROOT%{_datadir}/%{name}
45 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/%{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc CHANGES
53 %attr(755,root,root) %{_bindir}/snortalog.pl
54 %{_datadir}/%{name}
55 %attr(750,root,root) /etc/cron.daily/%{name}
This page took 0.055316 seconds and 3 git commands to generate.