Commit 724cee92 authored by David Edwards's avatar David Edwards
Browse files

Move d-push support into own meta-package, so as not to pull in unwanted gubbins

parent d535c79b
#
# Add in an alias for d-push
#
Alias /Microsoft-Server-ActiveSync /usr/share/d-push/index.php
......@@ -10,8 +10,8 @@ XS-Ruby-Versions: all
Package: symbiosis-email
Architecture: all
Pre-Depends: dpkg (>= 1.15.7.2)
Depends: symbiosis-common (>= 2014:0113), exim4-daemon-heavy, dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachine, ruby-daemons, gnutls-bin, d-push, ${misc:Depends}
Recommends: symbiosis-webmail
Depends: symbiosis-common (>= 2014:0113), exim4-daemon-heavy, dovecot-sieve, dovecot-managesieved, dovecot-imapd, dovecot-pop3d, adduser, make, clamav-daemon, clamav-freshclam, spamassassin, ruby, ruby-eventmachine, ruby-daemons, gnutls-bin, ${misc:Depends}
Recommends: symbiosis-webmail, symbiosis-email-activesync
Replaces: bytemark-vhost-email, symbiosis-monit (<< 2011:1206), symbiosis-test
Breaks: symbiosis-monit (<< 2011:1206)
Provides: bytemark-vhost-email
......@@ -26,3 +26,13 @@ Description: virtual hosting solution for email
* POP3 + POP3S
* SMTP
* Sieve
Package: symbiosis-email-activesync
Architecture: all
Depends: symbiosis-email,d-push, ${misc:Depends}
Recommends: symbiosis-webmail
Description: Provides email access using the Microsoft Exchange ActiveSync protocol
This package will enable a global webmail system for all domains hosted
using the Bytemark system.
.
This is a metapackage that implements the Microsoft Exchange ActiveSync protocol using the d-push system.
......@@ -111,13 +111,6 @@ elif [ -e ${conf}~ ] && ( ! grep -q '/etc/dovecot/symbiosis.d/' ${conf}~ ) ; the
fi
fi
#
# Restart apache2 for our dpush snippet
#
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf symbiosis-email.conf || true
fi
#
# Rebuild dovecot
......
......@@ -45,13 +45,6 @@ if dpkg-divert --list "$package" | grep -xFq "diversion of $conf to $theirfile b
fi
#
# Restart apache2 for our dpush snippet
#
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke disconf symbiosis-email.conf || true
fi
#DEBHELPER#
exit 0
#!/bin/bash
#
# This script has to use bash as it uses arrays.
#
set -e
#
# Skip, if we are not in "configure" state
#
if [ "$1" != "configure" ]; then
echo "I: Skipping configuration"
exit 0
fi
#
# Restart apache2 for our dpush snippet
#
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf symbiosis-email-activesync.conf || true
fi
#DEBHELPER#
exit 0
#!/bin/sh
set -e
if [ "$1" = "upgrade" ] ; then
#
# Do nothing for upgrades.
#
exit 0
fi
#
# Restart apache2 for our dpush snippet
#
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke disconf symbiosis-email-activesync.conf || true
fi
#DEBHELPER#
exit 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment