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

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

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


Revision 1.5 - (show annotations) (download)
Thu Dec 17 07:07:29 2020 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-mailstats-1_1-14_el7_sme
Changes since 1.4: +6 -2 lines
* Thu Dec 17 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-14.sme
- Add in perl-Switch as requirement [SME: 11044]

1 # $Id: smeserver-mailstats.spec,v 1.4 2020/10/19 11:37:35 brianr 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 %define release 14
10 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 Patch8: smeserver-mailstats-1.1-uninitialised-variable-on-no-data
24 Patch9: smeserver-mailstats-1.1-Clear-up-uninitialsed-use-of-lc.patch
25
26 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27 BuildArchitectures: noarch
28 Requires: smeserver-release => 9.0
29 Requires: qpsmtpd >= 0.96
30 BuildRequires: e-smith-devtools >= 1.13.1-03
31 Requires: perl-Switch
32
33 %description
34 A script that via cron.d e-mails mail statistics to admin on a daily basis.
35 See http://www.contribs.org/bugzilla/show_bug.cgi?id=819
36
37 %changelog
38 * Thu Dec 17 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-14.sme
39 - Add in perl-Switch as requirement [SME: 11044]
40
41 * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-13.sme
42 - More uninitialised data [SME: 11044]
43
44 * Thu Apr 16 2020 brian read <brianr@bjsystems.co.uk> 1.1-12.sme
45 - Sort out uninitialised variable on no data.
46
47 * Sun Jan 5 2020 brian read <brianr@bjsystems.co.uk> 1.1-11.sme
48 - [sme:10858][sme:10327] Sort out email truncate and generally cleanup code format and take out debug crud
49 - Also change perl script file name to mailstats.pl
50
51 * Fri Oct 18 2019 brian read <brianr@bjsystems.co.uk> 1.1-10.sme
52 - fix display of geoip [SME: 9888]
53
54 * Wed Oct 12 2016 brian read <brianr@bjsystems.co.uk> 1.1-9.sme
55 - [sme:9716][sme:9717] add email specific stats and enhance relay monitoring and add code for smeoptimizer
56
57 * Sun Jul 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-7.sme
58 - set Requires qpsmtpd >=0.96
59
60 * Sat Jul 02 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme
61 - make compatible with qpstmpd 0.96 and new plugins [SME: 9588]
62 - work in progress : html version of email
63 - code by Brian Read <brianr@bjsystems.co.uk>
64 - thanks to Michael Doerner for his extensive testing
65
66 * Sun Apr 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-5.sme
67 - account for all unknown qpsmtpd plugins [SME: 9434]
68 - extra for "unofficial" extra clamav signatures
69 - code by Brian Read <brianr@bjsystems.co.uk>
70 - (only small suggestions from JP Pialasse aka Unnilennium)
71
72 * Thu Jun 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4
73 - creates the "mailstats" user [SME: 8957]
74 - Fixed the problem with Spamassassin scores and tags.
75 - Also added Geoip league table [SME: 8656]
76 - code done by Brian Read <brianr@bjsystems.co.uk>
77
78 * Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3
79 - added a random cron job
80 - spamfilter-stats-7-update
81 - code done by Brian Read <brianr@bjsystems.co.uk> and John Crisp <jcrisp@safeandsoundit.co.uk>
82
83 * Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 1.1-1.sme
84 - initial import to SME9 contribs
85
86 * Mon Sep 23 2013 JP Pialasse <tests@pialasse.com> 1.1-4.sme
87 - uninitialized value in sprintf [SME: 4747]
88 - patch smeserver-mailstats-1.0-spamfilter.patch
89
90 * Sun Sep 09 2012 JP Pialasse <tests@pialasse.com> 1.1-2.sme
91 - fix Unexpected failure string in log file: auth::auth_cvm_unix_local see [SME 7089]
92
93 * Sat May 26 2012 Brian J read <brianr@bjsystems.co.uk> 1.0-1.sme
94 - Initial version
95
96 %prep
97 %setup
98 %patch0 -p1
99 %patch1 -p1
100 %patch2 -p1
101 %patch3 -p1
102 %patch4 -p1
103 %patch5 -p1
104 %patch6 -p1
105 %patch7 -p1
106 %patch8 -p1
107 %patch9 -p1
108
109 %build
110 perl createlinks
111
112 %install
113 /bin/rm -rf $RPM_BUILD_ROOT
114 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
115 /bin/rm -f %{name}-%{version}-filelist
116 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
117
118 %clean
119 /bin/rm -rf $RPM_BUILD_ROOT
120
121 %files -f %{name}-%{version}-filelist
122 %defattr(-,root,root)

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