/[smecontribs]/rpms/smeserver-mailstats/contribs10/smeserver-mailstats.spec
ViewVC logotype

Diff of /rpms/smeserver-mailstats/contribs10/smeserver-mailstats.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by brianr, Tue Apr 14 06:35:22 2020 UTC Revision 1.7 by brianr, Fri Apr 2 11:11:44 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-mailstats.spec,v 1.1 2020/04/13 18:12:07 brianr Exp $  # $Id: smeserver-mailstats.spec,v 1.6 2021/03/24 06:37:33 brianr Exp $
2  # Authority: brianread  # Authority: brianread
3  # Name: Brian Read  # Name: Brian Read
4    
# Line 6  Summary: Daily mail statistics for SME S Line 6  Summary: Daily mail statistics for SME S
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 12  %define release 16
10  Version: %{version}  Version: %{version}
11  Release: %{release}%{?dist}  Release: %{release}%{?dist}
12  License: GPL  License: GPL
# Line 20  Patch4: smeserver-mailstats-1.1.bz9588.q Line 20  Patch4: smeserver-mailstats-1.1.bz9588.q
20  Patch5: smeserver-mailstats-1.1.bz9717-9716email_specific_stats.patch  Patch5: smeserver-mailstats-1.1.bz9717-9716email_specific_stats.patch
21  Patch6: smeserver-mailstats-1.1.bz9888.geoip.patch  Patch6: smeserver-mailstats-1.1.bz9888.geoip.patch
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
24    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    
28  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29  BuildArchitectures: noarch  BuildArchitectures: noarch
30  Requires: smeserver-release => 9.0  Requires: smeserver-release => 9.0
31  Requires: qpsmtpd >= 0.96  Requires: qpsmtpd >= 0.96
 Requires: perl-Switch  
32  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
33    Requires: perl-Switch
34    
35  %description  %description
36  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.
37  See http://www.contribs.org/bugzilla/show_bug.cgi?id=819  See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
38    
39  %changelog  %changelog
40  * Tue Apr 14 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-12.sme  * Fri Apr 02 2021 Brian Read <brianr@bjsystems.co.uk> 1.1-16.sme
41  - fix running on SME10  - add in perl-Switch require [SME:10923]  - Take out dot in cron file and also re-direct errors to syslog [SME: 11519]
42    
43    * Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.1-15.sme
44    - Add Update event to createlinks [SME: 10923]
45    
46    * Thu Dec 17 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-14.sme
47    - Add in perl-Switch as requirement [SME: 11044]
48    
49    * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-13.sme
50    - More uninitialised data [SME: 11044]
51    
52    * Thu Apr 16 2020 brian read <brianr@bjsystems.co.uk> 1.1-12.sme
53    - Sort out uninitialised variable on no data.
54    
55  * Sun Jan 5 2020 brian read <brianr@bjsystems.co.uk> 1.1-11.sme  * Sun Jan 5 2020 brian read <brianr@bjsystems.co.uk> 1.1-11.sme
56  - [sme:10858][sme:10327] Sort out email truncate and generally cleanup code format and take out debug crud  - [sme:10858][sme:10327] Sort out email truncate and generally cleanup code format and take out debug crud
57  - Also change perl script file name to mailstats.pl  - Also change perl script file name to mailstats.pl
58    
59  * 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
60  - fix display of geoip [SME: 9888]  - Add Update event to createlinks display of geoip [SME: 9888]
61    
62  * 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
63  - [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
# Line 80  See http://www.contribs.org/bugzilla/sho Line 96  See http://www.contribs.org/bugzilla/sho
96  - patch  smeserver-mailstats-1.0-spamfilter.patch  - patch  smeserver-mailstats-1.0-spamfilter.patch
97    
98  * 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
99  - 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]
100    
101  * 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
102  - Initial version  - Initial version
# Line 95  See http://www.contribs.org/bugzilla/sho Line 111  See http://www.contribs.org/bugzilla/sho
111  %patch5 -p1  %patch5 -p1
112  %patch6 -p1  %patch6 -p1
113  %patch7 -p1  %patch7 -p1
114    %patch8 -p1
115    %patch9 -p1
116    %patch10 -p1
117    %patch11 -p1
118    
119  %build  %build
120  perl createlinks  perl createlinks
# Line 102  perl createlinks Line 122  perl createlinks
122  %install  %install
123  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
124  (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)
125    chmod +x $RPM_BUILD_ROOT/usr/bin/runmailstats.sh
126  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
127  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
128    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed