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

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

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


Revision 1.24 - (show annotations) (download)
Mon Jan 11 18:20:48 2010 UTC (14 years, 4 months ago) by snetram
Branch: MAIN
Changes since 1.23: +6 -1 lines
* Mon Jan 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-14
- Fix stats when mails are received using TLS in reporting timeframe [SME: 5585]

1 # $Id: smeserver-mailstats.spec,v 1.23 2008/11/25 16:20:25 slords 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 0.0.3
9 %define release 13
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: SME/addon
14 Source: %{name}-%{version}.tar.gz
15 Patch1: smeserver-mailstats-0.0.3-bjrupdate01.patch
16 Patch2: smeserver-mailstats-0.0.3-bjrupdate02.patch
17 Patch3: smeserver-mailstats-0.0.3-bjrupdate03.patch
18 Patch4: smeserver-mailstats-0.0.3-bjrupdate04.patch
19 Patch5: smeserver-mailstats-0.0.3-reworkDateManip.patch
20 Patch6: smeserver-mailstats-0.0.3-removeChangelogFromScript.patch
21 Patch7: smeserver-mailstats-0.0.3-implementDBCreation.patch
22 Patch8: smeserver-mailstats-0.0.3-removeMySQLInstructions.patch
23 Patch9: smeserver-mailstats-0.0.3-addCreatelinks.patch
24 Patch10: smeserver-mailstats-0.0.3-addRunOrderSequence.patch
25 Patch11: smeserver-mailstats-0.0.3-fix-tls-stats.patch
26 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27 BuildArchitectures: noarch
28 Requires: smeserver-release => 7.0
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 * Mon Jan 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-14
37 - Fix stats when mails are received using TLS in reporting timeframe [SME: 5585]
38
39 * Mon Oct 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-13
40 - Add sequence number to init script to have the database creation
41 script execute as well [SME: 4275]
42
43 * Sun Oct 12 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-12
44 - Fix patches to apply cleanly [SME: 3631]
45 - Execute the database creation script as well [SME: 4275]
46
47 * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-11
48 - Implement MySQL database creation [SME: 4275]
49 - Remove changelog from spamfilter-stats script
50
51 * Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-10
52 - Remove debug commands introduced in [SME: 3631]
53 - Fixed version number in previous changelog entry
54
55 * Fri Oct 3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.3-9
56 - Remove use of Date::Manip from spamfilter-stats-7.pl [SME: 3631]
57
58 * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-8
59 - Another version number update (strugglinjg with CVS here)
60
61 * Mon Apr 28 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-7
62 - Update version number
63
64 * Sun Apr 27 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-6
65 - Fix up to enable disable SAreport and others [SME:3734]
66
67 * Fri Apr 11 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-5
68 - Fix up Db entries when none at all.[SME:4188]
69
70 * Thu Apr 3 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-4
71 - Take out extra lines in mailstats.cron and remove restart crond from
72 post actions in spec file, on Shad's advice.
73
74 * Tue Apr 1 2008 Brian J Read <brianr@bjsystems.co.uk> 0.0.3-3
75 - Add in restart of crond so that script in cron.d is noticed
76
77 * Tue Mar 25 2008 Brian J read <brianr@bjsystems.co.uk> 0.0.3-2
78 - New version incorporating Charlie's changes and latest changes from bjr [SME:3956]
79
80 * Fri Feb 15 2008 Shad L. Lords <slords@mail.com> 0.0.3-1
81 - Roll new version in prep for building on new buildsys
82
83 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-07
84 - Rename parse_args => analysis_period, and simplify substantially.
85
86 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-06
87 - Avoid re-opening config db all the time.
88
89 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-05
90 - Redo 1st of month bug fix. Expand all tabs to four spaces. [SME: 3366]
91
92 * Thu Oct 11 2007 <charlie_brady@mitel.com> 0.0.2-04
93 - Update spamfilter-stats-7.pl to Brian's 0.6.15 version. [SME: 3068]
94
95 * Mon Oct 1 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-03
96 - Fix 1st of month bug, and uninitialised value warning. [SME: 3366]
97
98 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-02
99 - Patch to update spamfilter-stats-7.pl to most recent verson that is
100 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
101
102 * Mon Sep 10 2007 Charlie Brady <charlie_brady@mitel.com> 0.0.2-01
103 - Repackaging Darrell's 0.0.1-2dmay as 0.0.2. After all this time Darrell
104 is still publishing multiple RPMs with tarballs with different content
105 with the same version number - grrrr!!! Odd, since he is the quoted author
106 of rpm-patch-howto.html.
107
108 * Thu Aug 23 2007 John H. Bennett III <bennettj@johnbennettservices.com> [0.0.1-2]
109 - Patch to update spamfilter-stats-7.pl to most recent verson that is
110 attached in bugzilla. http://bugs.contribs.org/show_bug.cgi?id=3068
111
112 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
113 - added db qpsmtpdLogLevel migrate fragment
114 - changed post commands being echoed
115 - [0.0.1-2dmay]
116 * Wed Apr 11 2007 Darrell May <dmay@myezserver.com>
117 - updated to use qpsmtpd logterse plugin
118 - [0.0.1-1dmay]
119 * Fri Oct 13 2006 Darrell May <dmay@myezserver.com>
120 - bundled into rpm
121 - [0.0.1-0dmay]
122
123 %prep
124
125 %setup
126 %patch1 -p1
127 %patch2 -p1
128 %patch3 -p1
129 %patch4 -p1
130 %patch5 -p1
131 %patch6 -p1
132 %patch7 -p1
133 %patch8 -p1
134 %patch9 -p1
135 %patch10 -p1
136 %patch11 -p1
137
138 %build
139 perl createlinks
140
141 %install
142 /bin/rm -rf $RPM_BUILD_ROOT
143 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
144 /bin/rm -f %{name}-%{version}-filelist
145 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
146
147 %clean
148 /bin/rm -rf $RPM_BUILD_ROOT
149
150 %files -f %{name}-%{version}-filelist
151 %defattr(-,root,root)

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