Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37399040
en ru br
ALT Linux repos
S:1.1.5-alt1
5.0: 1.1.0-alt4
4.1: 1.1.0-alt4
4.0: 1.1.0-alt3
3.0: 1.1.0-alt1

Group :: Monitoring
RPM: pflogsumm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pflogsumm
Version: 1.1.5
Release: alt1

Summary: Postfix Log Entry Summarizer
License: GPLv2+
Group: Monitoring

Url: http://jimsun.linxnet.com/postfix_contrib.html
Packager: Ilya Mashkin <oddity at altlinux.ru>
BuildArch: noarch

Source0: %name-%version.tar.gz
Source1: pflogsumm-daily
# http://www.nmedia.net/~chris/mail/mail-cgi.txt
Source2: pflogsumm.mail-cgi.txt
Source3: pflogsumm.htaccess
Patch0: pflogsumm-1.1.0-alt-mail.cgi.patch
Patch1: pflogsumm-1.1.0-conn-delays-dsn.patch

# Automatically added by buildreq on Sun Apr 27 2008 (-bi)

BuildRequires: perl-Date-Calc

%package cgi
Summary: CGI script that interfaces to %name
Group: Monitoring
Requires: %name = %version-%release

%description
Pflogsumm is a log analyzer/summarizer for the Postfix MTA.  It is
designed to provide an over-view of Postfix activity, with just enough
detail to give the administrator a "heads up" for potential trouble
spots.
Pflogsumm generates summaries and, in some cases, detailed reports of
mail server traffic volumes, rejected and bounced email, and server
warnings, errors and panics.

%description cgi
CGI script that interfaces to %name

%prep
%setup
cp -a %SOURCE2 .
%patch0 -p1
#patch1 -p0

%install
install -pD -m0755 pflogsumm.pl %buildroot/%_sbindir/%name
install -pD -m0644 pflogsumm.1 %buildroot/%_man1dir/%name.1
install -pD -m0755 %SOURCE1 %buildroot/%_sysconfdir/cron.daily/010%name

install -pD -m0755 pflogsumm.mail-cgi.txt %buildroot%_var/www/cgi-bin/%name/index.cgi
install -pD -m0644 %SOURCE3 %buildroot%_var/www/cgi-bin/%name/.htaccess

%files
%_sbindir/%name
%_man1dir/%name.*
%config(noreplace) %_sysconfdir/cron.daily/010%name
%doc ChangeLog pflogsumm-faq.txt README ToDo

%files cgi
%_var/www/cgi-bin/%name/index.cgi
%_var/www/cgi-bin/%name/.htaccess

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin