<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9e0398153a60bdb8d08a62165f34def13f425c40">https://github.com/macports/macports-ports/commit/9e0398153a60bdb8d08a62165f34def13f425c40</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9e03981 dovecot2: Upgrade to v2.3.6 and major Portfile overhaul
</span>9e03981 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9e0398153a60bdb8d08a62165f34def13f425c40
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Mon May 27 01:01:13 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> dovecot2: Upgrade to v2.3.6 and major Portfile overhaul
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Upgrade to dovecot 2.3.6
</span><span style='display:block; white-space:pre;color:#404040;'> * Overhaul Portfile to use GitHub releases
</span><span style='display:block; white-space:pre;color:#404040;'> * Remove deprecated source links
</span><span style='display:block; white-space:pre;color:#404040;'> * Hardcode _dovecot:_dovenull default user and group
</span><span style='display:block; white-space:pre;color:#404040;'> * Hardcode `last_valid_gid = 100` to avoid macOS [issue](https://www.systemcodegeeks.com/mac-os/macos-dovecot-setgroups-failed/)
</span>---
mail/dovecot2/Portfile | 260 +++++++++++----------
.../files/patch-src-master-master-settings.c.diff | 27 +++
2 files changed, 163 insertions(+), 124 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/dovecot2/Portfile b/mail/dovecot2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 169df8e..ccae22b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mail/dovecot2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/dovecot2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,23 +1,20 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup legacysupport 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-legacysupport.newest_darwin_requires_legacy 10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup dovecot core 2.3.6
</span>
name dovecot2
set base_name dovecot
# Please revbump port:dovecot2-sieve and port:dovecot2-antispam
# on port:dovecot2 version changes.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.3.0.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# set hg.tag to tag or rev.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.tag ${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#hg.tag 69630e6048fd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch [join [lrange [split ${version} .] 0 1] .]
</span> categories mail
maintainers nomaintainer
platforms darwin
license LGPL-2.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.dovecot.org
</span>
description Secure, fast imap and pop3 server
long_description Dovecot is an IMAP and POP3 server for Linux/UNIX-like \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,39 +22,27 @@ long_description Dovecot is an IMAP and POP3 server for Linux/UNIX-like \
</span> it is written in C, it uses several coding techniques to \
avoid most of the common pitfalls.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://dovecot.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://dovecot.org/releases/${branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${base_name}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pandoc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span> depends_lib port:libiconv \
port:zlib \
port:xz \
port:bzip2 \
path:lib/libssl.dylib:openssl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${hg.tag} ne ${version}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- master_sites http://hg.dovecot.org/dovecot-${branch}/archive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distname ${hg.tag}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- worksrcdir dovecot-[join [split ${branch} .] -]-${hg.tag}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gettext port:mercurial
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set default_internal_user _dovecot
set default_login_user _dovenull
add_users ${default_internal_user} group=${default_internal_user} realname=Dovecot
add_users ${default_login_user} group=${default_login_user} realname=Dovenull
patch.pre_args -p1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-doc-example-config-conf.d-10-master.conf.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-doc-example-config-conf.d-10-master.conf.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-master-master-settings.c.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 6745d03a4b8d860476e2e7aacf91dd757b906037 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ab772b3e214683aba347203c9391295552255c4d69afb324c7b8c8fc5ad6f153
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 acef61b86b6de091ba8dfaffee5d5e5dfa43e0d1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3e2347edfafcb26ae05c3402c6a84d4ec8893e24f5488f9789c0714f67940539 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3599231
</span>
post-patch {
reinplace "s|@@default_internal_user@@|${default_internal_user}|g" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,11 +52,10 @@ post-patch {
</span> }
pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${hg.tag} ne ${version}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "gettextize -f"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "./autogen.sh"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the line `dummy < /dev/tty` breaks this; just copy the necessary file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # system -W ${worksrcpath} "gettextize -f"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -W ${worksrcpath} ${prefix}/share/gettext/config.rpath .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "./autogen.sh"
</span> }
configure.args --sysconfdir=${prefix}/etc \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,16 +63,10 @@ configure.args --sysconfdir=${prefix}/etc \
</span> --with-ssl=openssl \
--with-zlib \
--with-bzlib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-ssldir=${prefix}/etc/ssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-shared \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-static \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-shared-libs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-ssldir=${prefix}/etc/openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-shared-libs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-pam
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Do not build with kqueue or poll support prior to Darwin 10.7.0 (Mac OS X 10.6)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && [vercmp ${os.version} 10.7.0] < 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-ioloop=select
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span> configure.cppflags -I${prefix}/include/openssl
variant gssapi \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -96,103 +74,121 @@ variant gssapi \
</span> configure.args-append --with-gssapi=yes
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql82 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable PostgreSQL 8.2 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql82
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-pgsql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant ldap description {Enable LDAP support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:openldap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-ldap=yes
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql83 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql82 postgresql84 postgresql90 postgresql91 postgresql92 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable PostgreSQL 8.3 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant solr description {Enable apache-solr support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:clucene port:curl port:expat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:apache-solr8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-solr --with-lucene
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql83
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-pgsql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant lucene description {Enable lucene support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:clucene
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-lucene
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql84 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql82 postgresql83 postgresql90 postgresql91 postgresql92 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable PostgreSQL 8.4 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant libstemmer description {Use libstemmer for full-text search} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libstemmer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-libstemmer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql84
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql95 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.6 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql96
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql96/bin/pg_config
</span> configure.args-append --with-pgsql
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql90 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql82 postgresql83 postgresql84 postgresql91 postgresql92 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable PostgreSQL 9.0 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql90
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql95 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.5 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql95
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql95/bin/pg_config
</span> configure.args-append --with-pgsql
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant postgresql91 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql92 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable PostgreSQL 9.1 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 postgresql91 postgresql92 postgresql93 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.4 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql94
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql94/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:postgresql91
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql93 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 postgresql91 postgresql92 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.3 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql93
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql93/bin/pg_config
</span> configure.args-append --with-pgsql
}
variant postgresql92 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 postgresql91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql93 postgresql94 postgresql95 postgresql96 \
</span> description "Enable PostgreSQL 9.2 support" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append port:postgresql92
configure.env-append PG_CONFIG=${prefix}/lib/postgresql92/bin/pg_config
configure.args-append --with-pgsql
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mysql51 mysql55 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable MySQL 5.1 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql91 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql90 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.1 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql91
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql91/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql51 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mysql5 mysql55 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable MySQL 5.1 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql51
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql51/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql90 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 9.0 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql90/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql55 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mysql5 mysql51 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable MySQL 5.5 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql55
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql83 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 8.4 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql84
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql84/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql56 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mysql5 mysql51 mysql55 mariadb percona \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable MySQL 5.6 support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql56
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql56/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql83 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql82 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 8.3 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql83
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql83/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mariadb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts mysql5 mysql51 mysql55 mysql56 percona \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description "Enable MariaDB (MySQL) support" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mariadb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant postgresql82 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts postgresql83 postgresql84 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 postgresql96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable PostgreSQL 8.2 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:postgresql82
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PG_CONFIG=${prefix}/lib/postgresql82/bin/pg_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-pgsql
</span> }
variant percona \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -203,27 +199,44 @@ variant percona \
</span> configure.args-append --with-mysql
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant ldap description {Enable LDAP support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-ldap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mariadb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts mysql5 mysql51 mysql55 mysql56 percona \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable MariaDB (MySQL) support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mariadb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MYSQL_CONFIG=${prefix}/lib/mariadb/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mysql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant lucene description {Enable lucene support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:clucene
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-lucene
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql56 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts mysql5 mysql51 mysql55 mariadb percona \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable MySQL 5.6 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql56
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql56/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mysql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant libstemmer description {Use libstemmer for full-text search} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libstemmer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-libstemmer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql55 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts mysql5 mysql51 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable MySQL 5.5 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql55
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql55/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mysql
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant solr description {Enable apache-solr support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql51 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts mysql5 mysql55 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable MySQL 5.1 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql51
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql51/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mysql
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:expat port:curl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-solr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant mysql5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts mysql51 mysql55 mysql56 mariadb percona \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description "Enable MySQL 5.1 support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mysql5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-mysql
</span> }
variant no_startupitem description {Do not install a launchd plist} {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -234,6 +247,5 @@ if {![variant_isset "no_startupitem"]} {
</span> startupitem.pidfile auto ${prefix}/var/run/${base_name}/master.pid
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url [lindex ${master_sites} 0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "${base_name}-(\\d+\\.\\d+(\[0-9rc.\]+)?).tar.gz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.keepdirs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/etc/${base_name}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/mail/dovecot2/files/patch-src-master-master-settings.c.diff b/mail/dovecot2/files/patch-src-master-master-settings.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..89f0282
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mail/dovecot2/files/patch-src-master-master-settings.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./src/master/master-settings.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./src/master/master-settings.c 2019-05-26 23:25:08.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -209,9 +209,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .protocols = "imap pop3 lmtp",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .listen = "*, ::",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .ssl = "yes:no:required",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- .default_internal_user = "dovecot",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- .default_internal_group = "dovecot",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- .default_login_user = "dovenull",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ .default_internal_user = "_dovecot",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ .default_internal_group = "_dovenull",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ .default_login_user = "_dovenull",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .default_process_limit = 100,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .default_client_limit = 1000,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .default_idle_kill = 60,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -222,7 +222,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .first_valid_uid = 500,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .last_valid_uid = 0,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .first_valid_gid = 1,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- .last_valid_gid = 0,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* macOS: `last_valid_gid = 100` to avoid the error */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* imap: Fatal: setgroups(501) failed: Too many extra groups */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* https://www.systemcodegeeks.com/mac-os/macos-dovecot-setgroups-failed/ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ .last_valid_gid = 100,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef CONFIG_BINARY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .services = ARRAY_INIT
</span></pre><pre style='margin:0'>
</pre>