1 |
unnilennium |
1.1 |
# $Id: smeserver-mailstats.spec,v 1.4 2013/09/26 17:41:31 unnilennium Exp $ |
2 |
|
|
# Authority: brianread |
3 |
|
|
# Name: Brian Read |
4 |
|
|
|
5 |
|
|
Summary: Daily mail statistics for SME Server |
6 |
|
|
%define name smeserver-mailstats |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 1.1 |
9 |
brianread |
1.8 |
%define release 8 |
10 |
unnilennium |
1.1 |
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: SME/addon |
14 |
|
|
Source: %{name}-%{version}.tgz |
15 |
stephdl |
1.3 |
Patch0: smeserver-mailstats-1.1-random-cron_and_spamfilter-stats-7-update.patch |
16 |
stephdl |
1.4 |
Patch1: smeserver-mailstats-1.1.bz8957.Create_the_mailstats_user.patch |
17 |
|
|
Patch2: smeserver-mailstats-1.1.bz8656.Spamassassin_scores_and_tags.patch |
18 |
unnilennium |
1.5 |
Patch3: smeserver-mailstats-1.0-628.patch |
19 |
unnilennium |
1.6 |
Patch4: smeserver-mailstats-1.1.bz9588.qpsmtpd0_96compatible.patch |
20 |
brianread |
1.8 |
Patch5: smeserver-mailstats-1.1.bz9717-9716email_specific_stats |
21 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
BuildArchitectures: noarch |
23 |
stephdl |
1.2 |
Requires: smeserver-release => 9.0 |
24 |
unnilennium |
1.7 |
Requires: qpsmtpd >= 0.96 |
25 |
unnilennium |
1.1 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
29 |
|
|
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
brianread |
1.8 |
* Wed Oct 12 2016 brian read <brianr@bjsystems.co.uk> 1.1-8.sme |
33 |
|
|
- [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer |
34 |
|
|
|
35 |
unnilennium |
1.7 |
* Sun Jul 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-7.sme |
36 |
|
|
- set Requires qpsmtpd >=0.96 |
37 |
|
|
|
38 |
unnilennium |
1.6 |
* Sat Jul 02 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme |
39 |
unnilennium |
1.7 |
- make compatible with qpstmpd 0.96 and new plugins [SME: 9588] |
40 |
|
|
- work in progress : html version of email |
41 |
unnilennium |
1.6 |
- code by Brian Read <brianr@bjsystems.co.uk> |
42 |
|
|
- thanks to Michael Doerner for his extensive testing |
43 |
|
|
|
44 |
unnilennium |
1.5 |
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-5.sme |
45 |
|
|
- account for all unknown qpsmtpd plugins [SME: 9434] |
46 |
|
|
- extra for "unofficial" extra clamav signatures |
47 |
unnilennium |
1.6 |
- code by Brian Read <brianr@bjsystems.co.uk> |
48 |
unnilennium |
1.5 |
- (only small suggestions from JP Pialasse aka Unnilennium) |
49 |
|
|
|
50 |
stephdl |
1.4 |
* Thu Jun 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4 |
51 |
|
|
- creates the "mailstats" user [SME: 8957] |
52 |
|
|
- Fixed the problem with Spamassassin scores and tags. |
53 |
|
|
- Also added Geoip league table [SME: 8656] |
54 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> |
55 |
|
|
|
56 |
stephdl |
1.3 |
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3 |
57 |
stephdl |
1.2 |
- added a random cron job |
58 |
stephdl |
1.3 |
- spamfilter-stats-7-update |
59 |
|
|
- code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk> |
60 |
stephdl |
1.2 |
|
61 |
unnilennium |
1.1 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme |
62 |
|
|
- initial import to SME9 contribs |
63 |
|
|
|
64 |
|
|
* Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme |
65 |
|
|
- uninitialized value in sprintf [SME: 4747] |
66 |
|
|
- patch smeserver-mailstats-1.0-spamfilter.patch |
67 |
|
|
|
68 |
|
|
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
69 |
|
|
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
70 |
|
|
|
71 |
|
|
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
72 |
|
|
- Initial version |
73 |
|
|
|
74 |
|
|
%prep |
75 |
|
|
%setup |
76 |
stephdl |
1.2 |
%patch0 -p1 |
77 |
stephdl |
1.4 |
%patch1 -p1 |
78 |
|
|
%patch2 -p1 |
79 |
unnilennium |
1.5 |
%patch3 -p1 |
80 |
unnilennium |
1.6 |
%patch4 -p1 |
81 |
brianread |
1.8 |
%patch5 -p1 |
82 |
unnilennium |
1.1 |
|
83 |
|
|
%build |
84 |
|
|
perl createlinks |
85 |
|
|
|
86 |
|
|
%install |
87 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
88 |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
89 |
|
|
/bin/rm -f %{name}-%{version}-filelist |
90 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
91 |
|
|
|
92 |
|
|
%clean |
93 |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
94 |
|
|
|
95 |
|
|
%files -f %{name}-%{version}-filelist |
96 |
|
|
%defattr(-,root,root) |