/[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.8 - (hide annotations) (download)
Tue Jul 26 02:18:12 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-6_el7_sme
Changes since 1.7: +4 -1 lines
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-6.sme
- fix typo [SME: 12006]

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

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