1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 12 |
%define release 13 |
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 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-13.sme |
47 |
|
- move service to systemd [SME: 11101] |
48 |
|
|
49 |
* 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 |
50 |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
- fix typo in enabling TLSv1.2 as default [SME: 10934] |
51 |
|
|
161 |
%patch2 -p1 |
%patch2 -p1 |
162 |
%patch3 -p1 |
%patch3 -p1 |
163 |
%patch4 -p1 |
%patch4 -p1 |
164 |
|
%patch5 -p1 |
165 |
|
rm -rf root/var/service |
166 |
|
mkdir -p root/etc/dovecot/ssl |
167 |
|
mkdir -p root/usr/lib/systemd/system/dovecot.service.d |
168 |
|
mkdir -p root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf |
169 |
|
|
170 |
%build |
%build |
171 |
perl createlinks |
perl createlinks |
175 |
(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) |
176 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
177 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
178 |
|
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
179 |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
180 |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
181 |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |