mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Update to 1.0.r10.
PR: ports/104365 Submitted by: Robin Breathe <robin@isometry.net> (maintainer)
This commit is contained in:
parent
3065300a3e
commit
1a02775427
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175568
10 changed files with 144 additions and 118 deletions
|
@ -7,8 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dovecot
|
PORTNAME= dovecot
|
||||||
DISTVERSION= 1.0.rc7
|
DISTVERSION= 1.0.rc10
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= http://www.dovecot.org/releases/
|
MASTER_SITES= http://www.dovecot.org/releases/
|
||||||
|
|
||||||
|
@ -38,13 +37,16 @@ CONFIGURE_ARGS+= --without-docs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS= KQUEUE "kqueue(2) support" on \
|
OPTIONS= KQUEUE "kqueue(2) support" on \
|
||||||
|
SSL "SSL support" on \
|
||||||
|
IPV6 "IPv6 support" on \
|
||||||
|
POP3 "POP3 support" on \
|
||||||
|
LDA "LDA support" on \
|
||||||
GSSAPI "GSSAPI support" off \
|
GSSAPI "GSSAPI support" off \
|
||||||
VPOPMAIL "VPopMail support" off \
|
VPOPMAIL "VPopMail support" off \
|
||||||
LDAP "OpenLDAP support" off \
|
LDAP "OpenLDAP support" off \
|
||||||
PGSQL "PostgreSQL support" off \
|
PGSQL "PostgreSQL support" off \
|
||||||
MYSQL "MySQL support" off \
|
MYSQL "MySQL support" off \
|
||||||
SQLITE "SQLite support" off \
|
SQLITE "SQLite support" off
|
||||||
IPV6 "IPv6 support" on
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -54,6 +56,38 @@ OPTIONS= KQUEUE "kqueue(2) support" on \
|
||||||
CONFIGURE_ARGS+= --with-ioloop=kqueue
|
CONFIGURE_ARGS+= --with-ioloop=kqueue
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
## SSL support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_SSL)
|
||||||
|
CONFIGURE_ARGS+= --without-ssl
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## IPv6 support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_IPV6) || ${OSVERSION} <= 400014
|
||||||
|
CONFIGURE_ARGS+= --disable-ipv6
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## POP3 support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_POP3)
|
||||||
|
CONFIGURE_ARGS+= --without-pop3d
|
||||||
|
PROTOCOLS= imap
|
||||||
|
PLIST_SUB+= POP3="@comment "
|
||||||
|
.else
|
||||||
|
PROTOCOLS= imap pop3
|
||||||
|
PLIST_SUB+= POP3=""
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## LDA support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_LDA)
|
||||||
|
CONFIGURE_ARGS+= --without-deliver
|
||||||
|
PLIST_SUB+= LDA="@comment "
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= LDA=""
|
||||||
|
.endif
|
||||||
|
|
||||||
## GSSAPI support
|
## GSSAPI support
|
||||||
#
|
#
|
||||||
.if defined(WITH_GSSAPI)
|
.if defined(WITH_GSSAPI)
|
||||||
|
@ -100,12 +134,6 @@ USE_SQLITE= 3
|
||||||
CONFIGURE_ARGS+= --with-sqlite
|
CONFIGURE_ARGS+= --with-sqlite
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
## IPv6 support
|
|
||||||
#
|
|
||||||
.if defined(WITHOUT_IPV6) || ${OSVERSION} <= 400014
|
|
||||||
CONFIGURE_ARGS+= --disable-ipv6
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(WITH_GSSAPI)
|
.if defined(WITH_GSSAPI)
|
||||||
@${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
|
@${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
|
||||||
|
@ -114,7 +142,9 @@ post-patch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
|
@${REINPLACE_CMD} \
|
||||||
|
-e 's,%%PREFIX%%,${PREFIX},g' \
|
||||||
|
-e 's,%%PROTOCOLS%%,${PROTOCOLS},g' \
|
||||||
${WRKSRC}/dovecot-example.conf
|
${WRKSRC}/dovecot-example.conf
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
@ -124,6 +154,8 @@ post-install:
|
||||||
@${MKDIR} ${DATADIR}
|
@${MKDIR} ${DATADIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DATADIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DATADIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-ldap.conf ${DATADIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-sql.conf ${DATADIR}
|
||||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (dovecot-1.0.rc7.tar.gz) = 665ec0f09fe4f0a8f3f9efd7b9a02297
|
MD5 (dovecot-1.0.rc10.tar.gz) = 4b76cef0e769e7504e47f4df4055bc8c
|
||||||
SHA256 (dovecot-1.0.rc7.tar.gz) = 4d877b52678d1ef81c3f176479d566e25c0c4a65d3f61093f39866d1f63c7696
|
SHA256 (dovecot-1.0.rc10.tar.gz) = 300fd089bb7643986511b723951461b34fc12b48736d26b796a1013db89e5779
|
||||||
SIZE (dovecot-1.0.rc7.tar.gz) = 1273427
|
SIZE (dovecot-1.0.rc10.tar.gz) = 1452437
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- dovecot-example.conf.orig Fri Aug 18 21:19:13 2006
|
--- dovecot-example.conf.orig Sun Oct 15 22:12:31 2006
|
||||||
+++ dovecot-example.conf Fri Aug 18 21:23:26 2006
|
+++ dovecot-example.conf Mon Oct 16 23:14:19 2006
|
||||||
@@ -9,7 +9,7 @@
|
@@ -9,7 +9,7 @@
|
||||||
# Default values are shown for each setting, it's not required to uncomment
|
# Default values are shown for each setting, it's not required to uncomment
|
||||||
# any of the lines. Exception to this are paths, they're just examples with
|
# any of the lines. Exception to this are paths, they're just examples with
|
||||||
|
@ -9,31 +9,23 @@
|
||||||
# --with-ssldir=/etc/ssl
|
# --with-ssldir=/etc/ssl
|
||||||
|
|
||||||
# Base directory where to store runtime data.
|
# Base directory where to store runtime data.
|
||||||
@@ -17,6 +17,7 @@
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
# Protocols we want to be serving: imap imaps pop3 pop3s
|
# Protocols we want to be serving: imap imaps pop3 pop3s
|
||||||
|
# If you only want to use dovecot-auth, you can set this to "none".
|
||||||
#protocols = imap imaps
|
#protocols = imap imaps
|
||||||
+protocols = imap pop3
|
+protocols = %%PROTOCOLS%%
|
||||||
|
|
||||||
# IP or host address where to listen in for connections. It's not currently
|
# IP or host address where to listen in for connections. It's not currently
|
||||||
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
||||||
@@ -135,6 +136,7 @@
|
@@ -195,6 +196,7 @@
|
||||||
# Set max. process size in megabytes. If you don't use
|
|
||||||
# login_process_per_connection you might need to grow this.
|
|
||||||
#login_process_size = 32
|
|
||||||
+login_process_size = 64
|
|
||||||
|
|
||||||
# Should each login be processed in it's own process (yes), or should one
|
|
||||||
# login process be allowed to process multiple connections (no)? Yes is more
|
|
||||||
@@ -192,6 +194,7 @@
|
|
||||||
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
||||||
#
|
#
|
||||||
#default_mail_env =
|
#default_mail_env =
|
||||||
+default_mail_env = mbox:/var/mail/%u
|
+default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
|
||||||
|
|
||||||
# If you need to set multiple mailbox locations or want to change default
|
# If you need to set multiple mailbox locations or want to change default
|
||||||
# namespace settings, you can do it by defining namespace sections:
|
# namespace settings, you can do it by defining namespace sections:
|
||||||
@@ -235,6 +238,7 @@
|
@@ -238,6 +240,7 @@
|
||||||
# Grant access to these extra groups for mail processes. Typical use would be
|
# Grant access to these extra groups for mail processes. Typical use would be
|
||||||
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
||||||
#mail_extra_groups =
|
#mail_extra_groups =
|
||||||
|
@ -41,7 +33,7 @@
|
||||||
|
|
||||||
# Allow full filesystem access to clients. There's no access checks other than
|
# Allow full filesystem access to clients. There's no access checks other than
|
||||||
# what the operating system does for the active UID/GID. It works with both
|
# what the operating system does for the active UID/GID. It works with both
|
||||||
@@ -282,6 +286,7 @@
|
@@ -285,6 +288,7 @@
|
||||||
# IP address. Useful for seeing who are actually using the IMAP processes
|
# IP address. Useful for seeing who are actually using the IMAP processes
|
||||||
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
||||||
#verbose_proctitle = no
|
#verbose_proctitle = no
|
||||||
|
@ -49,7 +41,7 @@
|
||||||
|
|
||||||
# Valid UID range for users, defaults to 500 and above. This is mostly
|
# Valid UID range for users, defaults to 500 and above. This is mostly
|
||||||
# to make sure that users can't log in as daemons or other system users.
|
# to make sure that users can't log in as daemons or other system users.
|
||||||
@@ -295,6 +300,7 @@
|
@@ -298,6 +302,7 @@
|
||||||
# belongs to supplementary groups with non-valid GIDs, those groups are
|
# belongs to supplementary groups with non-valid GIDs, those groups are
|
||||||
# not set.
|
# not set.
|
||||||
#first_valid_gid = 1
|
#first_valid_gid = 1
|
||||||
|
@ -57,7 +49,7 @@
|
||||||
#last_valid_gid = 0
|
#last_valid_gid = 0
|
||||||
|
|
||||||
# Maximum number of running mail processes. When this limit is reached,
|
# Maximum number of running mail processes. When this limit is reached,
|
||||||
@@ -467,19 +473,19 @@
|
@@ -470,19 +475,19 @@
|
||||||
|
|
||||||
protocol imap {
|
protocol imap {
|
||||||
# Login executable location.
|
# Login executable location.
|
||||||
|
@ -81,7 +73,7 @@
|
||||||
|
|
||||||
# Maximum IMAP command line length in bytes. Some clients generate very long
|
# Maximum IMAP command line length in bytes. Some clients generate very long
|
||||||
# command lines with huge mailboxes, so you may need to raise this if you get
|
# command lines with huge mailboxes, so you may need to raise this if you get
|
||||||
@@ -489,7 +495,7 @@
|
@@ -492,7 +497,7 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -90,7 +82,7 @@
|
||||||
|
|
||||||
# Send IMAP capabilities in greeting message. This makes it unnecessary for
|
# Send IMAP capabilities in greeting message. This makes it unnecessary for
|
||||||
# clients to request it with CAPABILITY command, so it saves one round-trip.
|
# clients to request it with CAPABILITY command, so it saves one round-trip.
|
||||||
@@ -521,6 +527,7 @@
|
@@ -524,6 +529,7 @@
|
||||||
# accept '/' suffix in mailbox names in subscriptions list.
|
# accept '/' suffix in mailbox names in subscriptions list.
|
||||||
# The list is space-separated.
|
# The list is space-separated.
|
||||||
#imap_client_workarounds = outlook-idle
|
#imap_client_workarounds = outlook-idle
|
||||||
|
@ -98,20 +90,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
@@ -529,10 +536,10 @@
|
@@ -532,11 +538,11 @@
|
||||||
|
|
||||||
protocol pop3 {
|
protocol pop3 {
|
||||||
# Login executable location.
|
# Login executable location.
|
||||||
- #login_executable = /usr/libexec/dovecot/pop3-login
|
- #login_executable = /usr/libexec/dovecot/pop3-login
|
||||||
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
||||||
|
|
||||||
# POP3 executable location
|
# POP3 executable location. See IMAP's mail_executable above for examples
|
||||||
|
# how this could be changed.
|
||||||
- #mail_executable = /usr/libexec/dovecot/pop3
|
- #mail_executable = /usr/libexec/dovecot/pop3
|
||||||
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
|
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
|
||||||
|
|
||||||
# Don't try to set mails non-recent or seen with POP3 sessions. This is
|
# Don't try to set mails non-recent or seen with POP3 sessions. This is
|
||||||
# mostly intended to reduce disk I/O. With maildir it doesn't move files
|
# mostly intended to reduce disk I/O. With maildir it doesn't move files
|
||||||
@@ -577,6 +584,7 @@
|
@@ -581,6 +587,7 @@
|
||||||
# installations.
|
# installations.
|
||||||
#
|
#
|
||||||
#pop3_uidl_format =
|
#pop3_uidl_format =
|
||||||
|
@ -119,7 +112,7 @@
|
||||||
|
|
||||||
# POP3 logout format string:
|
# POP3 logout format string:
|
||||||
# %t - number of TOP commands
|
# %t - number of TOP commands
|
||||||
@@ -591,7 +599,7 @@
|
@@ -595,7 +602,7 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -128,7 +121,7 @@
|
||||||
|
|
||||||
# Workarounds for various client bugs:
|
# Workarounds for various client bugs:
|
||||||
# outlook-no-nuls:
|
# outlook-no-nuls:
|
||||||
@@ -602,6 +610,7 @@
|
@@ -606,6 +613,7 @@
|
||||||
# missing. This option simply sends it if it's missing.
|
# missing. This option simply sends it if it's missing.
|
||||||
# The list is space-separated.
|
# The list is space-separated.
|
||||||
#pop3_client_workarounds =
|
#pop3_client_workarounds =
|
||||||
|
@ -136,7 +129,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
@@ -619,10 +628,11 @@
|
@@ -623,10 +631,11 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -149,7 +142,7 @@
|
||||||
|
|
||||||
# UNIX socket path to master authentication server to find users.
|
# UNIX socket path to master authentication server to find users.
|
||||||
#auth_socket_path = /var/run/dovecot/auth-master
|
#auth_socket_path = /var/run/dovecot/auth-master
|
||||||
@@ -633,7 +643,7 @@
|
@@ -637,7 +646,7 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
# Executable location
|
# Executable location
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- src/lib/ioloop-notify-kqueue.c 16 Aug 2006 17:58:03 -0000 1.3.2.2
|
|
||||||
+++ src/lib/ioloop-notify-kqueue.c 26 Aug 2006 13:55:01 -0000 1.3.2.3
|
|
||||||
@@ -111,7 +111,10 @@
|
|
||||||
io->callback = callback;
|
|
||||||
io->context = context;
|
|
||||||
|
|
||||||
- EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD,
|
|
||||||
+ /* EV_CLEAR flag is needed because the EVFILT_VNODE filter reports
|
|
||||||
+ event state transitions and not the current state. With this flag,
|
|
||||||
+ the same event is only returned once. */
|
|
||||||
+ EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD | EV_CLEAR,
|
|
||||||
NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_REVOKE, 0, io);
|
|
||||||
if (kevent(ctx->kq, &ev, 1, NULL, 0, NULL) < 0) {
|
|
||||||
i_error("kevent(%d, %s) for notify failed: %m", fd, path);
|
|
|
@ -35,14 +35,14 @@ lib/dovecot/lib02_trash_plugin.la
|
||||||
lib/dovecot/lib02_trash_plugin.so
|
lib/dovecot/lib02_trash_plugin.so
|
||||||
@dirrm lib/dovecot
|
@dirrm lib/dovecot
|
||||||
libexec/dovecot/checkpassword-reply
|
libexec/dovecot/checkpassword-reply
|
||||||
libexec/dovecot/deliver
|
%%LDA%%libexec/dovecot/deliver
|
||||||
libexec/dovecot/dict
|
libexec/dovecot/dict
|
||||||
libexec/dovecot/dovecot-auth
|
libexec/dovecot/dovecot-auth
|
||||||
libexec/dovecot/gdbhelper
|
libexec/dovecot/gdbhelper
|
||||||
libexec/dovecot/imap
|
libexec/dovecot/imap
|
||||||
libexec/dovecot/imap-login
|
libexec/dovecot/imap-login
|
||||||
libexec/dovecot/pop3
|
%%POP3%%libexec/dovecot/pop3
|
||||||
libexec/dovecot/pop3-login
|
%%POP3%%libexec/dovecot/pop3-login
|
||||||
libexec/dovecot/rawlog
|
libexec/dovecot/rawlog
|
||||||
libexec/dovecot/ssl-build-param
|
libexec/dovecot/ssl-build-param
|
||||||
@dirrm libexec/dovecot
|
@dirrm libexec/dovecot
|
||||||
|
@ -50,4 +50,6 @@ sbin/dovecot
|
||||||
sbin/dovecotpw
|
sbin/dovecotpw
|
||||||
%%DATADIR%%/dovecot-openssl.cnf
|
%%DATADIR%%/dovecot-openssl.cnf
|
||||||
%%DATADIR%%/mkcert.sh
|
%%DATADIR%%/mkcert.sh
|
||||||
|
%%DATADIR%%/dovecot-ldap.conf
|
||||||
|
%%DATADIR%%/dovecot-sql.conf
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= dovecot
|
PORTNAME= dovecot
|
||||||
DISTVERSION= 1.0.rc7
|
DISTVERSION= 1.0.rc10
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= http://www.dovecot.org/releases/
|
MASTER_SITES= http://www.dovecot.org/releases/
|
||||||
|
|
||||||
|
@ -38,13 +37,16 @@ CONFIGURE_ARGS+= --without-docs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
OPTIONS= KQUEUE "kqueue(2) support" on \
|
OPTIONS= KQUEUE "kqueue(2) support" on \
|
||||||
|
SSL "SSL support" on \
|
||||||
|
IPV6 "IPv6 support" on \
|
||||||
|
POP3 "POP3 support" on \
|
||||||
|
LDA "LDA support" on \
|
||||||
GSSAPI "GSSAPI support" off \
|
GSSAPI "GSSAPI support" off \
|
||||||
VPOPMAIL "VPopMail support" off \
|
VPOPMAIL "VPopMail support" off \
|
||||||
LDAP "OpenLDAP support" off \
|
LDAP "OpenLDAP support" off \
|
||||||
PGSQL "PostgreSQL support" off \
|
PGSQL "PostgreSQL support" off \
|
||||||
MYSQL "MySQL support" off \
|
MYSQL "MySQL support" off \
|
||||||
SQLITE "SQLite support" off \
|
SQLITE "SQLite support" off
|
||||||
IPV6 "IPv6 support" on
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -54,6 +56,38 @@ OPTIONS= KQUEUE "kqueue(2) support" on \
|
||||||
CONFIGURE_ARGS+= --with-ioloop=kqueue
|
CONFIGURE_ARGS+= --with-ioloop=kqueue
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
## SSL support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_SSL)
|
||||||
|
CONFIGURE_ARGS+= --without-ssl
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## IPv6 support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_IPV6) || ${OSVERSION} <= 400014
|
||||||
|
CONFIGURE_ARGS+= --disable-ipv6
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## POP3 support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_POP3)
|
||||||
|
CONFIGURE_ARGS+= --without-pop3d
|
||||||
|
PROTOCOLS= imap
|
||||||
|
PLIST_SUB+= POP3="@comment "
|
||||||
|
.else
|
||||||
|
PROTOCOLS= imap pop3
|
||||||
|
PLIST_SUB+= POP3=""
|
||||||
|
.endif
|
||||||
|
|
||||||
|
## LDA support
|
||||||
|
#
|
||||||
|
.if defined(WITHOUT_LDA)
|
||||||
|
CONFIGURE_ARGS+= --without-deliver
|
||||||
|
PLIST_SUB+= LDA="@comment "
|
||||||
|
.else
|
||||||
|
PLIST_SUB+= LDA=""
|
||||||
|
.endif
|
||||||
|
|
||||||
## GSSAPI support
|
## GSSAPI support
|
||||||
#
|
#
|
||||||
.if defined(WITH_GSSAPI)
|
.if defined(WITH_GSSAPI)
|
||||||
|
@ -100,12 +134,6 @@ USE_SQLITE= 3
|
||||||
CONFIGURE_ARGS+= --with-sqlite
|
CONFIGURE_ARGS+= --with-sqlite
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
## IPv6 support
|
|
||||||
#
|
|
||||||
.if defined(WITHOUT_IPV6) || ${OSVERSION} <= 400014
|
|
||||||
CONFIGURE_ARGS+= --disable-ipv6
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(WITH_GSSAPI)
|
.if defined(WITH_GSSAPI)
|
||||||
@${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
|
@${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \
|
||||||
|
@ -114,7 +142,9 @@ post-patch:
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
|
@${REINPLACE_CMD} \
|
||||||
|
-e 's,%%PREFIX%%,${PREFIX},g' \
|
||||||
|
-e 's,%%PROTOCOLS%%,${PROTOCOLS},g' \
|
||||||
${WRKSRC}/dovecot-example.conf
|
${WRKSRC}/dovecot-example.conf
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
@ -124,6 +154,8 @@ post-install:
|
||||||
@${MKDIR} ${DATADIR}
|
@${MKDIR} ${DATADIR}
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
|
${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DATADIR}
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${DATADIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-ldap.conf ${DATADIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/dovecot-sql.conf ${DATADIR}
|
||||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (dovecot-1.0.rc7.tar.gz) = 665ec0f09fe4f0a8f3f9efd7b9a02297
|
MD5 (dovecot-1.0.rc10.tar.gz) = 4b76cef0e769e7504e47f4df4055bc8c
|
||||||
SHA256 (dovecot-1.0.rc7.tar.gz) = 4d877b52678d1ef81c3f176479d566e25c0c4a65d3f61093f39866d1f63c7696
|
SHA256 (dovecot-1.0.rc10.tar.gz) = 300fd089bb7643986511b723951461b34fc12b48736d26b796a1013db89e5779
|
||||||
SIZE (dovecot-1.0.rc7.tar.gz) = 1273427
|
SIZE (dovecot-1.0.rc10.tar.gz) = 1452437
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- dovecot-example.conf.orig Fri Aug 18 21:19:13 2006
|
--- dovecot-example.conf.orig Sun Oct 15 22:12:31 2006
|
||||||
+++ dovecot-example.conf Fri Aug 18 21:23:26 2006
|
+++ dovecot-example.conf Mon Oct 16 23:14:19 2006
|
||||||
@@ -9,7 +9,7 @@
|
@@ -9,7 +9,7 @@
|
||||||
# Default values are shown for each setting, it's not required to uncomment
|
# Default values are shown for each setting, it's not required to uncomment
|
||||||
# any of the lines. Exception to this are paths, they're just examples with
|
# any of the lines. Exception to this are paths, they're just examples with
|
||||||
|
@ -9,31 +9,23 @@
|
||||||
# --with-ssldir=/etc/ssl
|
# --with-ssldir=/etc/ssl
|
||||||
|
|
||||||
# Base directory where to store runtime data.
|
# Base directory where to store runtime data.
|
||||||
@@ -17,6 +17,7 @@
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
# Protocols we want to be serving: imap imaps pop3 pop3s
|
# Protocols we want to be serving: imap imaps pop3 pop3s
|
||||||
|
# If you only want to use dovecot-auth, you can set this to "none".
|
||||||
#protocols = imap imaps
|
#protocols = imap imaps
|
||||||
+protocols = imap pop3
|
+protocols = %%PROTOCOLS%%
|
||||||
|
|
||||||
# IP or host address where to listen in for connections. It's not currently
|
# IP or host address where to listen in for connections. It's not currently
|
||||||
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
# possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
|
||||||
@@ -135,6 +136,7 @@
|
@@ -195,6 +196,7 @@
|
||||||
# Set max. process size in megabytes. If you don't use
|
|
||||||
# login_process_per_connection you might need to grow this.
|
|
||||||
#login_process_size = 32
|
|
||||||
+login_process_size = 64
|
|
||||||
|
|
||||||
# Should each login be processed in it's own process (yes), or should one
|
|
||||||
# login process be allowed to process multiple connections (no)? Yes is more
|
|
||||||
@@ -192,6 +194,7 @@
|
|
||||||
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
|
||||||
#
|
#
|
||||||
#default_mail_env =
|
#default_mail_env =
|
||||||
+default_mail_env = mbox:/var/mail/%u
|
+default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
|
||||||
|
|
||||||
# If you need to set multiple mailbox locations or want to change default
|
# If you need to set multiple mailbox locations or want to change default
|
||||||
# namespace settings, you can do it by defining namespace sections:
|
# namespace settings, you can do it by defining namespace sections:
|
||||||
@@ -235,6 +238,7 @@
|
@@ -238,6 +240,7 @@
|
||||||
# Grant access to these extra groups for mail processes. Typical use would be
|
# Grant access to these extra groups for mail processes. Typical use would be
|
||||||
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
# to give "mail" group write access to /var/mail to be able to create dotlocks.
|
||||||
#mail_extra_groups =
|
#mail_extra_groups =
|
||||||
|
@ -41,7 +33,7 @@
|
||||||
|
|
||||||
# Allow full filesystem access to clients. There's no access checks other than
|
# Allow full filesystem access to clients. There's no access checks other than
|
||||||
# what the operating system does for the active UID/GID. It works with both
|
# what the operating system does for the active UID/GID. It works with both
|
||||||
@@ -282,6 +286,7 @@
|
@@ -285,6 +288,7 @@
|
||||||
# IP address. Useful for seeing who are actually using the IMAP processes
|
# IP address. Useful for seeing who are actually using the IMAP processes
|
||||||
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
# (eg. shared mailboxes or if same uid is used for multiple accounts).
|
||||||
#verbose_proctitle = no
|
#verbose_proctitle = no
|
||||||
|
@ -49,7 +41,7 @@
|
||||||
|
|
||||||
# Valid UID range for users, defaults to 500 and above. This is mostly
|
# Valid UID range for users, defaults to 500 and above. This is mostly
|
||||||
# to make sure that users can't log in as daemons or other system users.
|
# to make sure that users can't log in as daemons or other system users.
|
||||||
@@ -295,6 +300,7 @@
|
@@ -298,6 +302,7 @@
|
||||||
# belongs to supplementary groups with non-valid GIDs, those groups are
|
# belongs to supplementary groups with non-valid GIDs, those groups are
|
||||||
# not set.
|
# not set.
|
||||||
#first_valid_gid = 1
|
#first_valid_gid = 1
|
||||||
|
@ -57,7 +49,7 @@
|
||||||
#last_valid_gid = 0
|
#last_valid_gid = 0
|
||||||
|
|
||||||
# Maximum number of running mail processes. When this limit is reached,
|
# Maximum number of running mail processes. When this limit is reached,
|
||||||
@@ -467,19 +473,19 @@
|
@@ -470,19 +475,19 @@
|
||||||
|
|
||||||
protocol imap {
|
protocol imap {
|
||||||
# Login executable location.
|
# Login executable location.
|
||||||
|
@ -81,7 +73,7 @@
|
||||||
|
|
||||||
# Maximum IMAP command line length in bytes. Some clients generate very long
|
# Maximum IMAP command line length in bytes. Some clients generate very long
|
||||||
# command lines with huge mailboxes, so you may need to raise this if you get
|
# command lines with huge mailboxes, so you may need to raise this if you get
|
||||||
@@ -489,7 +495,7 @@
|
@@ -492,7 +497,7 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -90,7 +82,7 @@
|
||||||
|
|
||||||
# Send IMAP capabilities in greeting message. This makes it unnecessary for
|
# Send IMAP capabilities in greeting message. This makes it unnecessary for
|
||||||
# clients to request it with CAPABILITY command, so it saves one round-trip.
|
# clients to request it with CAPABILITY command, so it saves one round-trip.
|
||||||
@@ -521,6 +527,7 @@
|
@@ -524,6 +529,7 @@
|
||||||
# accept '/' suffix in mailbox names in subscriptions list.
|
# accept '/' suffix in mailbox names in subscriptions list.
|
||||||
# The list is space-separated.
|
# The list is space-separated.
|
||||||
#imap_client_workarounds = outlook-idle
|
#imap_client_workarounds = outlook-idle
|
||||||
|
@ -98,20 +90,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
@@ -529,10 +536,10 @@
|
@@ -532,11 +538,11 @@
|
||||||
|
|
||||||
protocol pop3 {
|
protocol pop3 {
|
||||||
# Login executable location.
|
# Login executable location.
|
||||||
- #login_executable = /usr/libexec/dovecot/pop3-login
|
- #login_executable = /usr/libexec/dovecot/pop3-login
|
||||||
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
+ #login_executable = %%PREFIX%%/libexec/dovecot/pop3-login
|
||||||
|
|
||||||
# POP3 executable location
|
# POP3 executable location. See IMAP's mail_executable above for examples
|
||||||
|
# how this could be changed.
|
||||||
- #mail_executable = /usr/libexec/dovecot/pop3
|
- #mail_executable = /usr/libexec/dovecot/pop3
|
||||||
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
|
+ #mail_executable = %%PREFIX%%/libexec/dovecot/pop3
|
||||||
|
|
||||||
# Don't try to set mails non-recent or seen with POP3 sessions. This is
|
# Don't try to set mails non-recent or seen with POP3 sessions. This is
|
||||||
# mostly intended to reduce disk I/O. With maildir it doesn't move files
|
# mostly intended to reduce disk I/O. With maildir it doesn't move files
|
||||||
@@ -577,6 +584,7 @@
|
@@ -581,6 +587,7 @@
|
||||||
# installations.
|
# installations.
|
||||||
#
|
#
|
||||||
#pop3_uidl_format =
|
#pop3_uidl_format =
|
||||||
|
@ -119,7 +112,7 @@
|
||||||
|
|
||||||
# POP3 logout format string:
|
# POP3 logout format string:
|
||||||
# %t - number of TOP commands
|
# %t - number of TOP commands
|
||||||
@@ -591,7 +599,7 @@
|
@@ -595,7 +602,7 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -128,7 +121,7 @@
|
||||||
|
|
||||||
# Workarounds for various client bugs:
|
# Workarounds for various client bugs:
|
||||||
# outlook-no-nuls:
|
# outlook-no-nuls:
|
||||||
@@ -602,6 +610,7 @@
|
@@ -606,6 +613,7 @@
|
||||||
# missing. This option simply sends it if it's missing.
|
# missing. This option simply sends it if it's missing.
|
||||||
# The list is space-separated.
|
# The list is space-separated.
|
||||||
#pop3_client_workarounds =
|
#pop3_client_workarounds =
|
||||||
|
@ -136,7 +129,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
##
|
##
|
||||||
@@ -619,10 +628,11 @@
|
@@ -623,10 +631,11 @@
|
||||||
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
# Support for dynamically loadable plugins. mail_plugins is a space separated
|
||||||
# list of plugins to load.
|
# list of plugins to load.
|
||||||
#mail_plugins =
|
#mail_plugins =
|
||||||
|
@ -149,7 +142,7 @@
|
||||||
|
|
||||||
# UNIX socket path to master authentication server to find users.
|
# UNIX socket path to master authentication server to find users.
|
||||||
#auth_socket_path = /var/run/dovecot/auth-master
|
#auth_socket_path = /var/run/dovecot/auth-master
|
||||||
@@ -633,7 +643,7 @@
|
@@ -637,7 +646,7 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
# Executable location
|
# Executable location
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- src/lib/ioloop-notify-kqueue.c 16 Aug 2006 17:58:03 -0000 1.3.2.2
|
|
||||||
+++ src/lib/ioloop-notify-kqueue.c 26 Aug 2006 13:55:01 -0000 1.3.2.3
|
|
||||||
@@ -111,7 +111,10 @@
|
|
||||||
io->callback = callback;
|
|
||||||
io->context = context;
|
|
||||||
|
|
||||||
- EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD,
|
|
||||||
+ /* EV_CLEAR flag is needed because the EVFILT_VNODE filter reports
|
|
||||||
+ event state transitions and not the current state. With this flag,
|
|
||||||
+ the same event is only returned once. */
|
|
||||||
+ EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD | EV_CLEAR,
|
|
||||||
NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_REVOKE, 0, io);
|
|
||||||
if (kevent(ctx->kq, &ev, 1, NULL, 0, NULL) < 0) {
|
|
||||||
i_error("kevent(%d, %s) for notify failed: %m", fd, path);
|
|
|
@ -35,14 +35,14 @@ lib/dovecot/lib02_trash_plugin.la
|
||||||
lib/dovecot/lib02_trash_plugin.so
|
lib/dovecot/lib02_trash_plugin.so
|
||||||
@dirrm lib/dovecot
|
@dirrm lib/dovecot
|
||||||
libexec/dovecot/checkpassword-reply
|
libexec/dovecot/checkpassword-reply
|
||||||
libexec/dovecot/deliver
|
%%LDA%%libexec/dovecot/deliver
|
||||||
libexec/dovecot/dict
|
libexec/dovecot/dict
|
||||||
libexec/dovecot/dovecot-auth
|
libexec/dovecot/dovecot-auth
|
||||||
libexec/dovecot/gdbhelper
|
libexec/dovecot/gdbhelper
|
||||||
libexec/dovecot/imap
|
libexec/dovecot/imap
|
||||||
libexec/dovecot/imap-login
|
libexec/dovecot/imap-login
|
||||||
libexec/dovecot/pop3
|
%%POP3%%libexec/dovecot/pop3
|
||||||
libexec/dovecot/pop3-login
|
%%POP3%%libexec/dovecot/pop3-login
|
||||||
libexec/dovecot/rawlog
|
libexec/dovecot/rawlog
|
||||||
libexec/dovecot/ssl-build-param
|
libexec/dovecot/ssl-build-param
|
||||||
@dirrm libexec/dovecot
|
@dirrm libexec/dovecot
|
||||||
|
@ -50,4 +50,6 @@ sbin/dovecot
|
||||||
sbin/dovecotpw
|
sbin/dovecotpw
|
||||||
%%DATADIR%%/dovecot-openssl.cnf
|
%%DATADIR%%/dovecot-openssl.cnf
|
||||||
%%DATADIR%%/mkcert.sh
|
%%DATADIR%%/mkcert.sh
|
||||||
|
%%DATADIR%%/dovecot-ldap.conf
|
||||||
|
%%DATADIR%%/dovecot-sql.conf
|
||||||
@dirrm %%DATADIR%%
|
@dirrm %%DATADIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue