1 |
# $Id: smeserver-mailstats.spec,v 1.3 2020/04/16 09:59:29 brianr Exp $ |
# $Id: smeserver-mailstats.spec,v 1.7 2021/04/02 11:11:44 brianr Exp $ |
2 |
# Authority: brianread |
# Authority: brianread |
3 |
# Name: Brian Read |
# Name: Brian Read |
4 |
|
|
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 13 |
%define release 17 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
22 |
Patch7: smeserver-mailstats-1.1.bz10858_10327.cleanup_and_email_truncate.patch |
Patch7: smeserver-mailstats-1.1.bz10858_10327.cleanup_and_email_truncate.patch |
23 |
Patch8: smeserver-mailstats-1.1-uninitialised-variable-on-no-data |
Patch8: smeserver-mailstats-1.1-uninitialised-variable-on-no-data |
24 |
Patch9: smeserver-mailstats-1.1-Clear-up-uninitialsed-use-of-lc.patch |
Patch9: smeserver-mailstats-1.1-Clear-up-uninitialsed-use-of-lc.patch |
25 |
|
Patch10:smeserver-mailstats-1.1-Add-Update-event-to-createlinks.patch |
26 |
|
Patch11:smeserver-mailstats-1.1-Take-out-dot-in-cron-file-and-also-re-direct-errors-to-syslog.patch |
27 |
|
Patch12:smeserver-mailstats-1.1-bz12327-Add-in-imap-authorisation-log-string.patch |
28 |
|
|
29 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
31 |
Requires: smeserver-release => 9.0 |
Requires: smeserver-release => 9.0 |
32 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
33 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
34 |
|
Requires: perl-Switch |
35 |
|
|
36 |
%description |
%description |
37 |
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
A script that via cron.d e-mails mail statistics to admin on a daily basis. |
38 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
See http://www.contribs.org/bugzilla/show_bug.cgi?id=819 |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Wed Feb 15 2023 Brian Read <brianr@bjsystems.co.uk> 1.1-17.sme |
42 |
|
- Add-in-imap-authorisation-log-string [SME: 12327] |
43 |
|
|
44 |
|
* Fri Apr 02 2021 Brian Read <brianr@bjsystems.co.uk> 1.1-16.sme |
45 |
|
- Take out dot in cron file and also re-direct errors to syslog [SME: 11519] |
46 |
|
|
47 |
|
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.1-15.sme |
48 |
|
- Add Update event to createlinks [SME: 10923] |
49 |
|
|
50 |
|
* Thu Dec 17 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-14.sme |
51 |
|
- Add in perl-Switch as requirement [SME: 11044] |
52 |
|
|
53 |
* Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-13.sme |
* Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-13.sme |
54 |
- More uninitialised data [SME: 11044] |
- More uninitialised data [SME: 11044] |
55 |
|
|
61 |
- Also change perl script file name to mailstats.pl |
- Also change perl script file name to mailstats.pl |
62 |
|
|
63 |
* Fri Oct 18 2019 brian read <brianr@bjsystems.co.uk> 1.1-10.sme |
* Fri Oct 18 2019 brian read <brianr@bjsystems.co.uk> 1.1-10.sme |
64 |
- fix display of geoip [SME: 9888] |
- Add Update event to createlinks display of geoip [SME: 9888] |
65 |
|
|
66 |
* Wed Oct 12 2016 brian read <brianr@bjsystems.co.uk> 1.1-9.sme |
* Wed Oct 12 2016 brian read <brianr@bjsystems.co.uk> 1.1-9.sme |
67 |
- [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer |
- [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer |
100 |
- patch smeserver-mailstats-1.0-spamfilter.patch |
- patch smeserver-mailstats-1.0-spamfilter.patch |
101 |
|
|
102 |
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
* Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme |
103 |
- fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
- Add Update event to createlinks Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089] |
104 |
|
|
105 |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
* Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme |
106 |
- Initial version |
- Initial version |
117 |
%patch7 -p1 |
%patch7 -p1 |
118 |
%patch8 -p1 |
%patch8 -p1 |
119 |
%patch9 -p1 |
%patch9 -p1 |
120 |
|
%patch10 -p1 |
121 |
|
%patch11 -p1 |
122 |
|
%patch12 -p1 |
123 |
|
|
124 |
%build |
%build |
125 |
perl createlinks |
perl createlinks |
127 |
%install |
%install |
128 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
129 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
130 |
|
chmod +x $RPM_BUILD_ROOT/usr/bin/runmailstats.sh |
131 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
132 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
133 |
|
|