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