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
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