View | Details | Raw Unified | Return to bug 68169
Collapse All | Expand All

(-)dovecot/Makefile (-3 / +14 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	dovecot
9
PORTNAME=	dovecot
10
PORTVERSION=	0.99.10.5
10
PORTVERSION=	0.99.10.6
11
CATEGORIES=	mail ipv6
11
CATEGORIES=	mail ipv6
12
MASTER_SITES=	http://www.dovecot.org/
12
MASTER_SITES=	http://www.dovecot.org/
13
13
Lines 32-43 Link Here
32
DOCS=		auth.txt configuration.txt design.txt \
32
DOCS=		auth.txt configuration.txt design.txt \
33
		index.txt mail-storages.txt mkcert.sh multiaccess.txt \
33
		index.txt mail-storages.txt mkcert.sh multiaccess.txt \
34
		nfs.txt dovecot-ldap.conf dovecot-pgsql.conf \
34
		nfs.txt dovecot-ldap.conf dovecot-pgsql.conf \
35
		dovecot-openssl.cnf securecoding.txt
35
		dovecot-mysql.conf dovecot-openssl.cnf securecoding.txt
36
36
37
OPTIONS=	SASL2		"SASL2 support"		off \
37
OPTIONS=	SASL2		"SASL2 support"		off \
38
		VPOPMAIL	"VPopMail support"	off \
38
		VPOPMAIL	"VPopMail support"	off \
39
		LDAP		"OpenLDAP support"	off \
39
		LDAP		"OpenLDAP support"	off \
40
		PGSQL		"PostgreSQL support"	off
40
		PGSQL		"PostgreSQL support"	off \
41
		MYSQL		"MySQL support"		off
41
42
42
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
43
44
Lines 83-88 Link Here
83
.if defined(WITH_PGSQL)
84
.if defined(WITH_PGSQL)
84
LIB_DEPENDS+=		pq.3:${PORTSDIR}/databases/postgresql7
85
LIB_DEPENDS+=		pq.3:${PORTSDIR}/databases/postgresql7
85
CONFIGURE_ARGS+=	--with-pgsql
86
CONFIGURE_ARGS+=	--with-pgsql
87
.endif
88
89
## MySQL Support
90
#
91
# MySQL is another SQL database that can be
92
# used to store user tables.
93
#
94
.if defined(WITH_MYSQL)
95
USE_MYSQL=		yes
96
CONFIGURED_ARGS+=	--with-mysql
86
.endif
97
.endif
87
98
88
pre-build:
99
pre-build:
(-)dovecot/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (dovecot-0.99.10.5.tar.gz) = acda02c8bdcff5e194a8b9227ccb74b5
1
MD5 (dovecot-0.99.10.6.tar.gz) = 4f4f61147dc202a05c673a77535e5a46
2
SIZE (dovecot-0.99.10.5.tar.gz) = 863825
2
SIZE (dovecot-0.99.10.6.tar.gz) = 858545
(-)dovecot/files/patch-dovecot-example.conf (-30 / +26 lines)
Lines 1-11 Link Here
1
--- dovecot-example.conf.orig	Sat May 29 16:56:16 2004
1
--- dovecot-example.conf.orig	Fri Jun 18 19:25:31 2004
2
+++ dovecot-example.conf	Sat May 29 17:08:35 2004
2
+++ dovecot-example.conf	Mon Jun 21 11:15:52 2004
3
@@ -7,11 +7,11 @@
3
@@ -7,11 +7,11 @@
4
 # --with-ssldir=/etc/ssl
4
 # --with-ssldir=/etc/ssl
5
 
5
 
6
 # Base directory where to store runtime data.
6
 # Base directory where to store runtime data.
7
-#base_dir = /var/run/dovecot/
7
-#base_dir = /var/run/dovecot/
8
+base_dir = /var/dovecot
8
+base_dir = /var/dovecot/
9
 
9
 
10
 # Protocols we want to be serving:
10
 # Protocols we want to be serving:
11
 #  imap imaps pop3 pop3s
11
 #  imap imaps pop3 pop3s
Lines 37-46 Link Here
37
 
37
 
38
 # How often to regenerate the SSL parameters file. Generation is quite CPU
38
 # How often to regenerate the SSL parameters file. Generation is quite CPU
39
 # intensive operation. The value is in hours, 0 disables regeneration
39
 # intensive operation. The value is in hours, 0 disables regeneration
40
@@ -67,11 +67,11 @@
40
@@ -68,11 +68,11 @@
41
 # Directory where authentication process places authentication UNIX sockets
42
 # which login needs to be able to connect to. The sockets are created when
41
 # which login needs to be able to connect to. The sockets are created when
43
 # running as root, so you don't have to worry about permissions.
42
 # running as root, so you don't have to worry about permissions. Note that
43
 # everything in this directory is deleted when Dovecot is started.
44
-#login_dir = /var/run/dovecot/login
44
-#login_dir = /var/run/dovecot/login
45
+login_dir = /var/dovecot/login
45
+login_dir = /var/dovecot/login
46
 
46
 
Lines 51-57 Link Here
51
 
51
 
52
 
52
 
53
 ##
53
 ##
54
@@ -81,12 +81,12 @@
54
@@ -82,12 +82,12 @@
55
 login = imap
55
 login = imap
56
 
56
 
57
 # Executable location.
57
 # Executable location.
Lines 66-72 Link Here
66
 
66
 
67
 # Set max. process size in megabytes. If you don't use
67
 # Set max. process size in megabytes. If you don't use
68
 # login_process_per_connection you might need to grow this.
68
 # login_process_per_connection you might need to grow this.
69
@@ -126,7 +126,7 @@
69
@@ -127,7 +127,7 @@
70
 login = pop3
70
 login = pop3
71
 
71
 
72
 # Exception to above rule being the executable location.
72
 # Exception to above rule being the executable location.
Lines 75-81 Link Here
75
 
75
 
76
 ##
76
 ##
77
 ## Mail processes
77
 ## Mail processes
78
@@ -139,10 +139,10 @@
78
@@ -140,7 +140,7 @@
79
 # Show more verbose process titles (in ps). Currently shows user name and
79
 # Show more verbose process titles (in ps). Currently shows user name and
80
 # IP address. Useful for seeing who are actually using the IMAP processes
80
 # IP address. Useful for seeing who are actually using the IMAP processes
81
 # (eg. shared mailboxes or if same uid is used for multiple accounts).
81
 # (eg. shared mailboxes or if same uid is used for multiple accounts).
Lines 83-94 Link Here
83
+verbose_proctitle = yes
83
+verbose_proctitle = yes
84
 
84
 
85
 # Show protocol level SSL errors.
85
 # Show protocol level SSL errors.
86
-#verbose_ssl = no
86
 #verbose_ssl = no
87
+verbose_ssl = yes
87
@@ -156,7 +156,7 @@
88
 
89
 # Valid UID range for users, defaults to 500 and above. This is mostly
90
 # to make sure that users can't log in as daemons or other system users.
91
@@ -155,7 +155,7 @@
92
 # non-valid GID as primary group ID aren't allowed to log in. If user
88
 # non-valid GID as primary group ID aren't allowed to log in. If user
93
 # belongs to supplementary groups with non-valid GIDs, those groups are
89
 # belongs to supplementary groups with non-valid GIDs, those groups are
94
 # not set.
90
 # not set.
Lines 96-103 Link Here
96
+first_valid_gid = 0
92
+first_valid_gid = 0
97
 #last_valid_gid = 0
93
 #last_valid_gid = 0
98
 
94
 
99
 # ':' separated list of directories under which chrooting is allowed for mail
95
 # Grant access to these extra groups for mail processes. Typical use would be
100
@@ -164,7 +164,7 @@
96
@@ -169,7 +169,7 @@
101
 # WARNING: Never add directories here which local users can modify, that
97
 # WARNING: Never add directories here which local users can modify, that
102
 # may lead to root exploit. Usually this should be done only if you don't
98
 # may lead to root exploit. Usually this should be done only if you don't
103
 # allow shell access for users. See doc/configuration.txt for more information.
99
 # allow shell access for users. See doc/configuration.txt for more information.
Lines 106-121 Link Here
106
 
102
 
107
 # Default chroot directory for mail processes. This can be overridden by
103
 # Default chroot directory for mail processes. This can be overridden by
108
 # giving /./ in user's home directory (eg. /home/./user chroots into /home).
104
 # giving /./ in user's home directory (eg. /home/./user chroots into /home).
109
@@ -187,7 +187,7 @@
105
@@ -192,7 +192,7 @@
110
 #   mbox:~/mail/:INBOX=/var/mail/%u
106
 #   default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
111
 #   mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
107
 #   default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
112
 #
108
 #
113
-#default_mail_env = 
109
-#default_mail_env = 
114
+default_mail_env = mbox:/var/mail/%u
110
+default_mail_env = mbox:/var/mail/%u
115
 
111
 
116
 # Space-separated list of fields to cache for all mails. Currently these
112
 # Space-separated list of fields to cache for all mails. Currently these
117
 # fields are allowed followed by a list of commands they speed up:
113
 # fields are allowed followed by a list of commands they speed up:
118
@@ -232,7 +232,7 @@
114
@@ -237,7 +237,7 @@
119
 #     arrives in half a hour, Dovecot closes the connection. This is still
115
 #     arrives in half a hour, Dovecot closes the connection. This is still
120
 #     fine, except Outlook doesn't connect back so you don't see if new mail
116
 #     fine, except Outlook doesn't connect back so you don't see if new mail
121
 #     arrives.
117
 #     arrives.
Lines 124-130 Link Here
124
 
120
 
125
 # Dovecot can notify client of new mail in selected mailbox soon after it's
121
 # Dovecot can notify client of new mail in selected mailbox soon after it's
126
 # received. This setting specifies the minimum interval in seconds between
122
 # received. This setting specifies the minimum interval in seconds between
127
@@ -257,7 +257,7 @@
123
@@ -262,7 +262,7 @@
128
 # Save mails with CR+LF instead of plain LF. This makes sending those mails
124
 # Save mails with CR+LF instead of plain LF. This makes sending those mails
129
 # take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
125
 # take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
130
 # But it also creates a bit more disk I/O which may just make it slower.
126
 # But it also creates a bit more disk I/O which may just make it slower.
Lines 133-139 Link Here
133
 
129
 
134
 # Use mmap() instead of read() to read mail files. read() seems to be a bit
130
 # Use mmap() instead of read() to read mail files. read() seems to be a bit
135
 # faster with my Linux/x86 and it's better with NFS, so that's the default.
131
 # faster with my Linux/x86 and it's better with NFS, so that's the default.
136
@@ -269,7 +269,7 @@
132
@@ -281,7 +281,7 @@
137
 # know any MUA which would modify mail files directly. IMAP protocol also
133
 # know any MUA which would modify mail files directly. IMAP protocol also
138
 # requires that the mails don't change, so it would be problematic in any case.
134
 # requires that the mails don't change, so it would be problematic in any case.
139
 # If you care about performance, enable it.
135
 # If you care about performance, enable it.
Lines 142-148 Link Here
142
 
138
 
143
 # Check if mails' content has been changed by external programs. This slows
139
 # Check if mails' content has been changed by external programs. This slows
144
 # down things as extra stat() needs to be called for each file. If changes are
140
 # down things as extra stat() needs to be called for each file. If changes are
145
@@ -288,7 +288,7 @@
141
@@ -300,7 +300,7 @@
146
 # with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl
142
 # with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl
147
 # and flock. Some operating systems don't allow using both of them
143
 # and flock. Some operating systems don't allow using both of them
148
 # simultaneously, eg. BSDs. If dotlock is used, it's always created first.
144
 # simultaneously, eg. BSDs. If dotlock is used, it's always created first.
Lines 151-157 Link Here
151
 
147
 
152
 # Should we create dotlock file even when we want only a read-lock? Setting
148
 # Should we create dotlock file even when we want only a read-lock? Setting
153
 # this to yes hurts the performance when the mailbox is accessed simultaneously
149
 # this to yes hurts the performance when the mailbox is accessed simultaneously
154
@@ -318,7 +318,7 @@
150
@@ -330,7 +330,7 @@
155
 ##
151
 ##
156
 
152
 
157
 # Executable location
153
 # Executable location
Lines 160-166 Link Here
160
 
156
 
161
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
157
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
162
 # files, so it shouldn't harm much even if this limit is set pretty high.
158
 # files, so it shouldn't harm much even if this limit is set pretty high.
163
@@ -326,14 +326,14 @@
159
@@ -338,14 +338,14 @@
164
 
160
 
165
 # Support for dynamically loadable modules.
161
 # Support for dynamically loadable modules.
166
 #imap_use_modules = no
162
 #imap_use_modules = no
Lines 173-183 Link Here
173
 
169
 
174
 # Executable location
170
 # Executable location
175
-#pop3_executable = /usr/libexec/dovecot/pop3
171
-#pop3_executable = /usr/libexec/dovecot/pop3
176
+#pop3_executable = %%PREFIX%%/libexec/dovecot/pop3
172
+pop3_executable = %%PREFIX%%/libexec/dovecot/pop3
177
 
173
 
178
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
174
 # Set max. process size in megabytes. Most of the memory goes to mmap()ing
179
 # files, so it shouldn't harm much even if this limit is set pretty high.
175
 # files, so it shouldn't harm much even if this limit is set pretty high.
180
@@ -341,7 +341,7 @@
176
@@ -353,7 +353,7 @@
181
 
177
 
182
 # Support for dynamically loadable modules.
178
 # Support for dynamically loadable modules.
183
 #pop3_use_modules = no
179
 #pop3_use_modules = no
Lines 186-192 Link Here
186
 
182
 
187
 ##
183
 ##
188
 ## Authentication processes
184
 ## Authentication processes
189
@@ -390,9 +390,9 @@
185
@@ -403,9 +403,9 @@
190
 #   vpopmail: vpopmail authentication
186
 #   vpopmail: vpopmail authentication
191
 #   ldap <config path>: LDAP, see doc/dovecot-ldap.conf
187
 #   ldap <config path>: LDAP, see doc/dovecot-ldap.conf
192
 #   pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
188
 #   pgsql <config path>: a PostgreSQL database, see doc/dovecot-pgsql.conf
Lines 198-204 Link Here
198
 
194
 
199
 # Set max. process size in megabytes.
195
 # Set max. process size in megabytes.
200
 #auth_process_size = 256
196
 #auth_process_size = 256
201
@@ -421,7 +421,7 @@
197
@@ -436,7 +436,7 @@
202
 
198
 
203
 # More verbose logging. Useful for figuring out why authentication isn't
199
 # More verbose logging. Useful for figuring out why authentication isn't
204
 # working.
200
 # working.
(-)dovecot/pkg-descr (-3 / +3 lines)
Lines 1-7 Link Here
1
Dovecot is a secure and compact IMAP server which is in the early stages
1
Dovecot is a secure and compact IMAP server which is in the early stages
2
of developement. It supports Maildirs and mbox formats and much of the
2
of developement. It supports Maildirs and mbox formats and much of the
3
IMAP v4 protocol including SSL/TLS. IPv6 support is also included.
3
IMAP v4 protocol including SSL/TLS. IPv6 support is also included.
4
Dovecot supports authentication with OpenLDAP, PostgreSQL, vpopmail and
4
Dovecot supports authentication with OpenLDAP, PostgreSQL, MySQL vpopmail
5
PAM.
5
and PAM.
6
6
7
WWW: http://dovecot.procontrol.fi/
7
WWW: http://www.dovecot.org/
(-)dovecot/pkg-plist (+1 lines)
Lines 15-20 Link Here
15
%%PORTDOCS%%%%DOCSDIR%%/dovecot-ldap.conf
15
%%PORTDOCS%%%%DOCSDIR%%/dovecot-ldap.conf
16
%%PORTDOCS%%%%DOCSDIR%%/dovecot-openssl.cnf
16
%%PORTDOCS%%%%DOCSDIR%%/dovecot-openssl.cnf
17
%%PORTDOCS%%%%DOCSDIR%%/dovecot-pgsql.conf
17
%%PORTDOCS%%%%DOCSDIR%%/dovecot-pgsql.conf
18
%%PORTDOCS%%%%DOCSDIR%%/dovecot-mysql.conf
18
%%PORTDOCS%%%%DOCSDIR%%/index.txt
19
%%PORTDOCS%%%%DOCSDIR%%/index.txt
19
%%PORTDOCS%%%%DOCSDIR%%/mail-storages.txt
20
%%PORTDOCS%%%%DOCSDIR%%/mail-storages.txt
20
%%PORTDOCS%%%%DOCSDIR%%/mkcert.sh
21
%%PORTDOCS%%%%DOCSDIR%%/mkcert.sh

Return to bug 68169