You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

261 lines
9.3 KiB

9 years ago
%define version 0.2.29
11 years ago
%define release 1
13 years ago
%define name ipasserelle-groupware
11 years ago
%define debug_package %{nil}
13 years ago
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
11 years ago
Epoch: 9
13 years ago
Summary: iPasserelle Groupware module
Group: Networking/Daemons
License: GPLv3+
URL: http://www.ipasserelle.com
Source0: %{name}-%{version}.tar.gz
10 years ago
BuildRoot: BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13 years ago
BuildRequires: e-smith-devtools
BuildRequires: gcc
13 years ago
Requires: smeserver-release >= 8
Requires: e-smith-ldap >= 5.2.0-19
10 years ago
Requires: sogo >= 2.3.0
13 years ago
Requires: sogo-tool
Requires: sogo-activesync
13 years ago
Requires: sope49-gdl1-mysql
Requires: sogo-ealarms-notify
Requires: ipasserelle-base
Requires: memcached
Requires: ipasserelle-portal
Requires: smeserver-lemonldap-ng >= 0.2.6
Requires: smeserver-pam_cas
11 years ago
Requires: python-memcached
13 years ago
Obsoletes: smeserver-sogo
Provides: smeserver-sogo
%description
iPasserelle module for the groupware application.
Based on smeserver-sogo from nethesis
%changelog
9 years ago
* Mon Jun 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.2.29-1
- Set . as mailbox separator
10 years ago
* Wed Jun 3 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.28-1
- Upgrade DB schema for 2.3.0
10 years ago
* Wed Mar 25 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.27-1
- Allow cross site requests on dav resources
10 years ago
* Thu Mar 5 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.26-1
- Add a Authentication prop to choose between CAS or internal auth
- Update login page wox template
- Put logo_ipasserelle.png in the right directory on x86_64
10 years ago
* Wed Feb 18 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.25-1
- Allow EAS push
10 years ago
* Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.24-1
- Increase memcached duration to 2 hours
- Completly disable dovecot's negative cache
10 years ago
* Tue Feb 17 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.23-1
- Fix slow access when logged in from different browsers at the same time
10 years ago
* Wed Jan 21 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.22-1
- Dovecot ttls are in seconds
10 years ago
* Wed Jan 21 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.21-1
- Make dovecot's auth_cache last as long as sogo's memcached
10 years ago
* Wed Jan 7 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.2.20-1
- Enable dovecot auth_cache
- Enable IMAP pooling to reduce auth against dovecot
10 years ago
* Thu Sep 11 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.19-1
- Update refresh parameter for SOGo 2.2.8
11 years ago
* Wed Jun 25 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.18-1
- Use sogo-tool to expire sessions
11 years ago
* Tue Feb 25 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.2.17-1
- Add optional support for ActiveSync (default is disabled)
- Add a default reminder 15 minutes before appointments
- Fix an AliasMatch directive in httpd.conf template
11 years ago
* Fri Dec 20 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.16-1
- Remove EMailAlarm option
11 years ago
* Thu Dec 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.15-1
- Template /etc/sogo/sogo.conf instead of
/var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults
11 years ago
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.14-1
- New branch for SME9
11 years ago
* Mon Sep 30 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.13-1
- Increase Cache Cleanup interval
11 years ago
* Tue Sep 17 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.12-1
- Enable CAS authentication
11 years ago
* Fri Aug 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.11-1
- Revert previous change as it breaks folder management
12 years ago
* Fri Aug 23 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.10-1
- Use a dot instead of a slash as folder separator for sieve rules
12 years ago
* Thu Jun 13 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.9-1
- Use one worker for 8 users
12 years ago
* Thu Mar 28 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.8-1
- Link sogo-upgrade in bootstrap-console-save
12 years ago
* Fri Mar 15 2013 Daniel Berteaud <daniel@firewall-services.com> - 0.2.7-1
- Add a qpsmtpd plugin to fix SOGo headers case. See
http://sogo.nu/bugs/view.php?id=1047
- Cleanup database creation/privileges modifications
- use /var/lib/sogo instead of /home/sogo
- change shell of sogo to /sbin/nologin
12 years ago
* Fri Dec 28 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.6-1
- First week of year is the first 4 days week
12 years ago
* Wed Dec 19 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.5-1
- Add a popup blocker exception for Firefox via MCD (requires ipasserelle-gp)
12 years ago
* Wed Nov 28 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.4-1
- Remove user data from SOGo database on user removal
* Fri Sep 28 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.3-1
- Add support for /.well-known URL (iOS auto discover)
- Add SRV records for caldav and carddav services
* Tue Aug 28 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.2-2
- Requires memcached
* Fri Jun 22 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.2-1
- Fix 64bits detection
* Mon Jun 18 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.1-1
- 64bits compatibility
13 years ago
* Wed Mar 14 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.0-1.sme
- Migrate to git
* Wed Feb 15 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1-16.sme
- Purge old (default to 24h) sessions from database
- Use a unix socket to connect to memcached
* Tue Feb 14 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.1-15.sme
- Fix sogo-ealarm-notify path in cron job
* Fri Nov 18 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-14.sme
- Adjust number of prefork (1 for 15 users, 3 workers minimum)
- Enable sieve if available (smeserver-dovecot is needed for this)
- Change display name of LDAP address books
- Reorder configuration directives
- Split templates in separated files
- Requires sogo-tool
- Remove default forward mechanism as attached (go back to inline)
- Backup with sogo-tool
- Don't force access using $SystemName.$DomainName
- Set default charset to UTF8
- Remove Priority column
* Tue Nov 01 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-13.sme
- Compatibility with SOGo 1.3.9
* Fri Oct 07 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-12.sme
- Also apply the filter to group addressbook
* Thu Sep 01 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-11.sme
- Change SOGo spool path to /var/spool/sogo
* Mon Jun 20 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-10.sme
- FR locale corrections
* Thu Jun 09 2011 Daniel B. <daniel@firewall-services.com> - 0.1-9.sme
- Access restriction based on group membership
- Small panel to configure SOGo
- Replace SOGo logo with iPasserelle one on the login page
* Thu Apr 07 2011 Daniel B. <daniel@firewall-services.com> - 0.1-8.sme
- Templates /etc/sysconfig/sogo and default prefork to 5
* Fri Mar 25 2011 Daniel B. <daniel@firewall-services.com> - 0.1-7.sme
- Fix RewriteRules for SSL vhosts
* Fri Mar 25 2011 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
- RewriteRule to $SystemName.$DomainName
* Wed Mar 23 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
- Allow custom WebServerRessources folder
* Wed Mar 16 2011 Daniel B. <daniel@firewall-services.com> - 0.1-4.sme
- Rewrite /sogo to /SOGo (using a rewriterule)
* Wed Mar 16 2011 Daniel B. <daniel@firewall-services.com> - 0.1-3.sme
- Fix week number (first week of year)
* Mon Mar 14 2011 Daniel B. <daniel@firewall-services.com> - 0.1-2.sme
- Re-add x-webobjects-server-url (needed for images)
* Fri Feb 4 2011 Daniel B. <daniel@firewall-services.com> - 0.1-1.sme
- Fork from smeserver-sogo-0.5.3
- Add OCSSessionsFolderURL (compatibility with sogo-1.3.5)
- Add support for Apple CardDav
- Remove sogo-modify event (use email-update instead)
- Don't redirect to https://systemname.domainname/SOGo
- Prop to enable email alarms
- Prop to enable public access
- Prop to enable aux accounts
- Default to check messages every 10 min
- First day of week is monday
- Change default fwd mode to attached
%prep
%setup -q
%build
%{__mkdir_p} root/var/log/memcached-sogo
%{__mkdir_p} root/usr/share/SOGo/cgi-bin
13 years ago
perl ./createlinks
11 years ago
gcc -o cas-proxy-validate ./cas-proxy-validate.c $RPM_OPT_FLAGS
13 years ago
%install
rm -rf $RPM_BUILD_ROOT
rm -f %{name}-%{version}-filelist
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
11 years ago
install -p cas-proxy-validate $RPM_BUILD_ROOT/usr/share/SOGo/cgi-bin/
10 years ago
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/GNUstep/SOGo/WebServerResources/
install -p logo_ipasserelle.png $RPM_BUILD_ROOT%{_libdir}/GNUstep/SOGo/WebServerResources/logo_ipasserelle.png
13 years ago
%{__mkdir_p} $RPM_BUILD_ROOT/home/e-smith/db/sogo
/sbin/e-smith/genfilelist \
12 years ago
--dir /var/lib/sogo 'attr(0700,sogo,sogo)' \
--dir /var/lib/sogo/GNUstep 'attr(0755,sogo,sogo)' \
--dir /var/lib/sogo/GNUstep/Defaults 'attr(0755,sogo,sogo)' \
13 years ago
--dir /home/e-smith/db/sogo 'attr(0700, sogo, sogo)' \
--file /var/service/memcached-sogo/run 'attr(0755, root, root)' \
--file /var/service/memcached-sogo/log/run 'attr(0755, root, root)' \
--dir /var/log/memcached-sogo 'attr(0700, sogo, sogo)' \
--file /etc/cron.hourly/sogo-sessions 'attr(0755, root, root)' \
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate 'attr(4750, sogo, www)' \
11 years ago
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate.py 'attr(0755, sogo, www)' \
13 years ago
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
%files -f %{name}-%{version}-%{release}-filelist
%clean
rm -rf $RPM_BUILD_ROOT
%post
%postun