]> git.pld-linux.org Git - packages/logcheck.git/blob - logcheck.spec
s/Free. See LICENSE file./Free (see License in License
[packages/logcheck.git] / logcheck.spec
1 Summary:        Logcheck system log analyzer
2 Summary(pl):    Logcheck - analizator logów systemu
3 Name:           logcheck
4 Version:        1.1.1
5 Release:        1
6 License:        Free (see LICENSE)
7 Group:          Applications/System
8 Source0:        http://www.psionic.com/tools/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-pld.patch
10 Vendor:         Craig Rowland <crowland@psionic.com>
11 URL:            http://www.psionic.com/abacus
12 Requires:       /usr/sbin/sendmail
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sysconfdir     /etc/logcheck
16
17 %description
18 Logcheck is software package that is designed to automatically run and
19 check system log files for security violations and unusual activity.
20 Logcheck utilizes a program called logtail that remembers the last
21 position it read from in a log file and uses this position on
22 subsequent runs to process new information. All source code is
23 available for review and the implementation was kept simple to avoid
24 problems. This package is a clone of the frequentcheck.sh script from
25 the Trusted Information Systems Gauntlet(tm) firewall package. TIS has
26 granted permission for me to clone this package.
27
28 %description -l pl
29 Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego
30 analizowania logów systemowych i przesy³aniu ich po wstêpnjej obróbce
31 poczt± elektroniczn± do administratora systemu. Aplikacja ta jest
32 klonem skryptu frequentcheck.sh z Trusted Information Systems
33 Gauntlet(tm).
34
35 %prep
36 %setup -q
37 %patch -p1
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.hourly,%{_sbindir}}
42
43 %{__make} linux \
44         CC=%{__cc} \
45         CFLAGS="%{rpmcflags}"
46
47 cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
48 #!/bin/sh
49 exec %{_sbindir}/logcheck
50 EOF
51
52 gzip -9nf CHANGES CREDITS README* systems/linux/README*
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc *.gz systems/linux/*.gz
60 %attr(700,root,root) %dir %{_sysconfdir}
61 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
62 %attr(700,root,root) %config(missingok) /etc/cron.hourly/logcheck
63 %attr(755,root,root) %{_sbindir}/logcheck
64 %attr(755,root,root) %{_sbindir}/logtail
This page took 0.07335 seconds and 4 git commands to generate.