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