diff options
author | shaun <shaun@FreeBSD.org> | 2006-10-31 08:23:04 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-10-31 08:23:04 +0800 |
commit | 070dcd912f1fd8d0b1d1452c38aaf5c689be1290 (patch) | |
tree | 3056f4df93d17500865a1d69e682de8edb22715c /mail/dovecot-devel | |
parent | 125f667e76665882b8ccb4a5c8f80b825c62dadb (diff) | |
download | freebsd-ports-gnome-070dcd912f1fd8d0b1d1452c38aaf5c689be1290.tar.gz freebsd-ports-gnome-070dcd912f1fd8d0b1d1452c38aaf5c689be1290.tar.zst freebsd-ports-gnome-070dcd912f1fd8d0b1d1452c38aaf5c689be1290.zip |
Update to 1.0.r10.
PR: ports/104365
Submitted by: Robin Breathe <robin@isometry.net> (maintainer)
Diffstat (limited to 'mail/dovecot-devel')
-rw-r--r-- | mail/dovecot-devel/Makefile | 54 | ||||
-rw-r--r-- | mail/dovecot-devel/distinfo | 6 | ||||
-rw-r--r-- | mail/dovecot-devel/files/patch-dovecot-example.conf | 49 | ||||
-rw-r--r-- | mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c | 14 | ||||
-rw-r--r-- | mail/dovecot-devel/pkg-plist | 8 |
5 files changed, 72 insertions, 59 deletions
diff --git a/mail/dovecot-devel/Makefile b/mail/dovecot-devel/Makefile index cfb24fc63791..85c139d5fb5c 100644 --- a/mail/dovecot-devel/Makefile +++ b/mail/dovecot-devel/Makefile @@ -7,8 +7,7 @@ # PORTNAME= dovecot -DISTVERSION= 1.0.rc7 -PORTREVISION= 2 +DISTVERSION= 1.0.rc10 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/ @@ -38,13 +37,16 @@ CONFIGURE_ARGS+= --without-docs .endif 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 \ VPOPMAIL "VPopMail support" off \ LDAP "OpenLDAP support" off \ PGSQL "PostgreSQL support" off \ MYSQL "MySQL support" off \ - SQLITE "SQLite support" off \ - IPV6 "IPv6 support" on + SQLITE "SQLite support" off .include <bsd.port.pre.mk> @@ -54,6 +56,38 @@ OPTIONS= KQUEUE "kqueue(2) support" on \ CONFIGURE_ARGS+= --with-ioloop=kqueue .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 # .if defined(WITH_GSSAPI) @@ -100,12 +134,6 @@ USE_SQLITE= 3 CONFIGURE_ARGS+= --with-sqlite .endif -## IPv6 support -# -.if defined(WITHOUT_IPV6) || ${OSVERSION} <= 400014 -CONFIGURE_ARGS+= --disable-ipv6 -.endif - post-patch: .if defined(WITH_GSSAPI) @${REINPLACE_CMD} -e 's,<gssapi/gssapi\.h>,<gssapi.h>,' \ @@ -114,7 +142,9 @@ post-patch: .endif 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 pre-install: @@ -124,6 +154,8 @@ post-install: @${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${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 @${CAT} ${PKGMESSAGE} diff --git a/mail/dovecot-devel/distinfo b/mail/dovecot-devel/distinfo index fd7a9ae2158c..3753a1250a30 100644 --- a/mail/dovecot-devel/distinfo +++ b/mail/dovecot-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (dovecot-1.0.rc7.tar.gz) = 665ec0f09fe4f0a8f3f9efd7b9a02297 -SHA256 (dovecot-1.0.rc7.tar.gz) = 4d877b52678d1ef81c3f176479d566e25c0c4a65d3f61093f39866d1f63c7696 -SIZE (dovecot-1.0.rc7.tar.gz) = 1273427 +MD5 (dovecot-1.0.rc10.tar.gz) = 4b76cef0e769e7504e47f4df4055bc8c +SHA256 (dovecot-1.0.rc10.tar.gz) = 300fd089bb7643986511b723951461b34fc12b48736d26b796a1013db89e5779 +SIZE (dovecot-1.0.rc10.tar.gz) = 1452437 diff --git a/mail/dovecot-devel/files/patch-dovecot-example.conf b/mail/dovecot-devel/files/patch-dovecot-example.conf index 4b658c61e2c6..d658b54c46fc 100644 --- a/mail/dovecot-devel/files/patch-dovecot-example.conf +++ b/mail/dovecot-devel/files/patch-dovecot-example.conf @@ -1,5 +1,5 @@ ---- dovecot-example.conf.orig Fri Aug 18 21:19:13 2006 -+++ dovecot-example.conf Fri Aug 18 21:23:26 2006 +--- dovecot-example.conf.orig Sun Oct 15 22:12:31 2006 ++++ dovecot-example.conf Mon Oct 16 23:14:19 2006 @@ -9,7 +9,7 @@ # 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 @@ -9,31 +9,23 @@ # --with-ssldir=/etc/ssl # 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 + # If you only want to use dovecot-auth, you can set this to "none". #protocols = imap imaps -+protocols = imap pop3 ++protocols = %%PROTOCOLS%% # IP or host address where to listen in for connections. It's not currently # possible to specify multiple addresses. "*" listens in all IPv4 interfaces. -@@ -135,6 +136,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 @@ +@@ -195,6 +196,7 @@ # default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n # #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 # 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 # to give "mail" group write access to /var/mail to be able to create dotlocks. #mail_extra_groups = @@ -41,7 +33,7 @@ # 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 -@@ -282,6 +286,7 @@ +@@ -285,6 +288,7 @@ # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). #verbose_proctitle = no @@ -49,7 +41,7 @@ # 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. -@@ -295,6 +300,7 @@ +@@ -298,6 +302,7 @@ # belongs to supplementary groups with non-valid GIDs, those groups are # not set. #first_valid_gid = 1 @@ -57,7 +49,7 @@ #last_valid_gid = 0 # Maximum number of running mail processes. When this limit is reached, -@@ -467,19 +473,19 @@ +@@ -470,19 +475,19 @@ protocol imap { # Login executable location. @@ -81,7 +73,7 @@ # 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 -@@ -489,7 +495,7 @@ +@@ -492,7 +497,7 @@ # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = @@ -90,7 +82,7 @@ # Send IMAP capabilities in greeting message. This makes it unnecessary for # 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. # The list is space-separated. #imap_client_workarounds = outlook-idle @@ -98,20 +90,21 @@ } ## -@@ -529,10 +536,10 @@ +@@ -532,11 +538,11 @@ protocol pop3 { # Login executable location. - #login_executable = /usr/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 = %%PREFIX%%/libexec/dovecot/pop3 # 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 -@@ -577,6 +584,7 @@ +@@ -581,6 +587,7 @@ # installations. # #pop3_uidl_format = @@ -119,7 +112,7 @@ # POP3 logout format string: # %t - number of TOP commands -@@ -591,7 +599,7 @@ +@@ -595,7 +602,7 @@ # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = @@ -128,7 +121,7 @@ # Workarounds for various client bugs: # outlook-no-nuls: -@@ -602,6 +610,7 @@ +@@ -606,6 +613,7 @@ # missing. This option simply sends it if it's missing. # The list is space-separated. #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 # list of plugins to load. #mail_plugins = @@ -149,7 +142,7 @@ # UNIX socket path to master authentication server to find users. #auth_socket_path = /var/run/dovecot/auth-master -@@ -633,7 +643,7 @@ +@@ -637,7 +646,7 @@ ## # Executable location diff --git a/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c b/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c deleted file mode 100644 index bdf3f6d75899..000000000000 --- a/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c +++ /dev/null @@ -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); diff --git a/mail/dovecot-devel/pkg-plist b/mail/dovecot-devel/pkg-plist index 873eeafc9e20..e69238f0a53c 100644 --- a/mail/dovecot-devel/pkg-plist +++ b/mail/dovecot-devel/pkg-plist @@ -35,14 +35,14 @@ lib/dovecot/lib02_trash_plugin.la lib/dovecot/lib02_trash_plugin.so @dirrm lib/dovecot libexec/dovecot/checkpassword-reply -libexec/dovecot/deliver +%%LDA%%libexec/dovecot/deliver libexec/dovecot/dict libexec/dovecot/dovecot-auth libexec/dovecot/gdbhelper libexec/dovecot/imap libexec/dovecot/imap-login -libexec/dovecot/pop3 -libexec/dovecot/pop3-login +%%POP3%%libexec/dovecot/pop3 +%%POP3%%libexec/dovecot/pop3-login libexec/dovecot/rawlog libexec/dovecot/ssl-build-param @dirrm libexec/dovecot @@ -50,4 +50,6 @@ sbin/dovecot sbin/dovecotpw %%DATADIR%%/dovecot-openssl.cnf %%DATADIR%%/mkcert.sh +%%DATADIR%%/dovecot-ldap.conf +%%DATADIR%%/dovecot-sql.conf @dirrm %%DATADIR%% |