1 Summary: Logcheck system log analyzer
2 Summary(pl): Logcheck - analizator logów systemu
6 Copyright: Free. See LICENSE file.
7 Group: Utilities/System
8 Source: http://www.psionic.com/abacus/%{name}-%{version}.tar.gz
9 Patch: %{name}-pld.patch
10 Vendor: Craig Rowland <crowland@psionic.com>
11 URL: http://www.psionic.com/abacus
12 BuildRoot: /tmp/%{name}-%{version}-%{release}-root
15 Logcheck is software package that is designed to automatically run and check
16 system log files for security violations and unusual activity. Logcheck
17 utilizes a program called logtail that remembers the last position it read
18 from in a log file and uses this position on subsequent runs to process new
19 information. All source code is available for review and the implementation
20 was kept simple to avoid problems. This package is a clone of the
21 frequentcheck.sh script from the Trusted Information Systems Gauntlet(tm)
22 firewall package. TIS has granted permission for me to clone this package.
25 Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego analizowania
26 logów systemowych i przesy³aniu ich po wstêpnjej obróbce poczt± elektroniczn±
27 do administratora systemu. Aplikacja ta jest klonem skryptu frequentcheck.sh z
28 Trusted Information Systems Gauntlet(tm).
35 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{/etc/logcheck,%{_sbindir}}
39 make CC="gcc" CFLAGS="$RPM_OPT_FLAGS" linux
41 install -d $RPM_BUILD_ROOT/etc/cron.hourly
43 cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
48 strip --strip-unneeded $RPM_BUILD_ROOT%{_sbindir}/logtail
50 gzip -9nf CHANGES CREDITS README* systems/linux/README*
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc {CHANGES,CREDITS,README*,systems/linux/README*}.gz
58 %attr(700,root,root) %dir /etc/logcheck
59 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logcheck/*
60 %attr(700,root,root) %config(missingok) /etc/cron.hourly/logcheck
61 %attr(700,root,root) %{_sbindir}/logcheck
62 %attr(700,root,root) %{_sbindir}/logtail