2 # - SECURITY: http://securitytracker.com/alerts/2004/Apr/1009838.html
3 Summary: Logcheck system log analyzer
4 Summary(es): Analizador de logs
5 Summary(pl): Logcheck - analizator logów systemu
6 Summary(pt_BR): Um analisador de logs
7 Summary(ru): Logcheck - ÁÎÁÌÉÚÁÔÏÒ log-ÆÁÊÌÏ×
8 Summary(uk): Logcheck - ÁÎÁ̦ÚÁÔÏÒ log-ÆÁÊ̦×
9 Summary(zh_CN): ϵͳÈÕÖ¾·ÖÎö¹¤¾ß
14 Group: Applications/System
15 #Source0: http://www.psionic.com/tools/%{name}-%{version}.tar.gz
16 # Adopted by Debian ? They have 1.3.14 in pool
17 Source0: %{name}-%{version}.tar.gz
18 # Source0-md5: e97c2f096e219e20310c1b80e9e1bc29
19 Patch0: %{name}-pld.patch
20 Vendor: Craig H. Rowland <crowland@psionic.com>
21 #URL: http://www.psionic.com/abacus
22 Requires: /usr/sbin/sendmail
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _sysconfdir /etc/logcheck
28 Logcheck is software package that is designed to automatically run and
29 check system log files for security violations and unusual activity.
30 Logcheck utilizes a program called logtail that remembers the last
31 position it read from in a log file and uses this position on
32 subsequent runs to process new information. All source code is
33 available for review and the implementation was kept simple to avoid
34 problems. This package is a clone of the frequentcheck.sh script from
35 the Trusted Information Systems Gauntlet(tm) firewall package. TIS has
36 granted permission for me to clone this package.
42 Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego
43 analizowania logów systemowych i przesy³aniu ich po wstêpnjej obróbce
44 poczt± elektroniczn± do administratora systemu. Aplikacja ta jest
45 klonem skryptu frequentcheck.sh z Trusted Information Systems
49 O logcheck é um software que foi desenvolvido para automaticamente rodar e
50 checar logs do sistema para violações de segurança, e atividade não usual.
53 Logcheck - ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÏÔÓÌÅÖÉ×ÁÎÉÑ × ÓÉÓÔÅÍÎÙÈ ÌÏÇÁÈ ÎÅÏÂÙÞÎÙÈ ÄÅÊÓÔ×ÉÊ
54 É ÐÏÐÙÔÏË ÎÅÓÁÎËÃÉÏÎÉÒÏ×ÁÎÎÏÇÏ ÄÏÓÔÕÐÁ.
57 Logcheck - ÐÒÏÇÒÁÍÁ ÄÌÑ ×¦ÄÓ̦ÄËÏ×Õ×ÁÎÎÑ × ÓÉÓÔÅÍÎÉÈ ÌÏÇÁÈ ÎÅÚ×ÉÞÁÊÎÉÈ Ä¦Ê
58 ÔÁ ÓÐÒÏ ÎÅÓÁÎËæÏÎÏ×ÁÎÏÇÏ ÄÏÓÔÕÐÕ.
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.hourly,%{_sbindir}}
72 cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
74 exec %{_sbindir}/logcheck
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %doc CHANGES CREDITS README* systems/linux/README*
83 %attr(700,root,root) %dir %{_sysconfdir}
84 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
85 %attr(700,root,root) %config(missingok) /etc/cron.hourly/logcheck
86 %attr(755,root,root) %{_sbindir}/logcheck
87 %attr(755,root,root) %{_sbindir}/logtail