1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 12 |
%define release 14 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
16 |
Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch |
Patch2: smeserver-dovecot-1.6.0-bz10934-Ciphers-and-TLS.patch |
17 |
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
Patch3: smeserver-dovecot-1.6.0-bz9865-use-email-to-auth.patch |
18 |
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
Patch4: smeserver-dovecot-1.6.0-fix-createlinks-1.patch |
19 |
|
Patch5: smeserver-dovecot-1.6.0-bz11101-systemd.patch |
20 |
|
Patch6: smeserver-dovecot-1.6.0-bz10947-idle_notify.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-14.sme |
48 |
|
- add systemd drop-in expand in bootstrap-console-save, console-save, post-install, post-upgrade [SME: 11101] |
49 |
|
|
50 |
|
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme |
51 |
|
- move service to systemd [SME: 11101] |
52 |
|
- add imap idle notify interval setting [SME: 10947] |
53 |
|
|
54 |
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme |
* Mon May 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-12.sme |
55 |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
56 |
|
|
166 |
%patch2 -p1 |
%patch2 -p1 |
167 |
%patch3 -p1 |
%patch3 -p1 |
168 |
%patch4 -p1 |
%patch4 -p1 |
169 |
|
%patch5 -p1 |
170 |
|
rm -rf root/var/service |
171 |
|
mkdir -p root/etc/dovecot/ssl |
172 |
|
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
173 |
|
mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf |
174 |
|
%patch6 -p1 |
175 |
|
|
176 |
%build |
%build |
177 |
perl createlinks |
perl createlinks |
181 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
182 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
183 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
184 |
|
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
185 |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
186 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
187 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |