![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
Author: jue Date: 2006-01-18 08:16:46 +0100 (Wed, 18 Jan 2006) New Revision: 585 Modified: crux-2.1/ports/opt/dovecot/.footprint crux-2.1/ports/opt/dovecot/.md5sum crux-2.1/ports/opt/dovecot/Pkgfile crux-2.1/ports/opt/dovecot/dovecot-config.patch Log: dovecot: update to 1.0.beta1 Modified: crux-2.1/ports/opt/dovecot/.footprint =================================================================== --- crux-2.1/ports/opt/dovecot/.footprint 2006-01-18 07:12:02 UTC (rev 584) +++ crux-2.1/ports/opt/dovecot/.footprint 2006-01-18 07:16:46 UTC (rev 585) @@ -11,26 +11,30 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/dovecot/ -rwxr-xr-x root/root usr/lib/dovecot/checkpassword-reply --rwxr-xr-x root/root usr/lib/dovecot/deliver +-rwxr-xr-x root/root usr/lib/dovecot/dict -rwxr-xr-x root/root usr/lib/dovecot/dovecot-auth +-rwxr-xr-x root/root usr/lib/dovecot/gdbhelper -rwxr-xr-x root/root usr/lib/dovecot/imap -rwxr-xr-x root/root usr/lib/dovecot/imap-login drwxr-xr-x root/root usr/lib/dovecot/modules/ drwxr-xr-x root/root usr/lib/dovecot/modules/imap/ --rw-r--r-- root/root usr/lib/dovecot/modules/imap/libimap_quota_plugin.a --rwxr-xr-x root/root usr/lib/dovecot/modules/imap/libimap_quota_plugin.la --rwxr-xr-x root/root usr/lib/dovecot/modules/imap/libimap_quota_plugin.so -lrwxrwxrwx root/root usr/lib/dovecot/modules/imap/libquota_plugin.so -> ../libquota_plugin.so -lrwxrwxrwx root/root usr/lib/dovecot/modules/imap/libtrash_plugin.so -> ../libtrash_plugin.so +lrwxrwxrwx root/root usr/lib/dovecot/modules/imap/lib01_quota_plugin.so -> ../lib01_quota_plugin.so +-rw-r--r-- root/root usr/lib/dovecot/modules/imap/lib01_zlib_plugin.a +-rwxr-xr-x root/root usr/lib/dovecot/modules/imap/lib01_zlib_plugin.la +-rwxr-xr-x root/root usr/lib/dovecot/modules/imap/lib01_zlib_plugin.so +-rw-r--r-- root/root usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.a +-rwxr-xr-x root/root usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.la +-rwxr-xr-x root/root usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.so +lrwxrwxrwx root/root usr/lib/dovecot/modules/imap/lib02_trash_plugin.so -> ../lib02_trash_plugin.so drwxr-xr-x root/root usr/lib/dovecot/modules/lda/ -lrwxrwxrwx root/root usr/lib/dovecot/modules/lda/libquota_plugin.so -> ../libquota_plugin.so -lrwxrwxrwx root/root usr/lib/dovecot/modules/lda/libtrash_plugin.so -> ../libtrash_plugin.so --rw-r--r-- root/root usr/lib/dovecot/modules/libquota_plugin.a --rwxr-xr-x root/root usr/lib/dovecot/modules/libquota_plugin.la --rwxr-xr-x root/root usr/lib/dovecot/modules/libquota_plugin.so --rw-r--r-- root/root usr/lib/dovecot/modules/libtrash_plugin.a --rwxr-xr-x root/root usr/lib/dovecot/modules/libtrash_plugin.la --rwxr-xr-x root/root usr/lib/dovecot/modules/libtrash_plugin.so +lrwxrwxrwx root/root usr/lib/dovecot/modules/lda/lib01_quota_plugin.so -> ../lib01_quota_plugin.so +lrwxrwxrwx root/root usr/lib/dovecot/modules/lda/lib02_trash_plugin.so -> ../lib02_trash_plugin.so +-rw-r--r-- root/root usr/lib/dovecot/modules/lib01_quota_plugin.a +-rwxr-xr-x root/root usr/lib/dovecot/modules/lib01_quota_plugin.la +-rwxr-xr-x root/root usr/lib/dovecot/modules/lib01_quota_plugin.so +-rw-r--r-- root/root usr/lib/dovecot/modules/lib02_trash_plugin.a +-rwxr-xr-x root/root usr/lib/dovecot/modules/lib02_trash_plugin.la +-rwxr-xr-x root/root usr/lib/dovecot/modules/lib02_trash_plugin.so -rwxr-xr-x root/root usr/lib/dovecot/pop3 -rwxr-xr-x root/root usr/lib/dovecot/pop3-login -rwxr-xr-x root/root usr/lib/dovecot/rawlog @@ -39,5 +43,5 @@ -rwxr-xr-x root/root usr/sbin/dovecotpw drwxr-xr-x root/root var/ drwxr-xr-x root/root var/run/ -drwx------ root/root var/run/dovecot/ +drwxr-xr-x root/root var/run/dovecot/ drwxr-x--- root/dovecot var/run/dovecot/login/ Modified: crux-2.1/ports/opt/dovecot/.md5sum =================================================================== --- crux-2.1/ports/opt/dovecot/.md5sum 2006-01-18 07:12:02 UTC (rev 584) +++ crux-2.1/ports/opt/dovecot/.md5sum 2006-01-18 07:16:46 UTC (rev 585) @@ -1,3 +1,3 @@ 7d43a691485f8e84ac7dce4e4d5a9d5d dovecot -a3277835f04d73485ff5ce3cc3daeea7 dovecot-1.0.alpha5.tar.gz -7fc999013edd35c1487908e343cdfa37 dovecot-config.patch +8472078e61859bfc27fdfece8190875d dovecot-1.0.beta1.tar.gz +e621bce47ccf04d7527fc2c9005c953d dovecot-config.patch Modified: crux-2.1/ports/opt/dovecot/Pkgfile =================================================================== --- crux-2.1/ports/opt/dovecot/Pkgfile 2006-01-18 07:12:02 UTC (rev 584) +++ crux-2.1/ports/opt/dovecot/Pkgfile 2006-01-18 07:16:46 UTC (rev 585) @@ -4,7 +4,7 @@ # Depends on: openssl name=dovecot -version=1.0.alpha5 +version=1.0.beta1 release=1 source=(http://dovecot.procontrol.fi/releases/$name-$version.tar.gz \ dovecot-config.patch dovecot) @@ -33,7 +33,6 @@ touch $PKG/etc/ssl/keys/dovecot.key install -d $PKG/var/run/dovecot/login - chmod 0700 $PKG/var/run/dovecot chmod 0750 $PKG/var/run/dovecot/login chown root:dovecot $PKG/var/run/dovecot/login } Modified: crux-2.1/ports/opt/dovecot/dovecot-config.patch =================================================================== --- crux-2.1/ports/opt/dovecot/dovecot-config.patch 2006-01-18 07:12:02 UTC (rev 584) +++ crux-2.1/ports/opt/dovecot/dovecot-config.patch 2006-01-18 07:16:46 UTC (rev 585) @@ -1,6 +1,6 @@ -diff -Nru dovecot-1.0.alpha5.orig/dovecot-example.conf dovecot-1.0.alpha5/dovecot-example.conf ---- dovecot-1.0.alpha5.orig/dovecot-example.conf 2005-12-11 11:30:30.000000000 +0100 -+++ dovecot-1.0.alpha5/dovecot-example.conf 2005-12-11 12:05:43.000000000 +0100 +diff -Nru dovecot-1.0.beta1.orig/dovecot-example.conf dovecot-1.0.beta1/dovecot-example.conf +--- dovecot-1.0.beta1.orig/dovecot-example.conf 2006-01-17 20:26:18.000000000 +0100 ++++ dovecot-1.0.beta1/dovecot-example.conf 2006-01-17 20:35:13.000000000 +0100 @@ -11,11 +11,11 @@ # --with-ssldir=/etc/ssl @@ -24,17 +24,8 @@ +ssl_cert_file = /etc/ssl/certs/dovecot.crt +ssl_key_file = /etc/ssl/keys/dovecot.key - # File containing trusted SSL certificate authorities. Usually not needed. - #ssl_ca_file = -@@ -48,7 +48,7 @@ - - # SSL parameter file. Master process generates this file for login processes. - # It contains Diffie Hellman and RSA parameters. --#ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat -+ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat - - # How often to regenerate the SSL parameters file. Generation is quite CPU - # intensive operation. The value is in hours, 0 disables regeneration + # If key file is password protected, give the password here. Alternatively + # give it when starting dovecot with -p parameter. @@ -88,7 +88,7 @@ # which login needs to be able to connect to. The sockets are created when # running as root, so you don't have to worry about permissions. Note that @@ -85,23 +76,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 @@ +@@ -411,19 +411,19 @@ protocol imap { # Login executable location. - #login_executable = /usr/libexec/dovecot/imap-login + login_executable = /usr/lib/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 = /usr/lib/dovecot/rawlog /usr/lib/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 = /usr/lib/dovecot/gdbhelper /usr/lib/dovecot/imap + # - #mail_executable = /usr/libexec/dovecot/imap + mail_executable = /usr/lib/dovecot/imap - # This would write rawlogs into ~/dovecot.rawlog/ directory: -- #mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap -+ #mail_executable = /usr/lib/dovecot/rawlog /usr/lib/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 @@ +@@ -432,7 +432,7 @@ # Support for dynamically loadable modules. #mail_use_modules = no @@ -110,7 +109,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. -@@ -453,10 +453,10 @@ +@@ -472,10 +472,10 @@ protocol pop3 { # Login executable location. @@ -123,7 +122,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 @@ +@@ -512,7 +512,7 @@ # installations. %08Xu%08Xv will be the new default, so use it for new # installations. # @@ -132,7 +131,7 @@ # POP3 logout format string: # %t - number of TOP commands -@@ -507,7 +507,7 @@ +@@ -526,7 +526,7 @@ # Support for dynamically loadable modules. #mail_use_modules = no @@ -141,7 +140,7 @@ # Workarounds for various client bugs: # outlook-no-nuls: -@@ -524,7 +524,7 @@ +@@ -544,7 +544,7 @@ ## # Executable location @@ -150,25 +149,25 @@ # Set max. process size in megabytes. #auth_process_size = 256 -@@ -609,7 +609,7 @@ +@@ -629,7 +629,7 @@ # Note that PAM can only be used to verify if user's password is correct, # so it can't be used as userdb. If you don't want to use a separate user # database (passwd usually), you can use static userdb. - passdb pam { -+ #passdb pam { - # [-session] [cache_key=<key>] [<service name>] ++ # passdb pam { + # [session=yes] [cache_key=<key>] [<service name>] # - # -session makes Dovecot open and immediately close PAM session. Some -@@ -629,7 +629,7 @@ - # If service name is "*", it means the authenticating service name - # is used, eg. pop3 or imap. + # session=yes makes Dovecot open and immediately close PAM session. Some +@@ -653,7 +653,7 @@ + # args = session=yes * + # args = cache_key=%u dovecot #args = dovecot - } + #} # /etc/passwd or similar, using getpwnam() # In many systems nowadays this uses Name Service Switch, which is -@@ -638,8 +638,8 @@ +@@ -662,8 +662,8 @@ #} # /etc/shadow or similiar, using getspnam(). Deprecated by PAM nowadays.