1 |
# $Id: smeserver-mailstats.spec,v 1.4 2013/09/26 17:41:31 unnilennium Exp $ |
# $Id: smeserver-mailstats.spec,v 1.4 2013/09/26 17:41:31 unnilennium Exp $ |
2 |
# Authority: brianread |
# Authority: brianread |
3 |
# Name: Brian Read |
# Name: Brian Read |
4 |
|
|
5 |
Summary: Daily mail statistics for SME Server |
Summary: Daily mail statistics for SME Server |
6 |
%define name smeserver-mailstats |
%define name smeserver-mailstats |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.1 |
%define version 1.1 |
9 |
%define release 2 |
%define release 12 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: SME/addon |
Group: SME/addon |
14 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-mailstats-1.1-random-cron.patch |
Patch0: smeserver-mailstats-1.1-random-cron_and_spamfilter-stats-7-update.patch |
16 |
|
Patch1: smeserver-mailstats-1.1.bz8957.Create_the_mailstats_user.patch |
17 |
|
Patch2: smeserver-mailstats-1.1.bz8656.Spamassassin_scores_and_tags.patch |
18 |
|
Patch3: smeserver-mailstats-1.0-628.patch |
19 |
|
Patch4: smeserver-mailstats-1.1.bz9588.qpsmtpd0_96compatible.patch |
20 |
|
Patch5: smeserver-mailstats-1.1.bz9717-9716email_specific_stats.patch |
21 |
|
Patch6: smeserver-mailstats-1.1.bz9888.geoip.patch |
22 |
|
Patch7: smeserver-mailstats-1.1.bz10858_10327.cleanup_and_email_truncate.patch |
23 |
|
Patch8: smeserver-mailstats-1.1-uninitialised-variable-on-no-data |
24 |
|
|
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
27 |
Requires: smeserver-release => 9.0 |
Requires: smeserver-release => 9.0 |
28 |
|
Requires: qpsmtpd >= 0.96 |
29 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
30 |
|
|
31 |
%description |
%description |
33 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-2 |
|
37 |
|
* Thu Apr 16 2020 brian read <brianr@bjsystems.co.uk> 1.1-12.sme |
38 |
|
- Sort out uninitialised variable on no data. |
39 |
|
|
40 |
|
* Sun Jan 5 2020 brian read <brianr@bjsystems.co.uk> 1.1-11.sme |
41 |
|
- [sme:10858][sme:10327] Sort out email truncate and generally cleanup code format and take out debug crud |
42 |
|
- Also change perl script file name to mailstats.pl |
43 |
|
|
44 |
|
* Fri Oct 18 2019 brian read <brianr@bjsystems.co.uk> 1.1-10.sme |
45 |
|
- fix display of geoip [SME: 9888] |
46 |
|
|
47 |
|
* Wed Oct 12 2016 brian read <brianr@bjsystems.co.uk> 1.1-9.sme |
48 |
|
- [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer |
49 |
|
|
50 |
|
* Sun Jul 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-7.sme |
51 |
|
- set Requires qpsmtpd >=0.96 |
52 |
|
|
53 |
|
* Sat Jul 02 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme |
54 |
|
- make compatible with qpstmpd 0.96 and new plugins [SME: 9588] |
55 |
|
- work in progress : html version of email |
56 |
|
- code by Brian Read <brianr@bjsystems.co.uk> |
57 |
|
- thanks to Michael Doerner for his extensive testing |
58 |
|
|
59 |
|
* Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-5.sme |
60 |
|
- account for all unknown qpsmtpd plugins [SME: 9434] |
61 |
|
- extra for "unofficial" extra clamav signatures |
62 |
|
- code by Brian Read <brianr@bjsystems.co.uk> |
63 |
|
- (only small suggestions from JP Pialasse aka Unnilennium) |
64 |
|
|
65 |
|
* Thu Jun 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4 |
66 |
|
- creates the "mailstats" user [SME: 8957] |
67 |
|
- Fixed the problem with Spamassassin scores and tags. |
68 |
|
- Also added Geoip league table [SME: 8656] |
69 |
|
- code done by Brian Read <brianr@bjsystems.co.uk> |
70 |
|
|
71 |
|
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3 |
72 |
- added a random cron job |
- added a random cron job |
73 |
|
- spamfilter-stats-7-update |
74 |
|
- code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk> |
75 |
|
|
76 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme |
77 |
- initial import to SME9 contribs |
- initial import to SME9 contribs |
89 |
%prep |
%prep |
90 |
%setup |
%setup |
91 |
%patch0 -p1 |
%patch0 -p1 |
92 |
|
%patch1 -p1 |
93 |
|
%patch2 -p1 |
94 |
|
%patch3 -p1 |
95 |
|
%patch4 -p1 |
96 |
|
%patch5 -p1 |
97 |
|
%patch6 -p1 |
98 |
|
%patch7 -p1 |
99 |
|
%patch8 -p1 |
100 |
|
|
101 |
%build |
%build |
102 |
perl createlinks |
perl createlinks |