|
%define version 0.1.1 |
|
|
%define release 3 |
|
|
%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: 5%{?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 |
|
Patch1: smeserver-dovecot-extras-0.1.6-Fix-sieve-compile.patch |
10 |
|
Patch2: smeserver-dovecot-extras-0.1.6-bz11551.patch |
11 |
|
Patch3: smeserver-dovecot-extras-0.1.6-bz12006-backup.patch |
12 |
|
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
16 |
|
BuildRequires: dovecot-pigeonhole |
17 |
|
|
18 |
Requires: smeserver-dovecot |
Requires: smeserver-dovecot |
19 |
Requires: dovecot-pigeonhole |
Requires: dovecot-pigeonhole |
23 |
Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
* Tue Oct 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-3.sme |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-5.sme |
27 |
- Initial Import to SME10 tree [SME: 11032] |
- add to core backup [SME: 12006] |
28 |
|
|
29 |
|
* Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-4.sme |
30 |
|
- move spamd entry to spamassassin [SME: 11551] |
31 |
|
|
32 |
|
* Wed Apr 07 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-3.sme |
33 |
|
- fix up sieve compile depending on whether bayes is in use [SME: 11531] |
34 |
|
|
35 |
|
* Tue Apr 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme |
36 |
|
- Add -update event to avoid reboot on install [SME: 11032] |
37 |
|
|
38 |
|
* Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.6-1 |
39 |
|
- New build for Koozali SME v10 |
40 |
|
- exclude /us/bin dir |
41 |
|
|
42 |
|
* Tue Mar 27 2018 Daniel Berteaud <daniel@firewall-services.com> 0.1.5-1 |
43 |
|
- Don't set default ACL for authenticated users (daniel@firewall-services.com) |
44 |
|
|
45 |
|
* Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1 |
46 |
|
- new package built with tito |
47 |
|
|
48 |
|
* Thu Jun 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1 |
49 |
|
- Add support for public mailboxes (patch from John H. Bennett III |
50 |
|
<bennettj@thebennetthome.com>) |
51 |
|
- Ignore moves from junkmail to Éléments supprimés |
52 |
|
|
53 |
* Wed Sep 02 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.1.1-2.sme |
* Mon Mar 6 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1 |
54 |
- Initial release to contribs9 |
- Support spam learning by moving to/from junkmail or Junk |
55 |
|
|
56 |
* 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 |
57 |
- Add midding /home/e-smith/db/dovecot dir |
- Add missing /home/e-smith/db/dovecot dir |
58 |
- Remove submission_host for sieve |
- Remove submission_host for sieve |
59 |
|
|
60 |
* 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 |
65 |
|
|
66 |
%prep |
%prep |
67 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
68 |
|
%patch0 -p1 |
69 |
|
%patch1 -p1 |
70 |
|
%patch2 -p1 |
71 |
|
%patch3 -p1 |
72 |
|
|
73 |
%build |
%build |
74 |
perl createlinks |
perl createlinks |
75 |
mkdir -p root/home/e-smith/db/dovecot |
mkdir -p root/home/e-smith/db/dovecot |
76 |
|
mkdir -p root/home/e-smith/files/public/{cur,new,tmp} |
77 |
|
|
78 |
%install |
%install |
79 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
81 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
82 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
83 |
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
--dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \ |
84 |
|
--dir /home/e-smith/files/public 'attr(2770,root,sharedmailbox)' \ |
85 |
|
--dir /home/e-smith/files/public/cur 'attr(2770,root,sharedmailbox)' \ |
86 |
|
--dir /home/e-smith/files/public/new 'attr(2770,root,sharedmailbox)' \ |
87 |
|
--dir /home/e-smith/files/public/tmp 'attr(2770,root,sharedmailbox)' \ |
88 |
--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)' \ |
89 |
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ |
--file /usr/bin/imap-postlogin 'attr(0755,root,root)' \ |
90 |
|
--file /usr/libexec/dovecot/learn-spam.sh 'attr(0755,root,root)' \ |
91 |
|
--file /usr/libexec/dovecot/learn-ham.sh 'attr(0755,root,root)' \ |
92 |
|
--ignoredir /usr/bin \ |
93 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
94 |
|
|
95 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |