1 |
# $Id: smeserver-sme9admin.spec,v 1.4 2013/12/30 06:47:01 unnilennium Exp $ |
# $Id: smeserver-sme9admin.spec,v 1.15 2017/12/02 06:29:11 cvsuser Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
# |
# |
7 |
%define name smeserver-sme9admin |
%define name smeserver-sme9admin |
8 |
Name: %{name} |
Name: %{name} |
9 |
%define version 1.5 |
%define version 1.5 |
10 |
%define release 15 |
%define release 29 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
|
Patch0: smeserver-sme9admin-1.5-bz9725-email.patch |
17 |
|
Patch1: smeserver-sme9admin-1.5-bz8399-traffic.patch |
18 |
|
Patch2: smeserver-sme9admin-1.5-bz8818-email_accounting.patch |
19 |
|
Patch3: smeserver-sme9admin-1.5-locale-2016-12-18.patch |
20 |
|
Patch4: smeserver-sme9admin-1.5-bz9894-utf8.patch |
21 |
|
Patch5: smeserver-sme9admin-1.5-locale-2016-12-20.patch |
22 |
|
Patch6: smeserver-sme9admin-1.5-bz9886-bz9889-warnings.patch |
23 |
|
Patch7: smeserver-sme9admin-1.5-locale-2017-02-02.patch |
24 |
|
Patch8: smeserver-sme9admin-1.5-locale-2017-03-26.patch |
25 |
|
Patch9: smeserver-sme9admin-1.5.bz10181.sme8adminmigration.patch |
26 |
|
Patch10: smeserver-sme9admin-1.5-bz10409-altqmail.patch |
27 |
|
Patch11: smeserver-sme9admin-1.5-locale-2017-12-02.patch |
28 |
|
Patch12: smeserver-sme9admin-1.5.bz7683-stop-on-mysql-error.patch |
29 |
|
|
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
AutoReqProv: no |
AutoReqProv: no |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
* Tue Jun 16 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-15.sme |
* Mon Sep 09 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-29.sme |
49 |
- first commit to smecontribs |
- fix sme9admind die on mysql connection error [SME: 7683] |
50 |
|
|
51 |
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.5-28.sme |
52 |
|
- apply locale 2017-12-02 patch |
53 |
|
|
54 |
|
* Mon Aug 14 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-27.sme |
55 |
|
- add support for altqmail [SME: 10409] |
56 |
|
|
57 |
|
* Mon Jul 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-26.sme |
58 |
|
- fix error after migrating sme8admin db, unable to access mysql db [SME: 10181] |
59 |
|
|
60 |
|
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-25.sme |
61 |
|
- apply locale 2017-03-26 patch |
62 |
|
|
63 |
|
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-24.sme |
64 |
|
- apply locale 2017-02-02.patch |
65 |
|
|
66 |
|
* Sun Jan 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-23.sme |
67 |
|
- fix warning related to raid detection code [SME: 9886] |
68 |
|
- fix warning related to non existing services removed sinces previous versions [SME: 9889] |
69 |
|
|
70 |
|
* Tue Dec 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-22.sme |
71 |
|
- make CGI and pictures utf8 compliant [SME: 9894] |
72 |
|
- apply smeserver-sme9admin-1.5-locale-2016-12-20.patch |
73 |
|
|
74 |
|
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-21.sme |
75 |
|
- locals smeserver-sme9admin-1.5-locale-2016-12-18.patch |
76 |
|
|
77 |
|
* Sat Dec 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-20.sme |
78 |
|
- fix last patch by adding path to called programs |
79 |
|
|
80 |
|
* Thu Dec 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-19.sme |
81 |
|
- fix bad accounting for incoming and outgoing mail [SME: 8818] |
82 |
|
- mail_in alert now account for all queued emails from qpsmtpd and sqpsmtpd |
83 |
|
- mail_out alert now account for qmail total remote delivery attempts |
84 |
|
- known issue : on first run will account more than 5 minutes ( whole log) and will alert for exceeding amount |
85 |
|
- added accounting of qpsmtpd and sqpsmtpd code |
86 |
|
- TODO: alert on qmail queue too high, alert on too many qpsmtpd connections |
87 |
|
|
88 |
|
* Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-18.sme |
89 |
|
- fix limited size in mysql fields for traffic accounting [SME: 8399] |
90 |
|
|
91 |
|
* Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.5-16.sme |
92 |
|
- add more verbose email alert [SME: 9725] |
93 |
|
|
94 |
|
* Fri Aug 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.5-15.sme |
95 |
|
- Initial release to contribs9 |
96 |
|
|
97 |
* Wed Dec 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-14.sme |
* Wed Dec 24 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.5-14.sme |
98 |
- changed $mypid = `cat $mypid` by open(FIC,"<$mypid") [SME:8740] |
- changed $mypid = `cat $mypid` by open(FIC,"<$mypid") [SME:8740] |
157 |
|
|
158 |
%prep |
%prep |
159 |
%setup |
%setup |
160 |
|
%patch0 -p1 |
161 |
|
%patch1 -p1 |
162 |
|
%patch2 -p1 |
163 |
|
%patch3 -p1 |
164 |
|
%patch4 -p1 |
165 |
|
%patch5 -p1 |
166 |
|
%patch6 -p1 |
167 |
|
%patch7 -p1 |
168 |
|
%patch8 -p1 |
169 |
|
%patch9 -p1 |
170 |
|
%patch10 -p1 |
171 |
|
%patch11 -p1 |
172 |
|
%patch12 -p1 |
173 |
|
|
174 |
%build |
%build |
175 |
perl createlinks |
perl createlinks |
187 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
188 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
189 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
190 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
191 |
|
|grep -v '/etc/e-smith/sql/init/sme9admin'\ |
192 |
|
|grep -v '/usr/bin/sme9admind'\ |
193 |
|
|grep -v '/usr/share/doc/smeserver-sme9admin/add_ds_to_rrd.pl'> %{name}-%{version}-filelist |
194 |
|
|
195 |
%clean |
%clean |
196 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |