]> git.pld-linux.org Git - packages/logcheck.git/blob - logcheck.spec
- added using CVS keywords in %changelog (for automating them).
[packages/logcheck.git] / logcheck.spec
1 Summary:     Logcheck system log analyzer
2 Name:        logcheck
3 Version:     1.1
4 Release:     1d
5 Copyright:   Free. See LICENSE file.
6 Group:       Utilities/System
7 Source:      http://www.psionic.com/abacus/%{name}-%{version}.tar.gz
8 Patch:       %{name}-pld.patch
9 Vendor:      Craig Rowland <crowland@psionic.com>
10 URL:         http://www.psionic.com/abacus
11 BuildRoot:   /tmp/%{name}-%{version}-%{release}-root
12 Summary(pl): Logcheck - analizator logów systemu
13
14 %description
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.
23
24 %description -l pl
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). 
29
30 %prep
31 %setup -q
32 %patch -p1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 install -d $RPM_BUILD_ROOT/etc/logcheck
38 install -d $RPM_BUILD_ROOT/usr/sbin
39
40 make CC="gcc" CFLAGS="$RPM_OPT_FLAGS" linux
41
42 install -d $RPM_BUILD_ROOT/etc/cron.hourly
43
44 cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
45 #!/bin/bash
46 /usr/sbin/logcheck
47 EOF
48
49 strip $RPM_BUILD_ROOT/usr/sbin/logtail
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc CHANGES CREDITS README* systems/linux/README*
57
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) /usr/sbin/logcheck
62 %attr(700,root,root) /usr/sbin/logtail
This page took 0.068552 seconds and 4 git commands to generate.