/[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.3 - (show annotations) (download)
Thu Nov 12 17:24:43 2020 UTC (3 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-1_el7_sme
Changes since 1.2: +29 -13 lines
Initial import

1 Summary: Additional features for dovecot on SME Server
2 Name: smeserver-dovecot-extras
3 Version: 0.1.6
4 Release: 1%{?dist}
5 License: GPL
6 Group: Networking/Daemons
7 Source: %{name}-%{version}.tar.gz
8
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 * Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.6-1
23 - New build for Koozali SME v10
24 - exclude /us/bin dir
25
26 * Tue Mar 27 2018 Daniel Berteaud <daniel@firewall-services.com> 0.1.5-1
27 - Don't set default ACL for authenticated users (daniel@firewall-services.com)
28
29 * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1
30 - new package built with tito
31
32 * Thu Jun 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1
33 - Add support for public mailboxes (patch from John H. Bennett III
34 <bennettj@thebennetthome.com>)
35 - Ignore moves from junkmail to Éléments supprimés
36
37 * Mon Mar 6 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1
38 - Support spam learning by moving to/from junkmail or Junk
39
40 * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
41 - Add missing /home/e-smith/db/dovecot dir
42 - Remove submission_host for sieve
43
44 * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1
45 - Use SMTP for sieve notifications
46
47 * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.0.1-1
48 - initial release
49
50 %prep
51 %setup -q -n %{name}-%{version}
52
53 %build
54 perl createlinks
55 mkdir -p root/home/e-smith/db/dovecot
56 mkdir -p root/home/e-smith/files/public/{cur,new,tmp}
57
58 %install
59 /bin/rm -rf $RPM_BUILD_ROOT
60 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
61 /bin/rm -f %{name}-%{version}-filelist
62 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
63 --dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \
64 --dir /home/e-smith/files/public 'attr(2770,root,sharedmailbox)' \
65 --dir /home/e-smith/files/public/cur 'attr(2770,root,sharedmailbox)' \
66 --dir /home/e-smith/files/public/new 'attr(2770,root,sharedmailbox)' \
67 --dir /home/e-smith/files/public/tmp 'attr(2770,root,sharedmailbox)' \
68 --file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
69 --file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
70 --file /usr/libexec/dovecot/learn-spam.sh 'attr(0755,root,root)' \
71 --file /usr/libexec/dovecot/learn-ham.sh 'attr(0755,root,root)' \
72 --ignoredir /usr/bin \
73 > %{name}-%{version}-filelist
74
75 %files -f %{name}-%{version}-filelist
76 %defattr(-,root,root)
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %pre
82 /usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
83
84 %post
85 # Migrate the sharedmailbox dict to its new location
86 if [ -e /etc/dovecot/sharedmailbox/dict.db ]; then
87 mv -f /etc/dovecot/sharedmailbox/dict.db /home/e-smith/db/dovecot/sharedmailbox.db
88 rm -rf /etc/dovecot/sharedmailbox
89 fi
90
91 %preun
92

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