1 |
%define version 1.6.0 |
%define version 1.6.0 |
2 |
%define release 15 |
%define release 17 |
3 |
%define name smeserver-dovecot |
%define name smeserver-dovecot |
4 |
|
|
5 |
|
|
44 |
quota, ACL, extended logging, master user |
quota, ACL, extended logging, master user |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-17.sme |
48 |
|
- add Restart=always [SME: 11101] |
49 |
|
|
50 |
|
* Mon Dec 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-16.sme |
51 |
|
- fix path for event -update [SME: 11101] |
52 |
|
|
53 |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme |
* Tue Dec 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.6.0-15.sme |
54 |
- cleanup /var/service/dovecot [SME: 11101] |
- cleanup /var/service/dovecot [SME: 11101] |
55 |
close logger and service from previous runit instance before starting systemd one |
close logger and service from previous runit instance before starting systemd one |
192 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
193 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
194 |
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
--file /sbin/e-smith/systemd/dovecot-control 'attr(0554,root,root)'\ |
|
--file /var/service/dovecot/run 'attr(0755,root,root)' \ |
|
|
--file /var/service/dovecot/log/run 'attr(0755,root,root)' \ |
|
|
--file /var/service/dovecot/control/1 'attr(0755,root,root)' \ |
|
195 |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
--dir /var/log/dovecot 'attr(0750,smelog,smelog)' \ |
196 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
197 |
|
|
211 |
if [ -e /var/service/dovecot ] ; then |
if [ -e /var/service/dovecot ] ; then |
212 |
rm -rf /var/service/dovecot |
rm -rf /var/service/dovecot |
213 |
fi |
fi |
214 |
|
if [ -e /var/service/pop3 ] ; then |
215 |
|
rm -rf /var/service/pop3 |
216 |
|
fi |
217 |
|
if [ -e /var/service/pop3s ] ; then |
218 |
|
rm -rf /var/service/pop3s |
219 |
|
fi |
220 |
|
|
221 |
fi |
fi |
222 |
%post |
%post |