Sisyphus repositório
Última atualização: 19 abril 2021 | SRPMs: 17846 | Visitas: 20756431
en ru br
ALT Linux repositórios
S:7.4.0-alt1
5.0: 7.3.6-alt1.1
4.1: 7.3.6-alt1.1
4.0: 6.1.2-alt1
3.0:
+backports:7.3.1-alt1.M30.1

Group :: Monitoramento
RPM: logwatch

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name:      logwatch
Version:   6.1.2
Release:   alt1

Summary:   Analyzes and Reports on system logs
License:   MIT
Group:     Monitoring
URL:       http://www.logwatch.org
BuildArch: noarch
Source:    ftp://ftp.kaybee.org/pub/linux/%name-%version.tar.gz

%define appdir %_sysconfdir/log.d

Summary(ru_RU.KOI8-R): log- ޣ

%description
Logwatch is a customizable, pluggable log-monitoring system.  It will go
through your logs for a given period of time and make a report in the areas
that you wish with the detail that you wish.  Easy to use - works right out
of the package on many systems.

%description -l ru_RU.KOI8-R
Logwatch
, .. log-.
Cron,
ޣ .

log- ( , syslog
log-) Logwatch .
Logwatch .

ޣ
( - Cron'a Cron).

%prep
%setup -q

%build

%install
%__install -m 0755 -d %buildroot%appdir/conf/logfiles
%__install -m 0755 -d %buildroot%appdir/conf/services
%__install -m 0755 -d %buildroot%appdir/scripts/services
%__install -m 0755 -d %buildroot%appdir/scripts/shared
%__install -m 0755 -d %buildroot%appdir/lib

%__install -m 0755 scripts/logwatch.pl %buildroot%appdir/scripts/logwatch.pl

for i in scripts/logfiles/* ; do
  if [ $(ls $i | wc -l) -ne 0 ] ; then
     %__install -m 0755 -d   %buildroot%appdir/$i
     %__install -m 0755 $i/* %buildroot%appdir/$i
  fi
done
%__install -m 0755 scripts/services/* %buildroot%appdir/scripts/services
%__install -m 0755 scripts/shared/*   %buildroot%appdir/scripts/shared
%__install -m 0755 lib/*              %buildroot%appdir/lib

%__install -m 0644 conf/*.conf        %buildroot%appdir/conf
%__install -m 0644 conf/logfiles/*    %buildroot%appdir/conf/logfiles
%__install -m 0644 conf/services/*    %buildroot%appdir/conf/services

%__install -m 0755 -d                 %buildroot%_man8dir
%__install -m 0644 %name.8            %buildroot%_man8dir/

%__rm -f \
   %buildroot%appdir/%name \
   %buildroot%appdir/%name.conf \
   %buildroot%_sysconfdir/cron.daily/%name \
   %buildroot%_sbindir/%name

%__ln_s    scripts/logwatch.pl        %buildroot%appdir/%name
%__ln_s    conf/%name.conf            %buildroot%appdir/%name.conf
%__install -m 0755 -d                 %buildroot%_sysconfdir/cron.daily
%__ln_s ../log.d/scripts/logwatch.pl  %buildroot%_sysconfdir/cron.daily/0%name
%__install -m 0755 -d                 %buildroot%_sbindir
%__ln_s ../..%appdir/scripts/%name.pl %buildroot%_sbindir/%name

%files
%dir %appdir
%dir %appdir/conf
%dir %appdir/scripts
%dir %appdir/conf/logfiles
%dir %appdir/conf/services
%dir %appdir/scripts/logfiles
%dir %appdir/scripts/services
%dir %appdir/scripts/shared
%dir %appdir/scripts/logfiles/*
%dir %appdir/lib
%config %appdir/conf/*.conf
%config %appdir/conf/services/*
%config %appdir/conf/logfiles/*
%appdir/scripts/logwatch.pl
%_sbindir/%name
%appdir/scripts/shared/*
%appdir/scripts/services/*
%appdir/scripts/logfiles/*/*
%appdir/%name
%appdir/lib/Logwatch.pm
%appdir/%name.conf
%_sysconfdir/cron.daily/0%name
%doc %_man8dir/%name.8*

%doc README HOWTO-Make-Filter License project/CHANGES project/TODO

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009