/[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.2 - (show annotations) (download)
Tue Apr 14 06:35:22 2020 UTC (4 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-mailstats-1_1-12_el7_sme
Changes since 1.1: +5 -2 lines
* Tue Apr 14 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-12.sme
- fix running on SME10  - add in perl-Switch require [SME:10923]

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

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