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

Annotation 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.6 - (hide annotations) (download)
Tue Jun 1 03:34:43 2021 UTC (2 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-4_el7_sme
Changes since 1.5: +7 -1 lines
* Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-4.sme
- move spamd entry to spamassassin [SME: 11551]

1 brianr 1.1 Summary: Additional features for dovecot on SME Server
2 jcrisp 1.3 Name: smeserver-dovecot-extras
3     Version: 0.1.6
4 jpp 1.6 Release: 4%{?dist}
5 brianr 1.1 License: GPL
6     Group: Networking/Daemons
7     Source: %{name}-%{version}.tar.gz
8 brianr 1.4 Patch0: smeserver-dovecot-extras-0.1.6-Add-update-event-to-createlinks.patch
9 brianr 1.5 Patch1: smeserver-dovecot-extras-0.1.6-Fix-sieve-compile.patch
10 jpp 1.6 Patch2: smeserver-dovecot-extras-0.1.6-bz11551.patch
11    
12 brianr 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13     BuildArchitectures: noarch
14     BuildRequires: e-smith-devtools
15 jcrisp 1.3 BuildRequires: dovecot-pigeonhole
16 brianr 1.1
17     Requires: smeserver-dovecot
18     Requires: dovecot-pigeonhole
19     Requires: acl
20    
21     %description
22     Add IMAP acl (sharedmailbox) and sieve capabilities to the IMAP server
23    
24     %changelog
25 jpp 1.6 * Mon May 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-4.sme
26     - move spamd entry to spamassassin [SME: 11551]
27    
28 brianr 1.5 * Wed Apr 07 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-3.sme
29     - fix up sieve compile depending on whether bayes is in use [SME: 11531]
30    
31 brianr 1.4 * Tue Apr 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.6-2.sme
32     - Add -update event to avoid reboot on install [SME: 11032]
33    
34 jcrisp 1.3 * Thu Nov 12 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1.6-1
35     - New build for Koozali SME v10
36     - exclude /us/bin dir
37    
38     * Tue Mar 27 2018 Daniel Berteaud <daniel@firewall-services.com> 0.1.5-1
39     - Don't set default ACL for authenticated users (daniel@firewall-services.com)
40    
41     * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1
42     - new package built with tito
43    
44     * Thu Jun 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1
45     - Add support for public mailboxes (patch from John H. Bennett III
46     <bennettj@thebennetthome.com>)
47     - Ignore moves from junkmail to Éléments supprimés
48 brianr 1.2
49 jcrisp 1.3 * Mon Mar 6 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1
50     - Support spam learning by moving to/from junkmail or Junk
51 brianr 1.1
52     * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
53 jcrisp 1.3 - Add missing /home/e-smith/db/dovecot dir
54 brianr 1.1 - Remove submission_host for sieve
55    
56     * Tue Oct 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.0.2-1
57     - Use SMTP for sieve notifications
58    
59     * Tue Nov 29 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.0.1-1
60     - initial release
61    
62     %prep
63     %setup -q -n %{name}-%{version}
64 brianr 1.4 %patch0 -p1
65 brianr 1.5 %patch1 -p1
66 jpp 1.6 %patch2 -p1
67 brianr 1.1
68     %build
69     perl createlinks
70     mkdir -p root/home/e-smith/db/dovecot
71 jcrisp 1.3 mkdir -p root/home/e-smith/files/public/{cur,new,tmp}
72 brianr 1.1
73     %install
74     /bin/rm -rf $RPM_BUILD_ROOT
75     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
76     /bin/rm -f %{name}-%{version}-filelist
77     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
78     --dir /home/e-smith/db/dovecot 'attr(2770,root,sharedmailbox)' \
79 jcrisp 1.3 --dir /home/e-smith/files/public 'attr(2770,root,sharedmailbox)' \
80     --dir /home/e-smith/files/public/cur 'attr(2770,root,sharedmailbox)' \
81     --dir /home/e-smith/files/public/new 'attr(2770,root,sharedmailbox)' \
82     --dir /home/e-smith/files/public/tmp 'attr(2770,root,sharedmailbox)' \
83 brianr 1.1 --file /home/e-smith/db/dovecot/sharedmailbox.db 'attr(0660,root,sharedmailbox) %config(noreplace)' \
84     --file /usr/bin/imap-postlogin 'attr(0755,root,root)' \
85 jcrisp 1.3 --file /usr/libexec/dovecot/learn-spam.sh 'attr(0755,root,root)' \
86     --file /usr/libexec/dovecot/learn-ham.sh 'attr(0755,root,root)' \
87     --ignoredir /usr/bin \
88 brianr 1.1 > %{name}-%{version}-filelist
89    
90     %files -f %{name}-%{version}-filelist
91     %defattr(-,root,root)
92    
93     %clean
94     rm -rf $RPM_BUILD_ROOT
95    
96     %pre
97     /usr/sbin/groupadd -g 439 sharedmailbox 2> /dev/null || :
98    
99     %post
100     # Migrate the sharedmailbox dict to its new location
101     if [ -e /etc/dovecot/sharedmailbox/dict.db ]; then
102     mv -f /etc/dovecot/sharedmailbox/dict.db /home/e-smith/db/dovecot/sharedmailbox.db
103     rm -rf /etc/dovecot/sharedmailbox
104     fi
105    
106     %preun
107    

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