/[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.3 - (hide annotations) (download)
Thu Nov 12 17:24:43 2020 UTC (3 years, 6 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 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     Release: 1%{?dist}
5 brianr 1.1 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 jcrisp 1.3 BuildRequires: dovecot-pigeonhole
13 brianr 1.1
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 jcrisp 1.3 * 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 brianr 1.2
37 jcrisp 1.3 * 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 brianr 1.1
40     * Mon Jun 23 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
41 jcrisp 1.3 - Add missing /home/e-smith/db/dovecot dir
42 brianr 1.1 - 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 jcrisp 1.3 mkdir -p root/home/e-smith/files/public/{cur,new,tmp}
57 brianr 1.1
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 jcrisp 1.3 --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 brianr 1.1 --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 jcrisp 1.3 --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 brianr 1.1 > %{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