# $Id: smeserver-mailstats.spec,v 1.4 2013/09/26 17:41:31 unnilennium Exp $ # Authority: brianread # Name: Brian Read Summary: Daily mail statistics for SME Server %define name smeserver-mailstats Name: %{name} %define version 1.1 %define release 8 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SME/addon Source: %{name}-%{version}.tgz Patch0: smeserver-mailstats-1.1-random-cron_and_spamfilter-stats-7-update.patch Patch1: smeserver-mailstats-1.1.bz8957.Create_the_mailstats_user.patch Patch2: smeserver-mailstats-1.1.bz8656.Spamassassin_scores_and_tags.patch Patch3: smeserver-mailstats-1.0-628.patch Patch4: smeserver-mailstats-1.1.bz9588.qpsmtpd0_96compatible.patch Patch5: smeserver-mailstats-1.1.bz9717-9716email_specific_stats.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: smeserver-release => 9.0 Requires: qpsmtpd >= 0.96 BuildRequires: e-smith-devtools >= 1.13.1-03 %description A script that via cron.d e-mails mail statistics to admin on a daily basis. See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 %changelog * Wed Oct 12 2016 brian read 1.1-8.sme - [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer * Sun Jul 03 2016 Jean-Philipe Pialasse 1.1-7.sme - set Requires qpsmtpd >=0.96 * Sat Jul 02 2016 Jean-Philipe Pialasse 1.1-6.sme - make compatible with qpstmpd 0.96 and new plugins [SME: 9588] - work in progress : html version of email - code by Brian Read - thanks to Michael Doerner for his extensive testing * Sun Apr 10 2016 Jean-Philipe Pialasse 1.1-5.sme - account for all unknown qpsmtpd plugins [SME: 9434] - extra for "unofficial" extra clamav signatures - code by Brian Read - (only small suggestions from JP Pialasse aka Unnilennium) * Thu Jun 25 2015 stephane de Labrusse 1.1-4 - creates the "mailstats" user [SME: 8957] - Fixed the problem with Spamassassin scores and tags. - Also added Geoip league table [SME: 8656] - code done by Brian Read * Sun Jun 14 2015 stephane de Labrusse 1.1-3 - added a random cron job - spamfilter-stats-7-update - code done by Brian Read and John Crisp * Mon Jun 16 2014 JP Pialasse 1.1-1.sme - initial import to SME9 contribs * Mon Sep 23 2013 JP Pialasse 1.1-4.sme - uninitialized value in sprintf [SME: 4747] - patch smeserver-mailstats-1.0-spamfilter.patch * Sun Sep 09 2012 JP Pialasse 1.1-2.sme - fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] * Sat May 26 2012 Brian J read 1.0-1.sme - Initial version %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %clean /bin/rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}-filelist %defattr(-,root,root)