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

Contents of /rpms/smeserver-sogo/contribs10/smeserver-sogo.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sat Jan 7 09:00:14 2023 UTC (17 months, 3 weeks ago) by brianr
Branch: MAIN
Changes since 1.2: +2 -2 lines
* Sat Jan 07 2023 Brian Read <brianr@bjsystems.co.uk> - 1.6-1.sme
- Initial import to SME10 tree

1 # $Id$
2 %define name smeserver-sogo
3 %define version 1.6
4 %define release 1
5
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 Summary: SME Server SOGo Groupware
10 Group: Networking/Daemons
11 License: GPLv3+
12 URL: http://www.smeserver.org
13 Source0: %{name}-%{version}.tar.gz
14 BuildArch: noarch
15 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
16 Epoch: 9
17 BuildRequires: e-smith-devtools
18 Requires: smeserver-release >= 9
19 Requires: e-smith-ldap
20 Requires: sogo >= 2.3.0
21 Requires: sogo-tool
22 Requires: memcached
23 Requires: sogo-activesync
24 Requires: sope49-gdl1-mysql
25 Requires: sogo-ealarms-notify
26 Requires: python-memcached
27 Requires: smeserver-dovecot-extras
28 %description
29 SME Server module for SOGo groupware.
30
31 %prep
32 ##my bad to remove a bad folder if exists [1.3-6.sme]
33 /bin/rm -rf /var/service/tinydns/root/data/ &> /dev/null
34
35 %setup -q
36
37 %build
38 [ -x createlinks ] && ./createlinks
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 rm -f %{name}-%{version}-filelist
43
44 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
45
46 /sbin/e-smith/genfilelist \
47 --dir /var/lib/sogo/GNUstep 'attr(0755,sogo,sogo)' \
48 --dir /var/lib/sogo/GNUstep/Defaults 'attr(0755,sogo,sogo)' \
49 $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54
55 %post
56
57 if [ $1 == 1 ]; then #first install
58 /etc/e-smith/events/actions/initialize-default-databases &> /dev/null
59 /sbin/e-smith/expand-template \
60 /etc/e-smith/sql/init/30sogo_mysql_create_database
61 /sbin/e-smith/expand-template \
62 /etc/e-smith/sql/init/31sogo_mysql_update_privileges
63 /sbin/e-smith/expand-template \
64 /var/lib/sogo/smeserver/sogo_mysql_update_privileges.sql
65 /sbin/e-smith/expand-template \
66 /etc/e-smith/sql/init/31sogo_upgrade
67 /sbin/e-smith/expand-template \
68 /etc/e-smith/sql/init/32sogo_upgrade_2.3
69 /sbin/service mysql.init start
70 /sbin/e-smith/signal-event sogo-modify
71 elif [ $1 -gt 1 ]; then #update
72 /sbin/e-smith/expand-template \
73 /etc/e-smith/sql/init/31sogo_upgrade
74 /sbin/e-smith/expand-template \
75 /etc/e-smith/sql/init/32sogo_upgrade_2.3
76 /sbin/service mysql.init start
77 /etc/e-smith/events/actions/initialize-default-databases &> /dev/null || :
78 /sbin/e-smith/signal-event sogo-modify || :
79 fi
80
81 # set sogo password
82 /bin/cat /etc/openldap/ldap.pw | /usr/bin/passwd sogo --stdin &> /dev/null || :
83
84
85 %postun
86 if [ $1 = 1 ]; then
87 /etc/e-smith/events/actions/initialize-default-databases &> /dev/null || :
88 /sbin/e-smith/signal-event sogo-modify || :
89 fi
90
91
92
93 %files -f %{name}-%{version}-%{release}-filelist
94
95
96 %changelog
97 * Sat Jan 07 2023 Brian Read <brianr@bjsystems.co.uk> - 1.6-1.sme
98 - Initial import to SME10 tree
99
100 * Fri Apr 28 2017 Stephane de Labrusse <stephdl@de-labrusse.fr> - 1.5-1.sme
101 - Increase maximum IMAP command line length
102 - Adjusted sogo cron.d, sieve credentials are in /etc/sogo/sieve.creds
103
104 * Fri Mar 24 2017 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.4-2.sme
105 - Add custom settings to avoid battery drain when using active sync [SME: 10168]
106 - Thank to Michael McCarn <mmccarn-sme@mmsionline.us>
107 - the sogo.conf template is rewritten by fragments
108 - Correction of the backup creation [SME: 9908]
109 - Thank to Nicola Tiana <sistemi@chester-perry.it>
110
111 * Sun Jul 24 2016 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-19.sme
112 - remove the email of cron for expire-autoreply
113
114 * Sat Jan 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-18.sme
115 - the template-end is created in the sogo.conf to allow the end user to add his settings
116
117 * Wed Oct 7 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-17.sme
118 - /etc/e-smith/sql/init/32sogo_upgrade_2.3 is now executable
119 - actions sogo_upgrade_2.3 is rewritten, thank to daniel Berteaud
120
121 * Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-15.sme
122 - Added sogo-modify to mysql.init
123
124 * Wed Jul 8 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-14.sme
125 - Upgrade to sogo 2.3.0, alteration table needed
126 - thank to ian case <ianc@caseinfo.net>
127
128 * Sat Feb 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-12.sme
129 - Remove a sogo user when a SME Server user is removed
130
131 * Sat Feb 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-11.sme
132 - Fix the qpsmtpd fix_headers_case plugin
133
134 * Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-10.sme
135 - Added bindFields parameters to SOGoUserSources based on suggestion of Nicola Tiana in [SME: 7578]
136 - According to SOGo installation guide, the value of bindFields has to be in an array for recent version
137 - Thanks to Mats Schuh <m.schuh@neckargeo.net>
138
139 * Tue Dec 30 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-9.sme
140 - stop cron email confirmation to the sogo user account [SME: 8756]
141 - code done by Mats Schuh <m.schuh@neckargeo.net>
142
143 * Mon Dec 29 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-8.sme
144 - Sogo must be an admin of dovecot for expire-autoreply [SME: 8753]
145 - Thanks to Mats Schuh <m.schuh@neckargeo.net>
146
147 * Sat Nov 01 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-7.sme
148 - removed a bad file 80srvSOGo in the template path of /var/service/tinydns/root/data
149 - added restart and event-template to tinydns with sogo-modify
150
151 * Sun Sep 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-5.sme
152 - SOGoMailMessageCheck has been replaced by SOGoRefreshViewCheck
153
154 * Sun Aug 31 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-4.sme
155 - Added . separator for imap, instead of / by default
156
157 * Sun Aug 17 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.3-3.sme
158 - a bit of clean and new code inspired from ipasserelle-groupware. Thanks to daniel berteaud <daniel@firewall-services.com>
159 - added sieve and acl support (come with smeserver-dovecot-extras)
160 - added a panel in the server-manager with options
161 - added active-sync support
162 - added sogo notifications
163
164
165 * Thu May 08 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.1-2
166 - First release For SME Server 9 Thanks for all previous valorous developers
167 - removed expand-template for bootstrap-console-save in createlink
168 - added an architecture detection for template the file
169 - /etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess
170
171 * Wed Dec 11 2013 Davide Principi <davide.principi@nethesis.it> - 1.0.1-1
172 - Fixed sogo.conf syntax. Refs #2339
173
174 * Mon Dec 9 2013 Davide Principi <davide.principi@nethesis.it> - 1.0.0-1
175 - Release 1.0.0. Refs #2339
176 - Require sogo >= 2.1.1b-1
177
178 * Mon Dec 9 2013 Davide Principi <davide.principi@nethesis.it> - 0.9.1-1
179 - Release 0.9.1
180 - Fixes bug #2372
181
182 * Mon Dec 2 2013 Davide Principi <davide.principi@nethesis.it> - 0.9-1
183 - sogo home directory moved to /var/lib/sogo to fix #2369
184
185 * Fri Apr 26 2013 Davide Principi <davide.principi@nethesis.it> - 0.8-2
186 - Create symlink to new SOGo 2.0.x homedir, to support fresh installations
187
188 * Thu Oct 18 2012 Giacomo Sanchiettti <giacomo.sanchietti@nethesis.it> - 0.8-1
189 - Add support for vacation auto-disable feature
190 - Add memcached requires (previously on sogo package)
191
192 * Fri Sep 14 2012 Alessio Fattorini <alessio.fattorini@nethesis.it> - 0.7-1
193 - Enable notification for calendar modifications (refs #1398)
194 - Customize From header (refs #1339)
195 - Support SharedFolder (refs #1432)
196
197 * Fri Mar 9 2012 Alessio Fattorini <alessio.fattorini@nethesis.it> - 0.6.1
198 - Removed bindFields (bug #845)
199 - Fixed backup by sogo-tool (bug #839)
200 - Upgrade SOGo db to 1.3.12
201
202 * Wed Nov 30 2011 Alessio Fattorini <alessio.fattorini@nethesis.it> - 0.6
203 - change GNUstep path
204
205 * Wed Sep 7 2011 Alessio Fattorini <alessio.fattorini@nethesis.it> - 0.5.9-2
206 - Add CardDAV external access (bug #423)
207
208 * Wed Jul 20 2011 Alessio Fattorini <alessio.fattorini@nethesis.it> - 0.5.9-1
209 - Disable sieve support for NethService 8.0
210 - Correct postun
211
212 * Mon May 16 2011 Giacomo Sanchietti <giacomo@nethesis.it> - 0.5.8-1
213 - Add sieve support
214 - Add configurable prefork option
215 - Enable session folders
216 - Update to SOGo 1.3.4
217
218 * Thu Aug 5 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.6-1
219 - add configurable option for ACLsSendEMailNotifications
220 - add EnablePublicAccess
221 - change MailingMechanism to SMTP
222 - redirect http requests for sogo to SOGo
223
224 * Mon Aug 2 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.5-1
225 - upgrade to sogo 1.3.0
226
227 * Tue Mar 30 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.4-1
228 - escape curly brackets in sogo logrotate template
229
230 * Fri Mar 19 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.3-1
231 - add logrotate for sogo log files
232 - nethesis smesetup (post/postun) scripts
233
234 * Tue Mar 16 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.2-2
235 - rej files cleanup
236
237 * Tue Mar 16 2010 Daniel Berteaud <daniel@firewall-services.com> - 0.5.2-1
238 - enable groups for ACL
239 - configure admin users from the db
240 - disable bogus notifications (acl and folders)
241 - configure sent and draft imap folders from DB
242 - redirect webmail when imp is disabled (Stephen Noble)
243 - proxypass port from the db (Federico Simoncelli)
244
245 * Fri Mar 12 2010 Daniel Berteaud <daniel@firewall-services.com> - 0.5.1-1
246 - anonymous bind is sufficient to authenticate users
247 - limit sogo daemon bind to the loopback interface
248 - SOGo protected with SSL
249 - memcached bind to loopback, port from TCPPort
250 - templates expansion from post-upgrade to bootstrap-console-save
251 - read the ldap port from db
252 - split the local ldap directory in two parts: users and groups
253 - notifications sent by email will have the correct URL
254
255 * Thu Feb 18 2010 Federico Simoncelli <federico@nethesis.it> - 0.5.0-1
256 - first release
257
258

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