Commit graph

138 commits

Author SHA1 Message Date
Francis Lachapelle 7222e5a36a Remove dependency on tmpwatch and tmpreaper 2018-05-03 15:28:17 -04:00
Ludovic Marcotte b73e65ebeb (fix) disabled OC packaging 2018-01-09 19:08:30 -05:00
Zhang Huangbin 7d38a48f68 Create directories with 077X
Create directories with 077X. If we run 2 SOGo instances by following official tutorial[1], the second SOGo instance cannot start due to no permission to write pid file or log file.

[1] https://sogo.nu/nc/support/faq/article/dedicated-separate-sogo-instance-for-activesync.html
2017-03-22 14:11:42 +08:00
Patrice Levesque 5983c5cf4d Fix sogo system user creation (extra)
Missing file in commit 9dcc25abc5
2016-06-06 10:33:49 -04:00
Wayne A. Ptaff 9dcc25abc5 Fix sogo system user creation 2016-06-03 10:35:40 -04:00
Patrice Levesque c46a5f8df7 Ensure 'sogo' UNIX group exists at installation
Previous logic only checked for user existence.
2016-05-30 11:40:25 -04:00
Ludovic Marcotte 0e57e3b571 (fix) enable SAML2 support on CentOS 7 2016-05-20 11:11:13 -04:00
Patrice Levesque f36570fb90 Add missing EOF that got lost somewhere 2016-04-13 09:41:05 -04:00
Patrice Levesque 117af61609 Port two recent debian packaging commits to debian-multiarch
Add a post-install/upgrade note on DB schema upgrade.
commit 9d7a21883a

Make example scripts in documentation executable.
commit 1f029c9c70
2016-04-12 13:18:22 -04:00
Patrice Levesque 9d7a21883a Add a post-install/upgrade note on DB schema upgrade. 2016-04-11 17:07:47 -04:00
Patrice Levesque e88ce682f3 Make example scripts in documentation executable (RHEL).
Addresses bug #3053 at http://sogo.nu/bugs/view.php?id=3053
2016-04-11 14:23:02 -04:00
Patrice Levesque 1f029c9c70 Make example scripts in documentation executable.
Addresses bug #3053 at http://sogo.nu/bugs/view.php?id=3053
2016-04-11 11:30:23 -04:00
Ludovic Marcotte b9462ed86d (fix) adjust doc and packaging regarding oc cleanup script 2015-11-25 10:57:16 -05:00
Ludovic Marcotte 8cb19546df (fix) improve spec file regarding disabling OC build 2015-09-14 11:06:18 -04:00
Ludovic Marcotte 7290fa2ea2 (fix) disable oc builds on el6 for now 2015-09-10 19:45:59 -04:00
Ludovic Marcotte 18a0422367 (fix) wrong filename for chmod 2015-06-02 09:03:34 -04:00
Ludovic Marcotte 2f533f6dae (fix) create ${RPM_BUILD_ROOT}/etc/tmpfiles.d/ if not present (test) 2015-06-02 09:00:21 -04:00
Ludovic Marcotte 4df323eddb (fix) fixed the target path and name 2015-06-02 08:46:17 -04:00
Ludovic Marcotte 9435a22905 (fix) added tmpfs systemd script 2015-06-02 08:41:53 -04:00
Ludovic Marcotte c95568373f Added control file for i386/i686 distro to not build OC 2015-05-28 11:29:44 -04:00
Gilles Gagniard bea9b26907 systemd needs to reload the newly installed sogod.service, otherwise enable/start will fail on first sogo installation 2015-05-26 22:55:14 +02:00
Ludovic Marcotte 79bfc7aedf (fix) more rhel7 fix 2015-05-20 14:27:57 -04:00
Ludovic Marcotte 54ab0bf822 (fix) rhel7 packaging fix 2015-05-20 14:24:02 -04:00
Ludovic Marcotte 143ee59f5b Improved debian packaging regarding apache 2.2 -> 2.4 2015-05-15 09:38:58 -04:00
Ludovic Marcotte d97813451e (fix) moved stuff to multiarch 2015-05-13 16:09:41 -04:00
Ludovic Marcotte 4de814c3b2 (fix) first pass (and hopefully only) at Apache 2.2->2.4 mess 2015-05-13 15:48:47 -04:00
Ludovic Marcotte d0c1737b1b Removed TODO refs 2015-04-17 14:09:51 -04:00
Ludovic Marcotte 77917780c8 (fix) packaging issue on RHEL 2015-04-01 08:46:46 -04:00
peruchi 06ef3fe856 Delete sogo-systemd-redhat.spec 2015-03-31 14:37:35 -03:00
peruchi c9ec636a53 Update sogo.spec 2015-03-31 14:36:04 -03:00
peruchi 784f0100e9 Create sogo-systemd-redhat.spec 2015-03-31 14:18:23 -03:00
Ludovic Marcotte 9ffa32eebd Enable SAML support on all Debian-based distro 2014-11-30 17:35:39 -05:00
Ludovic Marcotte 8e1dc0ecb0 Typo in previous commit 2014-11-12 12:56:34 -05:00
Ludovic Marcotte 715999edc8 Avoid compilation failures on non-RHEL 7 distros 2014-11-12 12:54:07 -05:00
Ludovic Marcotte c159d5461b disable rpm-check-build for now 2014-11-12 10:02:04 -05:00
Ludovic Marcotte 5284b57340 More EL7 fixes 2014-11-10 16:19:10 -05:00
Ludovic Marcotte d8e6447fcc More disable lasso 2014-11-10 16:17:06 -05:00
Ludovic Marcotte cb8b0b028e Disable lasso for RHEL7 for now 2014-11-10 16:15:05 -05:00
Francis Lachapelle df648c9204 Add 'zip' to packages dependencies
Fixes #2963
2014-11-10 13:51:38 -05:00
Ludovic Marcotte c43ad37850 Disable OpenChange for now on RHEL 7 2014-10-15 15:21:20 -04:00
Ludovic Marcotte 096a0ef8e4 Disabled openchange builds on all i386 arch 2014-10-15 11:35:59 -04:00
Ludovic Marcotte 81ff6bebfe Removed dependancies when openchange is disabled 2014-10-14 09:02:15 -04:00
Ludovic Marcotte 1a8aa5a587 Fixed spec file to not build sogo-openchange if disabled 2014-10-14 09:00:14 -04:00
Ludovic Marcotte f1919d10ed Flag for conditional openchange build 2014-10-08 09:35:50 -04:00
Ludovic Marcotte 3e2de9701c Fixes 2014-10-08 09:29:08 -04:00
Ludovic Marcotte 435ebb9eb4 Fixes 2014-10-08 09:25:40 -04:00
Ludovic Marcotte ab9ba66b36 More fixes 2014-10-08 09:22:14 -04:00
Ludovic Marcotte 29295f93c5 Fixed again the spec file 2014-10-08 09:17:26 -04:00
Ludovic Marcotte 20e0cd6234 Fixed RHEL packaging with lib move to "sogo" app directory 2014-10-08 09:10:02 -04:00
Ludovic Marcotte e3837188fd Updated spec file for SOGo's private libraries move 2014-10-06 14:45:30 -04:00
Ludovic Marcotte 51ed371796 Adjusted debian install files regarding sogo lib move 2014-10-02 10:21:36 -04:00
Ludovic Marcotte b05fcc7d82 Fat commit to refactor the quick record generation 2014-07-30 14:51:00 -04:00
Francis Lachapelle ad30df26af Preparation for release 2.2.5 2014-06-05 13:34:40 -04:00
Francis Lachapelle f0a29d3ca2 Fix debian dependencies for sogo-activesync 2014-02-17 15:05:31 -05:00
Jean Raby 65276f7dc0 Add dependency on tmpwatch. The cronjob uses it.
Fixes #2577
2014-01-15 16:37:24 -05:00
Jean Raby 24663682d6 New package: sogo-activesync + sogo-tool fixes
Added dependency on sogo = %version for sogo-tool
2014-01-15 12:08:29 -05:00
Jean Raby 57cd315f2a explicitly list all *.SOGo folders
Otherwise, ActiveSync.SOGo would be listed twice, once in sogo-activesync and
once in sogo.
2014-01-15 11:07:14 -05:00
Jean Raby 1ed41e2831 New deb package: sogo-activesync 2014-01-14 14:39:51 -05:00
Jean Raby 3cce9b2012 Fix file permissions 2013-09-30 09:39:29 -04:00
Jean Raby df42ab2a46 Run 3 sogod process by default instead on only 1 2013-09-09 10:07:07 -04:00
Jean Raby dceead3997 Fixup sogo spool cleanup cronjob
Add -user sogo to be on the safe side.
Change call to /bin/rmdir by -delete to avoid error messages.
Find would call rmdir and then do an openat() on the deleted directory,
which would obviously fail.

Fixes #2372
2013-09-03 09:59:01 -04:00
Jean Raby 82253e91d2 don't use -M when creating the sogo user on debian
-M was not available in lenny. It is not actually needed since useradd
won't create the homedir when adding a system user (-r)
2013-05-24 15:00:05 -04:00
Jean Raby a53c66e8a4 Install openchange_user_cleanup in usr/sbin/
Instead of usr/share/doc/sogo/
2013-04-18 14:35:56 -04:00
Jean Raby dfb8788270 don't build SAML support on debian yet 2013-04-11 10:37:34 -04:00
Jean Raby 3810833e1b remove unrtf leftovers 2013-04-11 10:22:28 -04:00
Jean Raby 01f20a42ad packaging fixups 2013-04-11 09:18:43 -04:00
Jean Raby d2dda86529 ... dir fixup again 2013-04-10 16:30:16 -04:00
Jean Raby cc125d2192 directory fixup 2013-04-10 16:27:03 -04:00
Jean Raby 4da1e41d93 deb: install a sample sogo.conf in /etc/sogo
While there, replace mkdir + cp combo with 'install'
2013-04-10 16:20:47 -04:00
Jean Raby e24eb10c4f rpm: install a sample sogo.conf in /etc/sogo 2013-04-10 16:20:16 -04:00
Jean Raby 9fb9f2cae6 Enable saml2 support on squeeze (temporary fix) 2013-03-20 11:51:37 -04:00
Jean Raby caf6f0ec6c Add example apache configuration for apple AB 2013-02-11 10:41:50 -05:00
Jean Raby 8d9cfdb3b4 Use 'sogo' group instead of 'adm' in init script
This matches what the package preinst script does.
2013-01-22 13:32:57 -05:00
Jean Raby 884dd7448c Rewrite useradd for debian packages
Add the sogo user as a system user
Create and/or fix the permissions/ownership of various directories when
installing or upgrading the package.
2013-01-22 13:29:30 -05:00
Jean Raby 3cd7beb93d whitespace (tabkill) 2013-01-22 13:29:16 -05:00
Jean Raby 790a0536bc whitespace (tabkill) 2013-01-22 13:27:13 -05:00
Jean Raby 721472d38e spec: sogo user as a system user, perms fixes
Create the sogo user as a system user
Use %attr() to set directory permissions instead of chown/chmod
Use more restrictive permissions for the log and spool directories
2013-01-22 10:16:15 -05:00
Jean Raby ac5c2b611a rhel: create the sogo user as a system user
Fixes #1470
2013-01-21 15:38:24 -05:00
Jean Raby cd0244883d deb pkgs recommends 'memcached'. RPMs requires it
Fixes #2016
This means that memcached will always be installed along with sogo.
(Even if it could run on another machine/cluster like database services)
2013-01-03 15:53:58 -05:00
Ludovic Marcotte 3606601c39 Fix for bug #2130 2012-12-05 08:51:55 -05:00
Jean Raby 48b6cbcf0c Add missing dependency on lasso and lasso-devel 2012-11-12 09:56:22 -05:00
Jean Raby ca568ec5b5 Disable SAML2 on RHEL5 - its glib2 is prehistoric 2012-11-05 15:31:48 -05:00
Jean Raby 9edab5ee4a Enable saml2 in rpms 2012-11-02 11:24:55 -04:00
Jean Raby b5b9eecce1 exclude .py and .sh files from being compressed by dh_compress
Monotone-Parent: 631650bf7e67489a8bf42e8edf637b07f298ec39
Monotone-Revision: adcbde36428e7bc286173eed54c027092d9116bf

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-09-05T17:13:31
Monotone-Branch: ca.inverse.sogo
2012-09-05 17:13:31 +00:00
Jean Raby 766b0a1dfb * Scripts/openchange_cleanup.py:
New script to clean an openchange user profile
  * packaging/*:
    install the new script.
    Including a small tweak for python2.6 on rhel5

Monotone-Parent: 62e7b3488d4ad08a0899f6a8ce833621b1476f8c
Monotone-Revision: 2d2ee6b01c8bc748013e83a629b2cc184404a017

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-28T14:38:52
Monotone-Branch: ca.inverse.sogo
2012-08-28 14:38:52 +00:00
Jean Raby a0874e8562 add sogo-openchange package contents on debian.
Monotone-Parent: 4280fb032373c8ebfdcc67e2e271b47583c31ec3
Monotone-Revision: b2c6832ba400b4bb228726fbd0e791d2ce796007

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-02T17:45:36
Monotone-Branch: ca.inverse.sogo
2012-08-02 17:45:36 +00:00
Jean Raby 85c555ab1f propagate from branch 'ca.inverse.sogo.1_3_18' (head d538a70c8651aa1849c88eedda7782a21b41b591)
to branch 'ca.inverse.sogo' (head 43364d6242db2d8b6496cce2c7905d9468fafa41)

Monotone-Parent: 43364d6242db2d8b6496cce2c7905d9468fafa41
Monotone-Parent: d538a70c8651aa1849c88eedda7782a21b41b591
Monotone-Revision: 4280fb032373c8ebfdcc67e2e271b47583c31ec3

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-02T17:40:32
Monotone-Branch: ca.inverse.sogo
2012-08-02 17:40:32 +00:00
Jean Raby c36eafc69c Move packaging stuff to its own subdirectory
Monotone-Parent: 0a2787d6259826c9137c4fbee005b7cf638fa317
Monotone-Revision: d538a70c8651aa1849c88eedda7782a21b41b591

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-02T17:40:27
2012-08-02 17:40:27 +00:00