]> git.pld-linux.org Git - packages/logcheck.git/blob - logcheck.spec
- URL fixes and other cosmetics
[packages/logcheck.git] / logcheck.spec
1 Summary:        Logcheck system log analyzer
2 Summary(es):    Analizador de logs
3 Summary(pl):    Logcheck - analizator logów systemu
4 Summary(pt_BR): Um analisador de logs
5 Summary(ru):    Logcheck - ÁÎÁÌÉÚÁÔÏÒ log-ÆÁÊÌÏ×
6 Summary(uk):    Logcheck - ÁÎÁ̦ÚÁÔÏÒ log-ÆÁÊ̦×
7 Summary(zh_CN): ÏµÍ³ÈÕÖ¾·ÖÎö¹¤¾ß
8 Name:           logcheck
9 Version:        1.1.1
10 Release:        2
11 License:        GPL
12 Group:          Applications/System
13 #Source0:       http://www.psionic.com/tools/%{name}-%{version}.tar.gz
14 # Adopted by Debian ? They have 1.3.14 in pool
15 Source0:        %{name}-%{version}.tar.gz
16 # Source0-md5:  e97c2f096e219e20310c1b80e9e1bc29
17 Patch0:         %{name}-pld.patch
18 Vendor:         Craig H. Rowland <crowland@psionic.com>
19 #URL:           http://www.psionic.com/abacus
20 Requires:       /usr/sbin/sendmail
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/logcheck
24
25 %description
26 Logcheck is software package that is designed to automatically run and
27 check system log files for security violations and unusual activity.
28 Logcheck utilizes a program called logtail that remembers the last
29 position it read from in a log file and uses this position on
30 subsequent runs to process new information. All source code is
31 available for review and the implementation was kept simple to avoid
32 problems. This package is a clone of the frequentcheck.sh script from
33 the Trusted Information Systems Gauntlet(tm) firewall package. TIS has
34 granted permission for me to clone this package.
35
36 %description -l es
37 Analizador de logs
38
39 %description -l pl
40 Pakiet zawiera logcheck - aplikacjê przeznaczon± do automatycznego
41 analizowania logów systemowych i przesy³aniu ich po wstêpnjej obróbce
42 poczt± elektroniczn± do administratora systemu. Aplikacja ta jest
43 klonem skryptu frequentcheck.sh z Trusted Information Systems
44 Gauntlet(tm).
45
46 %description -l pt_BR
47 O logcheck é um software que foi desenvolvido para automaticamente rodar e
48 checar logs do sistema para violações de segurança, e atividade não usual.
49
50 %description -l ru
51 Logcheck - ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÏÔÓÌÅÖÉ×ÁÎÉÑ × ÓÉÓÔÅÍÎÙÈ ÌÏÇÁÈ ÎÅÏÂÙÞÎÙÈ ÄÅÊÓÔ×ÉÊ
52 É ÐÏÐÙÔÏË ÎÅÓÁÎËÃÉÏÎÉÒÏ×ÁÎÎÏÇÏ ÄÏÓÔÕÐÁ.
53
54 %description -l uk
55 Logcheck - ÐÒÏÇÒÁÍÁ ÄÌѠצÄÓ̦ÄËÏ×Õ×ÁÎÎÑ × ÓÉÓÔÅÍÎÉÈ ÌÏÇÁÈ ÎÅÚ×ÉÞÁÊÎÉȠĦÊ
56 ÔÁ ÓÐÒÏ ÎÅÓÁÎËæÏÎÏ×ÁÎÏÇÏ ÄÏÓÔÕÐÕ.
57
58 %prep
59 %setup -q
60 %patch -p1
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.hourly,%{_sbindir}}
65
66 %{__make} linux \
67         CC=%{__cc} \
68         CFLAGS="%{rpmcflags}"
69
70 cat <<EOF > $RPM_BUILD_ROOT/etc/cron.hourly/logcheck
71 #!/bin/sh
72 exec %{_sbindir}/logcheck
73 EOF
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc CHANGES CREDITS README* systems/linux/README*
81 %attr(700,root,root) %dir %{_sysconfdir}
82 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
83 %attr(700,root,root) %config(missingok) /etc/cron.hourly/logcheck
84 %attr(755,root,root) %{_sbindir}/logcheck
85 %attr(755,root,root) %{_sbindir}/logtail
This page took 0.064252 seconds and 4 git commands to generate.