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

(-)dovecot/Makefile (-14 / +21 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	dovecot
9
PORTNAME=	dovecot
10
DISTVERSION=	1.0.alpha5
10
DISTVERSION=	1.0.beta3
11
CATEGORIES=	mail ipv6
11
CATEGORIES=	mail ipv6
12
MASTER_SITES=	http://www.dovecot.org/releases/
12
MASTER_SITES=	http://www.dovecot.org/releases/
13
13
Lines 15-50 Link Here
15
COMMENT=	Secure and compact IMAP and POP3 servers
15
COMMENT=	Secure and compact IMAP and POP3 servers
16
16
17
USE_ICONV=	yes
17
USE_ICONV=	yes
18
USE_REINPLACE=	yes
18
USE_RC_SUBR=	dovecot.sh
19
19
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
21
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
22
CONFIGURE_ARGS=	--without-shadow --with-pam \
22
CONFIGURE_ARGS=	--without-shadow --localstatedir=/var
23
		--localstatedir=/var --with-ssl=openssl
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
25
		LDFLAGS="-L${LOCALBASE}/lib"
24
		LDFLAGS="-L${LOCALBASE}/lib"
26
25
27
PKGMESSAGE=	${WRKDIR}/pkg-message
26
PKGMESSAGE=	${WRKDIR}/pkg-message
28
27
28
.if !defined(NOPORTDOCS)
29
PORTDOCS=	USE-WIKI-INSTEAD \
29
PORTDOCS=	USE-WIKI-INSTEAD \
30
		auth-protocol.txt auth.txt configuration.txt design.txt \
30
		auth-protocol.txt auth.txt configuration.txt design.txt \
31
		index.txt mail-storages.txt multiaccess.txt nfs.txt \
31
		index.txt mail-storages.txt multiaccess.txt nfs.txt \
32
		securecoding.txt variables.txt
32
		securecoding.txt variables.txt
33
.else
34
CONFIGURE_ARGS+=        --without-docs
35
.endif
33
36
34
OPTIONS=	SASL2		"SASL2 support"		off \
37
OPTIONS=	KQUEUE		"kqueue(2) support"	on  \
38
		SASL2		"SASL2 support"		off \
35
		GSSAPI		"GSSAPI support"	off \
39
		GSSAPI		"GSSAPI support"	off \
36
		VPOPMAIL	"VPopMail support"	off \
40
		VPOPMAIL	"VPopMail support"	off \
37
		LDAP		"OpenLDAP support"	off \
41
		LDAP		"OpenLDAP support"	off \
38
		PGSQL		"PostgreSQL support"	off \
42
		PGSQL		"PostgreSQL support"	off \
39
		MYSQL		"MySQL support"		off \
43
		MYSQL		"MySQL support"		off \
40
		RCORDER		"RC Order support"	off
44
		SQLITE		"SQLite support"	off
41
45
42
.include <bsd.port.pre.mk>
46
.include <bsd.port.pre.mk>
43
47
44
.if ( ${OSVERSION} < 500038 ) || !defined(WITH_RCORDER)
48
## kqueue(2) support
45
USE_RC_SUBR=	dovecot.sh
49
#
46
.else
50
.if defined(WITH_KQUEUE)
47
USE_RCORDER=	dovecot.sh
51
CONFIGURE_ARGS+=	--with-ioloop=kqueue --with-notify=kqueue
48
.endif
52
.endif
49
53
50
## SASL2 support
54
## SASL2 support
Lines 93-102 Link Here
93
CONFIGURE_ARGS+=	--with-mysql
97
CONFIGURE_ARGS+=	--with-mysql
94
.endif
98
.endif
95
99
96
pre-configure:
100
## SQLite Support
97
.if defined(NOPORTDOCS)
101
#
98
	@${REINPLACE_CMD} -e 's/^\(SUBDIRS = src\) doc/\1/' \
102
.if defined(WITH_SQLITE)
99
		${WRKSRC}/Makefile.in
103
USE_SQLITE=		3
104
CONFIGURE_ARGS+=	--with-sqlite
100
.endif
105
.endif
101
106
102
post-build:
107
post-build:
Lines 107-112 Link Here
107
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
112
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
108
113
109
post-install:
114
post-install:
115
	@${MKDIR} ${DATADIR}
116
	${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${DATADIR}
110
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
117
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
111
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
118
	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
112
		-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
119
		-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
(-)dovecot/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (dovecot-1.0.alpha5.tar.gz) = a3277835f04d73485ff5ce3cc3daeea7
1
MD5 (dovecot-1.0.beta3.tar.gz) = 5418f9f7fe99e4f10bb82d9fe504138a
2
SHA256 (dovecot-1.0.alpha5.tar.gz) = 12330727df9ee513482b60830b0496fec338e3e866fcb18bd73a596827aaabd8
2
SHA256 (dovecot-1.0.beta3.tar.gz) = c283111cd57c7938356c3f564eec6a8e4ba066f5c448f209e305a1409232520e
3
SIZE (dovecot-1.0.alpha5.tar.gz) = 1266342
3
SIZE (dovecot-1.0.beta3.tar.gz) = 1360574
(-)dovecot/files/patch-dovecot-example.conf (-16 / +33 lines)
Lines 1-5 Link Here
1
--- dovecot-example.conf.orig	Sun Dec 18 15:10:59 2005
1
--- dovecot-example.conf.orig	Fri Feb 10 18:46:38 2006
2
+++ dovecot-example.conf	Sun Dec 18 15:15:02 2005
2
+++ dovecot-example.conf	Fri Feb 10 18:51:23 2006
3
@@ -7,7 +7,7 @@
3
@@ -7,7 +7,7 @@
4
 # Default values are shown after each value, it's not required to uncomment
4
 # Default values are shown after each value, it's not required to uncomment
5
 # any of the lines. Exception to this are paths, they're just examples
5
 # any of the lines. Exception to this are paths, they're just examples
Lines 18-23 Link Here
18
 
18
 
19
 # IP or host address where to listen in for connections. It's not currently
19
 # IP or host address where to listen in for connections. It's not currently
20
 # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
20
 # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
21
@@ -104,7 +104,7 @@
22
 
23
 # Set max. process size in megabytes. If you don't use
24
 # login_process_per_connection you might need to grow this.
25
-#login_process_size = 32
26
+login_process_size = 64
27
 
28
 # Should each login be processed in it's own process (yes), or should one
29
 # login process be allowed to process multiple connections (no)? Yes is more
21
@@ -153,7 +153,7 @@
30
@@ -153,7 +153,7 @@
22
 # Show more verbose process titles (in ps). Currently shows user name and
31
 # Show more verbose process titles (in ps). Currently shows user name and
23
 # IP address. Useful for seeing who are actually using the IMAP processes
32
 # IP address. Useful for seeing who are actually using the IMAP processes
Lines 51-73 Link Here
51
 
60
 
52
 # If you need to set multiple mailbox locations or want to change default
61
 # If you need to set multiple mailbox locations or want to change default
53
 # namespace settings, you can do it by defining namespace sections:
62
 # namespace settings, you can do it by defining namespace sections:
54
@@ -400,12 +400,12 @@
63
@@ -420,19 +420,19 @@
55
 
64
 
56
 protocol imap {
65
 protocol imap {
57
   # Login executable location.
66
   # Login executable location.
58
-  #login_executable = /usr/libexec/dovecot/imap-login
67
-  #login_executable = /usr/libexec/dovecot/imap-login
59
+  #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
68
+  #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
60
 
69
 
61
   # IMAP executable location
70
   # IMAP executable location. Changing this allows you to execute other
71
   # binaries before the imap process is executed.
72
   #
73
   # This would write rawlogs into ~/dovecot.rawlog/ directory:
74
-  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
75
+  #   mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
76
   #
77
   # This would attach gdb into the imap process and write backtraces into
78
   # /tmp/gdbhelper.* files:
79
-  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
80
+  #   mail_executable = %%PREFIX%%/libexec/dovecot/gdbhelper %%PREFIX%%/libexec/dovecot/imap
81
   #
62
-  #mail_executable = /usr/libexec/dovecot/imap
82
-  #mail_executable = /usr/libexec/dovecot/imap
63
+  #mail_executable = %%PREFIX%%/libexec/dovecot/imap
83
+  #mail_executable = %%PREFIX%%/libexec/dovecot/imap
64
   # This would write rawlogs into ~/dovecot.rawlog/ directory:
65
-  #mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
66
+  #mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
67
 
84
 
68
   # Maximum IMAP command line length in bytes. Some clients generate very long
85
   # Maximum IMAP command line length in bytes. Some clients generate very long
69
   # command lines with huge mailboxes, so you may need to raise this if you get
86
   # command lines with huge mailboxes, so you may need to raise this if you get
70
@@ -414,7 +414,7 @@
87
@@ -441,7 +441,7 @@
71
 
88
 
72
   # Support for dynamically loadable modules.
89
   # Support for dynamically loadable modules.
73
   #mail_use_modules = no
90
   #mail_use_modules = no
Lines 76-91 Link Here
76
 
93
 
77
   # Send IMAP capabilities in greeting message. This makes it unnecessary for
94
   # Send IMAP capabilities in greeting message. This makes it unnecessary for
78
   # clients to request it with CAPABILITY command, so it saves one round-trip.
95
   # clients to request it with CAPABILITY command, so it saves one round-trip.
79
@@ -444,7 +444,7 @@
96
@@ -472,7 +472,7 @@
80
   #     With mbox storage a mailbox can contain either mails or submailboxes,
81
   #     but not both. Thunderbird separates these two by forcing server to
97
   #     but not both. Thunderbird separates these two by forcing server to
82
   #     accept '/' suffix in mailbox names in subscriptions list.
98
   #     accept '/' suffix in mailbox names in subscriptions list.
99
   # The list is space-separated.
83
-  #imap_client_workarounds = outlook-idle
100
-  #imap_client_workarounds = outlook-idle
84
+  imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
101
+  imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
85
 }
102
 }
86
   
103
   
87
 ##
104
 ##
88
@@ -453,10 +453,10 @@
105
@@ -481,10 +481,10 @@
89
 
106
 
90
 protocol pop3 {
107
 protocol pop3 {
91
   # Login executable location.
108
   # Login executable location.
Lines 98-104 Link Here
98
 
115
 
99
   # Don't try to set mails non-recent or seen with POP3 sessions. This is
116
   # Don't try to set mails non-recent or seen with POP3 sessions. This is
100
   # mostly intended to reduce disk I/O. With maildir it doesn't move files
117
   # mostly intended to reduce disk I/O. With maildir it doesn't move files
101
@@ -493,7 +493,7 @@
118
@@ -521,7 +521,7 @@
102
   # installations. %08Xu%08Xv will be the new default, so use it for new
119
   # installations. %08Xu%08Xv will be the new default, so use it for new
103
   # installations.
120
   # installations.
104
   #
121
   #
Lines 107-113 Link Here
107
 
124
 
108
   # POP3 logout format string:
125
   # POP3 logout format string:
109
   #  %t - number of TOP commands
126
   #  %t - number of TOP commands
110
@@ -507,7 +507,7 @@
127
@@ -535,7 +535,7 @@
111
 
128
 
112
   # Support for dynamically loadable modules.
129
   # Support for dynamically loadable modules.
113
   #mail_use_modules = no
130
   #mail_use_modules = no
Lines 116-131 Link Here
116
 
133
 
117
   # Workarounds for various client bugs:
134
   # Workarounds for various client bugs:
118
   #   outlook-no-nuls:
135
   #   outlook-no-nuls:
119
@@ -516,7 +516,7 @@
136
@@ -545,7 +545,7 @@
120
   #   oe-ns-eoh:
121
   #     Outlook Express and Netscape Mail breaks if end of headers-line is
137
   #     Outlook Express and Netscape Mail breaks if end of headers-line is
122
   #     missing. This option simply sends it if it's missing.
138
   #     missing. This option simply sends it if it's missing.
139
   # The list is space-separated.
123
-  #pop3_client_workarounds = 
140
-  #pop3_client_workarounds = 
124
+  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
141
+  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
125
 }
142
 }
126
 
143
 
127
 ##
144
 ##
128
@@ -524,7 +524,7 @@
145
@@ -553,7 +553,7 @@
129
 ##
146
 ##
130
 
147
 
131
 # Executable location
148
 # Executable location
(-)dovecot/pkg-install (-1 / +1 lines)
Lines 57-63 Link Here
57
		echo "You need a user \"${u}\"."
57
		echo "You need a user \"${u}\"."
58
		if which -s pw && yesno "Would you like me to create it" y
58
		if which -s pw && yesno "Would you like me to create it" y
59
		then
59
		then
60
			pw useradd ${u} -g ${g} -h - -s /sbin/nologin -c "${gcos}" || exit
60
			pw useradd ${u} -g ${g} -c "${gcos}" -d /nonexistent -s /sbin/nologin -h - || exit
61
			echo "Done."
61
			echo "Done."
62
		else
62
		else
63
			echo "Please create it, and try again."
63
			echo "Please create it, and try again."
(-)dovecot/pkg-plist (-14 / +28 lines)
Lines 1-29 Link Here
1
@comment $FreeBSD: ports/mail/dovecot/pkg-plist,v 1.14 2005/12/20 11:55:11 edwin Exp $
1
@comment $FreeBSD: ports/mail/dovecot/pkg-plist,v 1.14 2005/12/20 11:55:11 edwin Exp $
2
etc/dovecot-example.conf
2
etc/dovecot-example.conf
3
lib/dovecot/imap/libimap_quota_plugin.a
3
lib/dovecot/imap/lib01_convert_plugin.so
4
lib/dovecot/imap/libimap_quota_plugin.la
4
lib/dovecot/imap/lib01_quota_plugin.so
5
lib/dovecot/imap/libimap_quota_plugin.so
5
lib/dovecot/imap/lib01_zlib_plugin.a
6
lib/dovecot/imap/libquota_plugin.so
6
lib/dovecot/imap/lib01_zlib_plugin.la
7
lib/dovecot/imap/libtrash_plugin.so
7
lib/dovecot/imap/lib01_zlib_plugin.so
8
lib/dovecot/imap/lib02_imap_quota_plugin.a
9
lib/dovecot/imap/lib02_imap_quota_plugin.la
10
lib/dovecot/imap/lib02_imap_quota_plugin.so
11
lib/dovecot/imap/lib02_trash_plugin.so
8
@dirrm lib/dovecot/imap
12
@dirrm lib/dovecot/imap
9
lib/dovecot/lda/libquota_plugin.so
13
lib/dovecot/pop3/lib01_convert_plugin.so
10
lib/dovecot/lda/libtrash_plugin.so
14
@dirrm lib/dovecot/pop3
15
lib/dovecot/lda/lib01_convert_plugin.so
16
lib/dovecot/lda/lib01_quota_plugin.so
17
lib/dovecot/lda/lib02_trash_plugin.so
11
@dirrm lib/dovecot/lda
18
@dirrm lib/dovecot/lda
12
lib/dovecot/libquota_plugin.a
19
lib/dovecot/lib01_convert_plugin.a
13
lib/dovecot/libquota_plugin.la
20
lib/dovecot/lib01_convert_plugin.la
14
lib/dovecot/libquota_plugin.so
21
lib/dovecot/lib01_convert_plugin.so
15
lib/dovecot/libtrash_plugin.a
22
lib/dovecot/lib01_quota_plugin.a
16
lib/dovecot/libtrash_plugin.la
23
lib/dovecot/lib01_quota_plugin.la
17
lib/dovecot/libtrash_plugin.so
24
lib/dovecot/lib01_quota_plugin.so
25
lib/dovecot/lib02_trash_plugin.a
26
lib/dovecot/lib02_trash_plugin.la
27
lib/dovecot/lib02_trash_plugin.so
18
@dirrm lib/dovecot
28
@dirrm lib/dovecot
19
libexec/dovecot/checkpassword-reply
29
libexec/dovecot/checkpassword-reply
20
libexec/dovecot/deliver
30
libexec/dovecot/dict
21
libexec/dovecot/dovecot-auth
31
libexec/dovecot/dovecot-auth
32
libexec/dovecot/gdbhelper
22
libexec/dovecot/imap
33
libexec/dovecot/imap
23
libexec/dovecot/imap-login
34
libexec/dovecot/imap-login
24
libexec/dovecot/pop3
35
libexec/dovecot/pop3
25
libexec/dovecot/pop3-login
36
libexec/dovecot/pop3-login
26
libexec/dovecot/rawlog
37
libexec/dovecot/rawlog
38
libexec/dovecot/ssl-build-param
27
@dirrm libexec/dovecot
39
@dirrm libexec/dovecot
28
sbin/dovecot
40
sbin/dovecot
29
sbin/dovecotpw
41
sbin/dovecotpw
42
share/dovecot/mkcert.sh
43
@dirrm share/dovecot

Return to bug 93250