/[smecontribs]/rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras.spec
ViewVC logotype

Contents of /rpms/smeserver-dovecot-extras/contribs10/smeserver-dovecot-extras.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Tue Apr 6 14:36:21 2021 UTC (3 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-2_el7_sme
Changes since 1.3: +6 -2 lines
* Tue Apr 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme
- Add -update event to avoid reboot on install [SME: 11032]

1 Summary: Additional features for dovecot on SME Server
2 Name: smeserver-dovecot-extras
3 Version: 0.1.6
4 Release: 2%{?dist}
5 License: GPL
6 Group: Networking/Daemons
7 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
10 BuildArchitectures: noarch
11 BuildRequires: e-smith-devtools
12 BuildRequires: dovecot-pigeonhole
13
14 Requires: smeserver-dovecot
15 Requires: dovecot-pigeonhole
16 Requires: acl
17
18 %description
19 Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server
20
21 %changelog
22 * Tue Apr 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme
23 - 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
44 - Add missing /home/e-smith/db/dovecot dir
45 - Remove submission_host for sieve
46
47 * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1
48 - Use SMTP for sieve notifications
49
50 * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.0.1-1
51 - initial release
52
53 %prep
54 %setup -q -n %{name}-%{version}
55 %patch0 -p1
56
57 %build
58 perl createlinks
59 mkdir -p root/home/e-smith/db/dovecot
60 mkdir -p root/home/e-smith/files/public/{cur,new,tmp}
61
62 %install
63 /bin/rm -rf $RPM_BUILD_ROOT
64 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
65 /bin/rm -f %{name}-%{version}-filelist
66 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
67 --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)' \
73 --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
78
79 %files -f %{name}-%{version}-filelist
80 %defattr(-,root,root)
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %pre
86 /usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
87
88 %post
89 # Migrate the sharedmailbox dict to its new location
90 if [ -e /etc/dovecot/sharedmailbox/dict.db ]; then
91 mv -f /etc/dovecot/sharedmailbox/dict.db /home/e-smith/db/dovecot/sharedmailbox.db
92 rm -rf /etc/dovecot/sharedmailbox
93 fi
94
95 %preun
96

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed