|
%define version 0.1.1 |
|
|
%define release 2 |
|
|
%define name smeserver-dovecot-extras |
|
|
|
|
|
|
|
1 |
Summary: Additional features for dovecot on SME Server |
Summary: Additional features for dovecot on SME Server |
2 |
Name: %{name} |
Name: smeserver-dovecot-extras |
3 |
Version: %{version} |
Version: 0.1.6 |
4 |
Release: %{release}%{?dist} |
Release: 2%{?dist} |
5 |
License: GPL |
License: GPL |
6 |
Group: Networking/Daemons |
Group: Networking/Daemons |
7 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
8 |
|
Patch0: smeserver-dovecot-extras-0.1.6-Add-update-event-to-createlinks.patch |
9 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
10 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
11 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
12 |
|
BuildRequires: dovecot-pigeonhole |
13 |
|
|
14 |
Requires: smeserver-dovecot |
Requires: smeserver-dovecot |
15 |
Requires: dovecot-pigeonhole |
Requires: dovecot-pigeonhole |
19 |
Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
20 |
|
|
21 |
%changelog |
%changelog |
22 |
* Wed Sep 02 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1.1-2.sme |
* Tue Apr 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme |
23 |
- Initial release to contribs9 |
- Add -update event to avoid reboot on install [SME: 11032] |
24 |
|
|
25 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.6-1 |
26 |
|
- New build for Koozali SME v10 |
27 |
|
- exclude /us/bin dir |
28 |
|
|
29 |
|
* Tue Mar 27 2018 Daniel Berteaud <daniel@firewall-services.com> 0.1.5-1 |
30 |
|
- Don't set default ACL for authenticated users (daniel@firewall-services.com) |
31 |
|
|
32 |
|
* Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1 |
33 |
|
- new package built with tito |
34 |
|
|
35 |
|
* Thu Jun 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1 |
36 |
|
- Add support for public mailboxes (patch from John H. Bennett III |
37 |
|
<bennettj@thebennetthome.com>) |
38 |
|
- Ignore moves from junkmail to Éléments supprimés |
39 |
|
|
40 |
|
* Mon Mar 6 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1 |
41 |
|
- Support spam learning by moving to/from junkmail or Junk |
42 |
|
|
43 |
* Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
* Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1 |
44 |
- Add midding /home/e-smith/db/dovecot dir |
- Add missing /home/e-smith/db/dovecot dir |
45 |
- Remove submission_host for sieve |
- Remove submission_host for sieve |
46 |
|
|
47 |
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1 |
* Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1 |
52 |
|
|
53 |
%prep |
%prep |
54 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
55 |
|
%patch0 -p1 |
56 |
|
|
57 |
%build |
%build |
58 |
perl createlinks |
perl createlinks |
59 |
mkdir -p root/home/e-smith/db/dovecot |
mkdir -p root/home/e-smith/db/dovecot |
60 |
|
mkdir -p root/home/e-smith/files/public/{cur,new,tmp} |
61 |
|
|
62 |
%install |
%install |
63 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
65 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
66 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
67 |
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
68 |
|
--dir /home/e-smith/files/public 'attr(2770,root,sharedmailbox)' \ |
69 |
|
--dir /home/e-smith/files/public/cur 'attr(2770,root,sharedmailbox)' \ |
70 |
|
--dir /home/e-smith/files/public/new 'attr(2770,root,sharedmailbox)' \ |
71 |
|
--dir /home/e-smith/files/public/tmp 'attr(2770,root,sharedmailbox)' \ |
72 |
--file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \ |
--file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \ |
73 |
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ |
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ |
74 |
|
--file /usr/libexec/dovecot/learn-spam.sh 'attr(0755,root,root)' \ |
75 |
|
--file /usr/libexec/dovecot/learn-ham.sh 'attr(0755,root,root)' \ |
76 |
|
--ignoredir /usr/bin \ |
77 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
78 |
|
|
79 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |