Commits

Zhang Huangbin committed 606e323

* Drop support for Ubuntu 13.10.
* Sync ports option for FreeBSD port lang/php5.

Comments (0)

Files changed (2)

iRedMail/conf/global

 
         # Ubuntu version number and code name:
         #   - 12.04: precise (Long Term support by Ubuntu)
-        #   - 13.10: saucy
         #   - 14.04: trusty
         export DISTRO_ID="$(grep 'DISTRIB_ID' /etc/lsb-release | awk -F'=' '{print $2}')"
         export DISTRO_VERSION="$(grep 'DISTRIB_RELEASE' /etc/lsb-release | awk -F'=' '{print $2}')"
         export DISTRO_CODENAME="$(grep 'DISTRIB_CODENAME' /etc/lsb-release | awk -F'=' '{print $2}')"
 
-        # Unsupported releases.
-        #   8, 9, 10, 11, 12.10
-        if echo "${DISTRO_VERSION}" | grep -E '^(7|8|9|10|11|12\.10|13\.04)' &>/dev/null ; then
+        # Unsupported releases: 12.10, 13.04, 13.10
+        if echo "${DISTRO_VERSION}" | grep -E '^(12\.10|13\.04|13\.10)' &>/dev/null ; then
             export UNSUPPORTED_RELEASE='YES'
         fi
     elif [ -f /etc/debian_version ]; then

iRedMail/functions/packages_freebsd.sh

 OPTIONS_FILE_SET+=CLI
 OPTIONS_FILE_SET+=CGI
 OPTIONS_FILE_SET+=FPM
-OPTIONS_FILE_SET+=APACHE
-OPTIONS_FILE_UNSET+=AP2FILTER
 OPTIONS_FILE_UNSET+=EMBED
 OPTIONS_FILE_UNSET+=DEBUG
 OPTIONS_FILE_UNSET+=DTRACE
 OPTIONS_FILE_SET+=IPV6
 OPTIONS_FILE_SET+=MAILHEAD
 OPTIONS_FILE_SET+=LINKTHR
+OPTIONS_FILE_UNSET+=ZTS
 EOF
 
     ALL_PORTS="${ALL_PORTS} lang/php5"