diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-02-12 20:12:06 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-02-12 20:12:06 +0000 |
commit | e81e3cf827a237e7e168514caff5a7af60a96c17 (patch) | |
tree | 287da68c3dd68d343be8ddf994bb28d7121d15ee /mail/dovecot-devel | |
parent | upgrade to 0.51 (diff) |
- Update to 1.0.beta3
- Add new options KQUEUE & SQLITE
PR: ports/93250
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=155846
Diffstat (limited to 'mail/dovecot-devel')
-rw-r--r-- | mail/dovecot-devel/Makefile | 35 | ||||
-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/pkg-install | 2 | ||||
-rw-r--r-- | mail/dovecot-devel/pkg-plist | 42 |
5 files changed, 86 insertions, 48 deletions
diff --git a/mail/dovecot-devel/Makefile b/mail/dovecot-devel/Makefile index 6b3cf1301943..bc13f5e16f25 100644 --- a/mail/dovecot-devel/Makefile +++ b/mail/dovecot-devel/Makefile @@ -7,7 +7,7 @@ # PORTNAME= dovecot -DISTVERSION= 1.0.alpha5 +DISTVERSION= 1.0.beta3 CATEGORIES= mail ipv6 MASTER_SITES= http://www.dovecot.org/releases/ @@ -15,36 +15,40 @@ MAINTAINER= robin@isometry.net COMMENT= Secure and compact IMAP and POP3 servers USE_ICONV= yes -USE_REINPLACE= yes +USE_RC_SUBR= dovecot.sh GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --without-shadow --with-pam \ - --localstatedir=/var --with-ssl=openssl +CONFIGURE_ARGS= --without-shadow --localstatedir=/var CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PKGMESSAGE= ${WRKDIR}/pkg-message +.if !defined(NOPORTDOCS) PORTDOCS= USE-WIKI-INSTEAD \ auth-protocol.txt auth.txt configuration.txt design.txt \ index.txt mail-storages.txt multiaccess.txt nfs.txt \ securecoding.txt variables.txt +.else +CONFIGURE_ARGS+= --without-docs +.endif -OPTIONS= SASL2 "SASL2 support" off \ +OPTIONS= KQUEUE "kqueue(2) support" on \ + SASL2 "SASL2 support" off \ GSSAPI "GSSAPI support" off \ VPOPMAIL "VPopMail support" off \ LDAP "OpenLDAP support" off \ PGSQL "PostgreSQL support" off \ MYSQL "MySQL support" off \ - RCORDER "RC Order support" off + SQLITE "SQLite support" off .include <bsd.port.pre.mk> -.if ( ${OSVERSION} < 500038 ) || !defined(WITH_RCORDER) -USE_RC_SUBR= dovecot.sh -.else -USE_RCORDER= dovecot.sh +## kqueue(2) support +# +.if !defined(WITHOUT_KQUEUE) +CONFIGURE_ARGS+= --with-ioloop=kqueue --with-notify=kqueue .endif ## SASL2 support @@ -93,10 +97,11 @@ USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql .endif -pre-configure: -.if defined(NOPORTDOCS) - @${REINPLACE_CMD} -e 's/^\(SUBDIRS = src\) doc/\1/' \ - ${WRKSRC}/Makefile.in +## SQLite Support +# +.if defined(WITH_SQLITE) +USE_SQLITE= 3 +CONFIGURE_ARGS+= --with-sqlite .endif post-build: @@ -107,6 +112,8 @@ pre-install: @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: + @${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR} @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \ -e 's,%%DOCSDIR%%,${DOCSDIR},g' \ diff --git a/mail/dovecot-devel/distinfo b/mail/dovecot-devel/distinfo index 660d14c8d28a..1338f2df8130 100644 --- a/mail/dovecot-devel/distinfo +++ b/mail/dovecot-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (dovecot-1.0.alpha5.tar.gz) = a3277835f04d73485ff5ce3cc3daeea7 -SHA256 (dovecot-1.0.alpha5.tar.gz) = 12330727df9ee513482b60830b0496fec338e3e866fcb18bd73a596827aaabd8 -SIZE (dovecot-1.0.alpha5.tar.gz) = 1266342 +MD5 (dovecot-1.0.beta3.tar.gz) = 5418f9f7fe99e4f10bb82d9fe504138a +SHA256 (dovecot-1.0.beta3.tar.gz) = c283111cd57c7938356c3f564eec6a8e4ba066f5c448f209e305a1409232520e +SIZE (dovecot-1.0.beta3.tar.gz) = 1360574 diff --git a/mail/dovecot-devel/files/patch-dovecot-example.conf b/mail/dovecot-devel/files/patch-dovecot-example.conf index 455793ddcda7..db540085bb01 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 Sun Dec 18 15:10:59 2005 -+++ dovecot-example.conf Sun Dec 18 15:15:02 2005 +--- dovecot-example.conf.orig Fri Feb 10 18:46:38 2006 ++++ dovecot-example.conf Fri Feb 10 18:51:23 2006 @@ -7,7 +7,7 @@ # Default values are shown after each value, it's not required to uncomment # any of the lines. Exception to this are paths, they're just examples @@ -18,6 +18,15 @@ # IP or host address where to listen in for connections. It's not currently # possible to specify multiple addresses. "*" listens in all IPv4 interfaces. +@@ -104,7 +104,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 @@ -153,7 +153,7 @@ # Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes @@ -51,23 +60,31 @@ # If you need to set multiple mailbox locations or want to change default # namespace settings, you can do it by defining namespace sections: -@@ -400,12 +400,12 @@ +@@ -420,19 +420,19 @@ protocol imap { # Login executable location. - #login_executable = /usr/libexec/dovecot/imap-login + #login_executable = %%PREFIX%%/libexec/dovecot/imap-login - # IMAP executable location + # IMAP executable location. Changing this allows you to execute other + # binaries before the imap process is executed. + # + # This would write rawlogs into ~/dovecot.rawlog/ directory: +- # mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap ++ # mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap + # + # This would attach gdb into the imap process and write backtraces into + # /tmp/gdbhelper.* files: +- # mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap ++ # mail_executable = %%PREFIX%%/libexec/dovecot/gdbhelper %%PREFIX%%/libexec/dovecot/imap + # - #mail_executable = /usr/libexec/dovecot/imap + #mail_executable = %%PREFIX%%/libexec/dovecot/imap - # This would write rawlogs into ~/dovecot.rawlog/ directory: -- #mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap -+ #mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap # 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 -@@ -414,7 +414,7 @@ +@@ -441,7 +441,7 @@ # Support for dynamically loadable modules. #mail_use_modules = no @@ -76,16 +93,16 @@ # Send IMAP capabilities in greeting message. This makes it unnecessary for # clients to request it with CAPABILITY command, so it saves one round-trip. -@@ -444,7 +444,7 @@ - # With mbox storage a mailbox can contain either mails or submailboxes, +@@ -472,7 +472,7 @@ # but not both. Thunderbird separates these two by forcing server to # accept '/' suffix in mailbox names in subscriptions list. + # The list is space-separated. - #imap_client_workarounds = outlook-idle + imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep } ## -@@ -453,10 +453,10 @@ +@@ -481,10 +481,10 @@ protocol pop3 { # Login executable location. @@ -98,7 +115,7 @@ # 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 -@@ -493,7 +493,7 @@ +@@ -521,7 +521,7 @@ # installations. %08Xu%08Xv will be the new default, so use it for new # installations. # @@ -107,7 +124,7 @@ # POP3 logout format string: # %t - number of TOP commands -@@ -507,7 +507,7 @@ +@@ -535,7 +535,7 @@ # Support for dynamically loadable modules. #mail_use_modules = no @@ -116,16 +133,16 @@ # Workarounds for various client bugs: # outlook-no-nuls: -@@ -516,7 +516,7 @@ - # oe-ns-eoh: +@@ -545,7 +545,7 @@ # Outlook Express and Netscape Mail breaks if end of headers-line is # missing. This option simply sends it if it's missing. + # The list is space-separated. - #pop3_client_workarounds = + pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } ## -@@ -524,7 +524,7 @@ +@@ -553,7 +553,7 @@ ## # Executable location diff --git a/mail/dovecot-devel/pkg-install b/mail/dovecot-devel/pkg-install index 05686ba48d5f..648a4ecf06f4 100644 --- a/mail/dovecot-devel/pkg-install +++ b/mail/dovecot-devel/pkg-install @@ -57,7 +57,7 @@ make_account() { echo "You need a user \"${u}\"." if which -s pw && yesno "Would you like me to create it" y then - pw useradd ${u} -g ${g} -h - -s /sbin/nologin -c "${gcos}" || exit + pw useradd ${u} -g ${g} -c "${gcos}" -d /nonexistent -s /sbin/nologin -h - || exit echo "Done." else echo "Please create it, and try again." diff --git a/mail/dovecot-devel/pkg-plist b/mail/dovecot-devel/pkg-plist index 00de86d73707..22f38d9970a3 100644 --- a/mail/dovecot-devel/pkg-plist +++ b/mail/dovecot-devel/pkg-plist @@ -1,29 +1,43 @@ @comment $FreeBSD$ etc/dovecot-example.conf -lib/dovecot/imap/libimap_quota_plugin.a -lib/dovecot/imap/libimap_quota_plugin.la -lib/dovecot/imap/libimap_quota_plugin.so -lib/dovecot/imap/libquota_plugin.so -lib/dovecot/imap/libtrash_plugin.so +lib/dovecot/imap/lib01_convert_plugin.so +lib/dovecot/imap/lib01_quota_plugin.so +lib/dovecot/imap/lib01_zlib_plugin.a +lib/dovecot/imap/lib01_zlib_plugin.la +lib/dovecot/imap/lib01_zlib_plugin.so +lib/dovecot/imap/lib02_imap_quota_plugin.a +lib/dovecot/imap/lib02_imap_quota_plugin.la +lib/dovecot/imap/lib02_imap_quota_plugin.so +lib/dovecot/imap/lib02_trash_plugin.so @dirrm lib/dovecot/imap -lib/dovecot/lda/libquota_plugin.so -lib/dovecot/lda/libtrash_plugin.so +lib/dovecot/pop3/lib01_convert_plugin.so +@dirrm lib/dovecot/pop3 +lib/dovecot/lda/lib01_convert_plugin.so +lib/dovecot/lda/lib01_quota_plugin.so +lib/dovecot/lda/lib02_trash_plugin.so @dirrm lib/dovecot/lda -lib/dovecot/libquota_plugin.a -lib/dovecot/libquota_plugin.la -lib/dovecot/libquota_plugin.so -lib/dovecot/libtrash_plugin.a -lib/dovecot/libtrash_plugin.la -lib/dovecot/libtrash_plugin.so +lib/dovecot/lib01_convert_plugin.a +lib/dovecot/lib01_convert_plugin.la +lib/dovecot/lib01_convert_plugin.so +lib/dovecot/lib01_quota_plugin.a +lib/dovecot/lib01_quota_plugin.la +lib/dovecot/lib01_quota_plugin.so +lib/dovecot/lib02_trash_plugin.a +lib/dovecot/lib02_trash_plugin.la +lib/dovecot/lib02_trash_plugin.so @dirrm lib/dovecot libexec/dovecot/checkpassword-reply -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 libexec/dovecot/rawlog +libexec/dovecot/ssl-build-param @dirrm libexec/dovecot sbin/dovecot sbin/dovecotpw +share/dovecot/mkcert.sh +@dirrm share/dovecot |