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

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

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


Revision 1.8 - (hide annotations) (download)
Wed Feb 15 09:40:09 2023 UTC (21 months, 2 weeks ago) by brianr
Branch: MAIN
CVS Tags: smeserver-mailstats-1_1-17_el7_sme, HEAD
Changes since 1.7: +7 -2 lines
* Wed Feb 15 2023 Brian Read <brianr@bjsystems.co.uk> 1.1-17.sme
- Add-in-imap-authorisation-log-string [SME: 12327]

1 brianr 1.8 # $Id: smeserver-mailstats.spec,v 1.7 2021/04/02 11:11:44 brianr Exp $
2 brianr 1.1 # 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 brianr 1.8 %define release 17
10 brianr 1.1 Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: SME/addon
14     Source: %{name}-%{version}.tgz
15     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 brianr 1.3 Patch8: smeserver-mailstats-1.1-uninitialised-variable-on-no-data
24 brianr 1.4 Patch9: smeserver-mailstats-1.1-Clear-up-uninitialsed-use-of-lc.patch
25 brianr 1.6 Patch10:smeserver-mailstats-1.1-Add-Update-event-to-createlinks.patch
26 brianr 1.7 Patch11:smeserver-mailstats-1.1-Take-out-dot-in-cron-file-and-also-re-direct-errors-to-syslog.patch
27 brianr 1.8 Patch12:smeserver-mailstats-1.1-bz12327-Add-in-imap-authorisation-log-string.patch
28 brianr 1.1
29     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30     BuildArchitectures: noarch
31     Requires: smeserver-release => 9.0
32     Requires: qpsmtpd >= 0.96
33     BuildRequires: e-smith-devtools >= 1.13.1-03
34 brianr 1.5 Requires: perl-Switch
35 brianr 1.1
36     %description
37     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
39    
40     %changelog
41 brianr 1.8 * 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 brianr 1.7 * 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 brianr 1.6 * Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 1.1-15.sme
48     - Add Update event to createlinks [SME: 10923]
49    
50 brianr 1.5 * 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 brianr 1.4 * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-13.sme
54     - More uninitialised data [SME: 11044]
55 brianr 1.3
56     * Thu Apr 16 2020 brian read <brianr@bjsystems.co.uk> 1.1-12.sme
57     - Sort out uninitialised variable on no data.
58 brianr 1.1
59     * Sun Jan 5 2020 brian read <brianr@bjsystems.co.uk> 1.1-11.sme
60     - [sme:10858][sme:10327] Sort out email truncate and generally cleanup code format and take out debug crud
61     - 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
64 brianr 1.6 - Add Update event to createlinks display of geoip [SME: 9888]
65 brianr 1.1
66     * 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
68    
69     * Sun Jul 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-7.sme
70     - set Requires qpsmtpd >=0.96
71    
72     * Sat Jul 02 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme
73     - make compatible with qpstmpd 0.96 and new plugins [SME: 9588]
74     - work in progress : html version of email
75     - code by Brian Read <brianr@bjsystems.co.uk>
76     - thanks to Michael Doerner for his extensive testing
77    
78     * Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-5.sme
79     - account for all unknown qpsmtpd plugins [SME: 9434]
80     - extra for "unofficial" extra clamav signatures
81     - code by Brian Read <brianr@bjsystems.co.uk>
82     - (only small suggestions from JP Pialasse aka Unnilennium)
83    
84     * Thu Jun 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4
85     - creates the "mailstats" user [SME: 8957]
86     - Fixed the problem with Spamassassin scores and tags.
87     - Also added Geoip league table [SME: 8656]
88     - code done by Brian Read <brianr@bjsystems.co.uk>
89    
90     * Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3
91     - added a random cron job
92     - spamfilter-stats-7-update
93     - code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk>
94    
95     * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme
96     - initial import to SME9 contribs
97    
98     * Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme
99     - uninitialized value in sprintf [SME: 4747]
100     - patch smeserver-mailstats-1.0-spamfilter.patch
101    
102     * Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme
103 brianr 1.6 - Add Update event to createlinks Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089]
104 brianr 1.1
105     * Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme
106     - Initial version
107    
108     %prep
109     %setup
110     %patch0 -p1
111     %patch1 -p1
112     %patch2 -p1
113     %patch3 -p1
114     %patch4 -p1
115     %patch5 -p1
116     %patch6 -p1
117     %patch7 -p1
118 brianr 1.3 %patch8 -p1
119 brianr 1.4 %patch9 -p1
120 brianr 1.6 %patch10 -p1
121 brianr 1.7 %patch11 -p1
122 brianr 1.8 %patch12 -p1
123 brianr 1.1
124     %build
125     perl createlinks
126    
127     %install
128     /bin/rm -rf $RPM_BUILD_ROOT
129     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
130 brianr 1.7 chmod +x $RPM_BUILD_ROOT/usr/bin/runmailstats.sh
131 brianr 1.1 /bin/rm -f %{name}-%{version}-filelist
132     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
133    
134     %clean
135     /bin/rm -rf $RPM_BUILD_ROOT
136    
137     %files -f %{name}-%{version}-filelist
138     %defattr(-,root,root)

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