/[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.9 - (show annotations) (download)
Tue Jul 26 02:21:12 2022 UTC (21 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-dovecot-extras-0_1_6-7_el7_sme
Changes since 1.8: +3 -5 lines
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.6-7.sme
- nothing to backup outside of core folders [SME: 12006]

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

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