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

(-)Makefile (-129 / +71 lines)
Lines 4-18 Link Here
4
PORTNAME=	dovecot
4
PORTNAME=	dovecot
5
PORTVERSION=	1.2.17
5
PORTVERSION=	1.2.17
6
CATEGORIES=	mail ipv6
6
CATEGORIES=	mail ipv6
7
MASTER_SITES=	http://www.dovecot.org/releases/${DOVECOTVERSION}/ \
7
MASTER_SITES=	http://www.dovecot.org/releases/${PORTVERSION:R}/ \
8
		http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
8
		http://www.rename-it.nl/dovecot/${PORTVERSION:R}/
9
9
10
MAINTAINER=	yds@CoolRat.org
10
MAINTAINER=	yds@CoolRat.org
11
COMMENT=	Secure and compact IMAP and POP3 servers
11
COMMENT=	Secure and compact IMAP and POP3 servers
12
12
13
CONFLICTS=	dovecot2-*
13
LICENSE=	LGPL21 MIT
14
LICENSE_COMB=	dual
14
15
15
DOVECOTVERSION=	1.2
16
CONFLICTS=	dovecot2-2.[0-9].*
16
17
17
######################################################################
18
######################################################################
18
# Anytime PORTVERSION changes please bump PORTREVISIONs of           #
19
# Anytime PORTVERSION changes please bump PORTREVISIONs of           #
Lines 30-74 Link Here
30
USE_RC_SUBR=	dovecot
31
USE_RC_SUBR=	dovecot
31
32
32
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
33
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
34
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
34
CONFIGURE_ARGS=		--localstatedir=/var \
35
CONFIGURE_ARGS=	--localstatedir=/var \
35
			--with-statedir=/var/db/dovecot \
36
		--with-statedir=/var/db/dovecot \
36
			--without-shadow
37
		--without-shadow
37
CPPFLAGS+=	-I${LOCALBASE}/include
38
38
LDFLAGS+=	-L${LOCALBASE}/lib
39
USE_LDCONFIG=	${PREFIX}/lib/dovecot \
39
USE_LDCONFIG=	${PREFIX}/lib/dovecot \
40
		${PREFIX}/lib/dovecot/imap \
40
		${PREFIX}/lib/dovecot/imap \
41
		${PREFIX}/lib/dovecot/pop3 \
41
		${PREFIX}/lib/dovecot/pop3 \
42
		${PREFIX}/lib/dovecot/lda
42
		${PREFIX}/lib/dovecot/lda
43
43
44
.if defined(NOPORTDOCS)
44
USERS=		dovecot
45
CONFIGURE_ARGS+=	--without-docs
45
GROUPS=		${USERS}
46
.else
47
DOCS=		AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README
48
PORTDOCS=	*.txt wiki ${DOCS}
49
.endif
50
46
51
DOVECOT_UID?=	143
52
DOVECOT_GID?=	143
53
54
PROTOCOLS=	imap pop3
47
PROTOCOLS=	imap pop3
55
48
49
# Default requirement for dovecot rc script
50
_REQUIRE=	LOGIN
51
56
OPTIONS_DEFINE=	KQUEUE SSL MANAGESIEVE GSSAPI VPOPMAIL BDB LDAP PGSQL MYSQL SQLITE
52
OPTIONS_DEFINE=	KQUEUE SSL MANAGESIEVE GSSAPI VPOPMAIL BDB LDAP PGSQL MYSQL SQLITE
57
OPTIONS_DEFAULT=	KQUEUE SSL MANAGESIEVE
53
OPTIONS_DEFAULT=	KQUEUE SSL MANAGESIEVE
58
KQUEUE_DESC=		kqueue(2) support
54
KQUEUE_DESC=		kqueue(2) support
59
MANAGESIEVE_DESC=	ManageSieve support
55
MANAGESIEVE_DESC=	ManageSieve support
60
VPOPMAIL_DESC=		VPopMail support
56
VPOPMAIL_DESC=		VPopMail support
61
57
62
NO_STAGE=	yes
58
OPTIONS_SUB=		yes
63
.include <bsd.port.pre.mk>
59
BDB_CFLAGS=		-I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR}
60
BDB_CONFIGURE_WITH=	db
61
BDB_USE=		BDB=48+
62
DOCS_CONFIGURE_WITH=	docs
63
GSSAPI_CONFIGURE_WITH=	gssapi
64
GSSAPI_LDFLAGS=		-lgssapi_krb5
65
KQUEUE_CONFIGURE_ON=	--with-ioloop=kqueue
66
LDAP_CONFIGURE_WITH=	ldap
67
LDAP_USE=		OPENLDAP=yes
68
MYSQL_CONFIGURE_WITH=	mysql
69
MYSQL_USE=		MYSQL=yes
70
PGSQL_CONFIGURE_WITH=	pgsql
71
PGSQL_USE=		PGSQL=yes
72
SQLITE_CONFIGURE_WITH=	sqlite
73
SQLITE_USE=		SQLITE=3
74
SSL_CONFIGURE_OFF=	--without-ssl
75
SSL_CONFIGURE_ON=	--with-ssl=openssl
76
VPOPMAIL_CONFIGURE_WITH=vpopmail
64
77
78
.include <bsd.port.options.mk>
79
65
.if ${ARCH} == "arm"
80
.if ${ARCH} == "arm"
66
BROKEN=		Does not build on arm
81
BROKEN=		Does not build on arm
67
.endif
82
.endif
68
83
69
# Default requirement for dovecot rc script
84
DOCS=		AUTHORS COPYING COPYING.LGPL COPYING.MIT INSTALL NEWS TODO README
70
_REQUIRE=	LOGIN
85
PORTDOCS=	*
71
86
87
.if ${PORT_OPTIONS:MSSL}
88
PROTOCOLS+=	imaps pop3s
89
.endif
90
91
.if ${PORT_OPTIONS:MLDAP}
92
_REQUIRE+=	slapd
93
.endif
94
95
.if ${PORT_OPTIONS:MPGSQL}
96
_REQUIRE+=	postgresql
97
.endif
98
99
.if ${PORT_OPTIONS:MMYSQL}
100
_REQUIRE+=	mysql
101
.endif
102
103
SUB_LIST+=	REQUIRE="${_REQUIRE}"
104
SUB_FILES+=	pkg-deinstall pkg-message
105
72
# sed script for dovecot.conf
106
# sed script for dovecot.conf
73
REINPLACE=	s!%%PROTOCOLS%%!${PROTOCOLS}!g;\
107
REINPLACE=	s!%%PROTOCOLS%%!${PROTOCOLS}!g;\
74
		s!/usr/!${PREFIX}/!g;\
108
		s!/usr/!${PREFIX}/!g;\
Lines 78-99 Link Here
78
		s![[:<:]]doc/(dovecot-[^-]+)-example.conf[[:>:]]!${EXAMPLESDIR}/\1.conf!g;\
112
		s![[:<:]]doc/(dovecot-[^-]+)-example.conf[[:>:]]!${EXAMPLESDIR}/\1.conf!g;\
79
		s!\#sendmail_path = /usr/.*!sendmail_path = /usr/sbin/sendmail!g;
113
		s!\#sendmail_path = /usr/.*!sendmail_path = /usr/sbin/sendmail!g;
80
114
81
## kqueue(2) support
82
#
83
.if ${PORT_OPTIONS:MKQUEUE}
84
CONFIGURE_ARGS+=	--with-ioloop=kqueue
85
.endif
86
87
## SSL support
88
#
89
.if ${PORT_OPTIONS:MSSL}
90
PROTOCOLS+=		imaps pop3s
91
.else
92
CONFIGURE_ARGS+=	--without-ssl
93
.endif
94
95
## ManageSieve support
96
#
97
.if ${PORT_OPTIONS:MMANAGESIEVE}
115
.if ${PORT_OPTIONS:MMANAGESIEVE}
98
MANAGESIEVEVERSION!=	${MAKE} -C ${.CURDIR}/../dovecot-managesieve -V PORTVERSION
116
MANAGESIEVEVERSION!=	${MAKE} -C ${.CURDIR}/../dovecot-managesieve -V PORTVERSION
99
PATCH_SITES!=		${MAKE} -C ${.CURDIR}/../dovecot-managesieve -V MASTER_SITES
117
PATCH_SITES!=		${MAKE} -C ${.CURDIR}/../dovecot-managesieve -V MASTER_SITES
Lines 103-189 Link Here
103
DOCS+=			README.managesieve
121
DOCS+=			README.managesieve
104
.endif
122
.endif
105
123
106
## GSSAPI support
107
#
108
.if ${PORT_OPTIONS:MGSSAPI}
109
CONFIGURE_ARGS+=	--with-gssapi
110
LDFLAGS+=		-lgssapi_krb5
111
.else
112
CONFIGURE_ARGS+=	--without-gssapi
113
.endif
114
115
## VPopMail Support
116
#
117
.if ${PORT_OPTIONS:MVPOPMAIL}
124
.if ${PORT_OPTIONS:MVPOPMAIL}
118
VPOPMAIL=		${LOCALBASE}/vpopmail/bin/vchkpw
125
VPOPMAIL=		${LOCALBASE}/vpopmail/bin/vchkpw
119
BUILD_DEPENDS+=		${VPOPMAIL}:${PORTSDIR}/mail/vpopmail
126
BUILD_DEPENDS+=		${VPOPMAIL}:${PORTSDIR}/mail/vpopmail
120
CONFIGURE_ARGS+=	--with-vpopmail
121
.else
122
CONFIGURE_ARGS+=	--without-vpopmail
123
.endif
127
.endif
124
128
125
## BDB Support
126
#
127
.if ${PORT_OPTIONS:MBDB}
129
.if ${PORT_OPTIONS:MBDB}
128
USE_BDB=		42+
130
REINPLACE+=	s!^\#(dict_db_config)!\1!;
129
CONFIGURE_ARGS+=	--with-db
130
CFLAGS+=		-I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR}
131
PLIST_SUB+=		BDB=""
132
REINPLACE+=		s!^\#(dict_db_config)!\1!;
133
.else
134
PLIST_SUB+=		BDB="@comment "
135
.endif
131
.endif
136
132
137
## OpenLDAP Support
133
.if ${PORT_OPTIONS:MPGSQL} || ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MSQLITE}
138
#
134
PLIST_SUB+=	SQL=""
139
.if ${PORT_OPTIONS:MLDAP}
140
USE_OPENLDAP=		yes
141
CONFIGURE_ARGS+=	--with-ldap
142
PLIST_SUB+=		LDAP=""
143
_REQUIRE+=		slapd
144
.else
135
.else
145
CONFIGURE_ARGS+=	--without-ldap
136
PLIST_SUB+=	SQL="@comment "
146
PLIST_SUB+=		LDAP="@comment "
147
.endif
137
.endif
148
138
149
## PostgreSQL Support
150
#
151
.if ${PORT_OPTIONS:MPGSQL}
152
USE_PGSQL=		yes
153
CONFIGURE_ARGS+=	--with-pgsql
154
PLIST_SUB+=		SQL=""
155
_REQUIRE+=		postgresql
156
.else
157
CONFIGURE_ARGS+=	--without-pgsql
158
PLIST_SUB+=		SQL="@comment "
159
.endif
160
161
## MySQL Support
162
#
163
.if ${PORT_OPTIONS:MMYSQL}
164
USE_MYSQL=		yes
165
CONFIGURE_ARGS+=	--with-mysql
166
PLIST_SUB+=		SQL=""
167
_REQUIRE+=		mysql
168
.else
169
CONFIGURE_ARGS+=	--without-mysql
170
PLIST_SUB+=		SQL="@comment "
171
.endif
172
173
## SQLite Support
174
#
175
.if ${PORT_OPTIONS:MSQLITE}
176
USE_SQLITE=		3
177
CONFIGURE_ARGS+=	--with-sqlite
178
PLIST_SUB+=		SQL=""
179
.else
180
CONFIGURE_ARGS+=	--without-sqlite
181
PLIST_SUB+=		SQL="@comment "
182
.endif
183
184
SUB_LIST+=		REQUIRE="${_REQUIRE}" DOVECOT_UID=${DOVECOT_UID} DOVECOT_GID=${DOVECOT_GID}
185
SUB_FILES+=		pkg-install pkg-deinstall pkg-message
186
187
post-patch:
139
post-patch:
188
	@${REINPLACE_CMD} -E -e '${REINPLACE}' \
140
	@${REINPLACE_CMD} -E -e '${REINPLACE}' \
189
		${WRKSRC}/dovecot-example.conf
141
		${WRKSRC}/dovecot-example.conf
Lines 197-223 Link Here
197
	@${LN} -f ${WRKSRC}/doc/dovecot-ldap-example.conf	${WRKSRC}/doc/dovecot-ldap.conf
149
	@${LN} -f ${WRKSRC}/doc/dovecot-ldap-example.conf	${WRKSRC}/doc/dovecot-ldap.conf
198
	@${LN} -f ${WRKSRC}/doc/dovecot-sql-example.conf	${WRKSRC}/doc/dovecot-sql.conf
150
	@${LN} -f ${WRKSRC}/doc/dovecot-sql-example.conf	${WRKSRC}/doc/dovecot-sql.conf
199
151
200
pre-su-install:
152
post-install:
201
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
153
	${INSTALL_DATA} ${WRKSRC}/dovecot.conf ${STAGEDIR}${EXAMPLESDIR}
154
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-db.conf ${STAGEDIR}${EXAMPLESDIR}
155
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-dict-sql.conf ${STAGEDIR}${EXAMPLESDIR}
156
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-ldap.conf ${STAGEDIR}${EXAMPLESDIR}
157
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-sql.conf ${STAGEDIR}${EXAMPLESDIR}
158
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${STAGEDIR}${EXAMPLESDIR}
159
	${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${STAGEDIR}${EXAMPLESDIR}
202
160
203
post-install:
204
	${INSTALL_DATA} ${WRKSRC}/dovecot.conf ${EXAMPLESDIR}
205
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-db.conf ${EXAMPLESDIR}
206
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-dict-sql.conf ${EXAMPLESDIR}
207
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-ldap.conf ${EXAMPLESDIR}
208
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-sql.conf ${EXAMPLESDIR}
209
	${INSTALL_DATA} ${WRKSRC}/doc/dovecot-openssl.cnf ${EXAMPLESDIR}
210
	${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EXAMPLESDIR}
211
	@${GREP} '^@exec ' ${TMPPLIST} \
212
		| ${SED} -e 's:^@exec ::; s:%D:${PREFIX}:g;' \
213
		> ${WRKDIR}/.PLIST.exec \
214
		&& ${SH} ${WRKDIR}/.PLIST.exec
215
.if ${PORT_OPTIONS:MDOCS}
161
.if ${PORT_OPTIONS:MDOCS}
216
.for f in ${DOCS}
162
	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
217
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
218
.endfor
219
.endif
163
.endif
220
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
221
	@${CAT} ${PKGMESSAGE}
222
164
223
.include <bsd.port.post.mk>
165
.include <bsd.port.mk>
(-)files/pkg-deinstall.in (-55 / +1 lines)
Lines 3-64 Link Here
3
#	$FreeBSD: /tmp/pcvs/ports/mail/dovecot/files/pkg-deinstall.in,v 1.2 2008-11-28 14:38:26 wxs Exp $
3
#	$FreeBSD: /tmp/pcvs/ports/mail/dovecot/files/pkg-deinstall.in,v 1.2 2008-11-28 14:38:26 wxs Exp $
4
#
4
#
5
5
6
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
7
8
ask() {
9
	local question default answer
10
11
	question=$1
12
	default=$2
13
	if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
14
		read -p "${question} [${default}]? " answer
15
	fi
16
	echo ${answer:-${default}}
17
}
18
19
yesno() {
20
	local question default answer
21
22
	question=$1
23
	default=$2
24
	while :; do
25
		answer=$(ask "${question}" "${default}")
26
		case "${answer}" in
27
		[Yy]*)	return 0;;
28
		[Nn]*)	return 1;;
29
		esac
30
		echo "Please answer yes or no."
31
	done
32
}
33
34
delete_account() {
35
	local port user uid group gid
36
37
	port=$1
38
	user=${2%:*}
39
	uid=${2#*:}
40
	group=${3%:*}
41
	gid=${3#*:}
42
43
	echo "If you do not intend to reinstall ${port}, you should manually"
44
	echo "remove user '${user}' (uid='${uid}') and group '${group}' (gid='${gid}')."
45
}
46
47
case $2 in
6
case $2 in
48
49
DEINSTALL)
7
DEINSTALL)
50
	if ps -axc | grep -qw dovecot; then
8
	echo "If you don't intend on reinstalling this port you should manually 'rm -rf /var/db/dovecot' if anything was stored there."
51
		if yesno "Dovecot is still running. Shall I stop it?" y; then
52
			${PKG_PREFIX}/etc/rc.d/dovecot stop
53
			sleep 2
54
		else
55
			echo "OK ... I hope you know what you are doing."
56
		fi
57
	fi
58
59
	delete_account Dovecot dovecot:${DOVECOT_UID:-%%DOVECOT_UID%%} dovecot:${DOVECOT_GID:-%%DOVECOT_GID%%}
60
61
	echo "Also manually 'rm -rf /var/db/dovecot' if anything was stored there."
62
	;;
9
	;;
63
64
esac
10
esac
(-)files/pkg-install.in (-92 lines)
Lines 1-92 Link Here
1
#!/bin/sh
2
#
3
#	$FreeBSD: /tmp/pcvs/ports/mail/dovecot/files/pkg-install.in,v 1.2 2008-11-28 14:38:26 wxs Exp $
4
#
5
6
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
7
8
ask() {
9
	local question default answer
10
11
	question=$1
12
	default=$2
13
	if [ -z "${PACKAGE_BUILDING}" -a -z "${BATCH}" ]; then
14
		read -p "${question} [${default}]? " answer
15
	fi
16
	echo ${answer:-${default}}
17
}
18
19
yesno() {
20
	local question default answer
21
22
	question=$1
23
	default=$2
24
	while :; do
25
		answer=$(ask "${question}" "${default}")
26
		case "${answer}" in
27
		[Yy]*)	return 0;;
28
		[Nn]*)	return 1;;
29
		esac
30
		echo "Please answer yes or no."
31
	done
32
}
33
34
create_account() {
35
	local port user uid group gid gcos home shell
36
37
	port=$1
38
	user=${2%:*}
39
	uid=${2#*:}
40
	group=${3%:*}
41
	gid=${3#*:}
42
	gcos=$4
43
	home=$5
44
	shell=$6
45
46
	pw_user_uid=$(pw usershow -n "${user}" 2>/dev/null | cut -d: -f3)
47
	pw_uid_user=$(pw usershow -u "${uid}" 2>/dev/null | cut -d: -f1)
48
	pw_group_gid=$(pw groupshow -n "${group}" 2>/dev/null | cut -d: -f3)
49
	pw_gid_group=$(pw groupshow -g "${gid}" 2>/dev/null | cut -d: -f1)
50
51
	if [ -z "${pw_group_gid}" -a -z "${pw_gid_group}" ]; then
52
		echo "You need a ${group} group; creating it..."
53
		pw groupadd "${group}" -g "${gid}" || exit
54
		echo "Done."
55
	elif [ "${gid}" = "${pw_group_gid}" -a "${group}" = "${pw_gid_group}" ]; then
56
		echo "Using existing ${group} group."
57
	else
58
		echo "${port} has reserved the groupname '${group}' and gid '${gid}':"
59
		[ -n "${pw_group_gid}" -a "${gid}"   != "${pw_group_gid}" ] \
60
			&& echo "ERROR: groupname '${group}' already in use by gid '${pw_group_gid}'"
61
		[ -n "${pw_gid_group}" -a "${group}" != "${pw_gid_group}" ] \
62
			&& echo "ERROR: gid '${gid}' already in use by group '${pw_gid_group}'"
63
		echo "Please resolve these issues and try again:"
64
		echo "Either remove the conflicting group or if you wish to continue using a legacy group override DOVECOT_GID."
65
		exit 1
66
	fi
67
68
	if [ -z "${pw_user_uid}" -a -z "${pw_uid_user}" ]; then
69
		echo "You need a ${user} user; creating it..."
70
		pw useradd "${user}" -u "${uid}" -g "${group}" -c "${gcos}" -d "${home}" -s "${shell}"
71
		echo "Done."
72
	elif [ "${uid}" = "${pw_user_uid}" -a "${user}" = "${pw_uid_user}" ]; then
73
		echo "Using existing ${user} user."
74
	else
75
		echo "${port} has reserved the username '${user}' and uid '${uid}':"
76
		[ -n "${pw_user_uid}" -a "${uid}"  != "${pw_user_uid}" ] \
77
			&& echo "ERROR: username '${user}' already in use by uid '${pw_user_uid}'"
78
		[ -n "${pw_uid_user}" -a "${user}" != "${pw_uid_user}" ] \
79
			&& echo "ERROR: uid '${uid}' already in use by user '${pw_uid_user}'"
80
		echo "Please resolve these issues and try again:"
81
		echo "Either remove the conflicting user or if you wish to continue using a legacy user override DOVECOT_UID."
82
		exit 1
83
	fi
84
}
85
86
case $2 in
87
88
PRE-INSTALL)
89
	create_account Dovecot dovecot:${DOVECOT_UID:-%%DOVECOT_UID%%} dovecot:${DOVECOT_GID:-%%DOVECOT_GID%%} "Dovecot User" /var/empty /usr/sbin/nologin
90
	;;
91
92
esac
(-)pkg-plist (-33 / +33 lines)
Lines 1-8 Link Here
1
@dirrmtry include/dovecot
2
lib/dovecot/imap/lib01_acl_plugin.so
1
lib/dovecot/imap/lib01_acl_plugin.so
2
lib/dovecot/imap/lib02_imap_acl_plugin.a
3
lib/dovecot/imap/lib02_imap_acl_plugin.la
3
lib/dovecot/imap/lib02_imap_acl_plugin.so
4
lib/dovecot/imap/lib02_imap_acl_plugin.so
4
lib/dovecot/imap/lib02_imap_acl_plugin.la
5
lib/dovecot/imap/lib02_imap_acl_plugin.a
6
lib/dovecot/imap/lib02_lazy_expunge_plugin.so
5
lib/dovecot/imap/lib02_lazy_expunge_plugin.so
7
lib/dovecot/imap/lib10_quota_plugin.so
6
lib/dovecot/imap/lib10_quota_plugin.so
8
lib/dovecot/imap/lib11_imap_quota_plugin.a
7
lib/dovecot/imap/lib11_imap_quota_plugin.a
Lines 19-25 Link Here
19
lib/dovecot/imap/lib20_virtual_plugin.so
18
lib/dovecot/imap/lib20_virtual_plugin.so
20
lib/dovecot/imap/lib20_zlib_plugin.so
19
lib/dovecot/imap/lib20_zlib_plugin.so
21
lib/dovecot/imap/lib21_fts_squat_plugin.so
20
lib/dovecot/imap/lib21_fts_squat_plugin.so
22
@dirrm lib/dovecot/imap
23
lib/dovecot/lda/lib01_acl_plugin.so
21
lib/dovecot/lda/lib01_acl_plugin.so
24
lib/dovecot/lda/lib10_quota_plugin.so
22
lib/dovecot/lda/lib10_quota_plugin.so
25
lib/dovecot/lda/lib11_trash_plugin.so
23
lib/dovecot/lda/lib11_trash_plugin.so
Lines 31-52 Link Here
31
lib/dovecot/lda/lib20_mail_log_plugin.so
29
lib/dovecot/lda/lib20_mail_log_plugin.so
32
lib/dovecot/lda/lib20_virtual_plugin.so
30
lib/dovecot/lda/lib20_virtual_plugin.so
33
lib/dovecot/lda/lib21_fts_squat_plugin.so
31
lib/dovecot/lda/lib21_fts_squat_plugin.so
34
@dirrmtry lib/dovecot/lda
35
lib/dovecot/pop3/lib20_autocreate_plugin.so
36
lib/dovecot/pop3/lib02_lazy_expunge_plugin.so
37
lib/dovecot/pop3/lib10_quota_plugin.so
38
lib/dovecot/pop3/lib20_convert_plugin.so
39
lib/dovecot/pop3/lib20_expire_plugin.so
40
lib/dovecot/pop3/lib20_fts_plugin.so
41
lib/dovecot/pop3/lib20_listescape_plugin.so
42
lib/dovecot/pop3/lib20_mail_log_plugin.so
43
lib/dovecot/pop3/lib20_mbox_snarf_plugin.so
44
lib/dovecot/pop3/lib20_virtual_plugin.so
45
lib/dovecot/pop3/lib20_zlib_plugin.so
46
lib/dovecot/pop3/lib21_fts_squat_plugin.so
47
@dirrm lib/dovecot/pop3
48
@exec install -o root -g wheel -m 0755 -d %D/lib/dovecot/auth
49
@dirrm lib/dovecot/auth
50
lib/dovecot/lib01_acl_plugin.a
32
lib/dovecot/lib01_acl_plugin.a
51
lib/dovecot/lib01_acl_plugin.la
33
lib/dovecot/lib01_acl_plugin.la
52
lib/dovecot/lib01_acl_plugin.so
34
lib/dovecot/lib01_acl_plugin.so
Lines 59-67 Link Here
59
lib/dovecot/lib11_trash_plugin.a
41
lib/dovecot/lib11_trash_plugin.a
60
lib/dovecot/lib11_trash_plugin.la
42
lib/dovecot/lib11_trash_plugin.la
61
lib/dovecot/lib11_trash_plugin.so
43
lib/dovecot/lib11_trash_plugin.so
44
lib/dovecot/lib20_autocreate_plugin.a
45
lib/dovecot/lib20_autocreate_plugin.la
62
lib/dovecot/lib20_autocreate_plugin.so
46
lib/dovecot/lib20_autocreate_plugin.so
63
lib/dovecot/lib20_autocreate_plugin.la
64
lib/dovecot/lib20_autocreate_plugin.a
65
lib/dovecot/lib20_convert_plugin.a
47
lib/dovecot/lib20_convert_plugin.a
66
lib/dovecot/lib20_convert_plugin.la
48
lib/dovecot/lib20_convert_plugin.la
67
lib/dovecot/lib20_convert_plugin.so
49
lib/dovecot/lib20_convert_plugin.so
Lines 71-95 Link Here
71
lib/dovecot/lib20_fts_plugin.a
53
lib/dovecot/lib20_fts_plugin.a
72
lib/dovecot/lib20_fts_plugin.la
54
lib/dovecot/lib20_fts_plugin.la
73
lib/dovecot/lib20_fts_plugin.so
55
lib/dovecot/lib20_fts_plugin.so
56
lib/dovecot/lib20_listescape_plugin.a
57
lib/dovecot/lib20_listescape_plugin.la
74
lib/dovecot/lib20_listescape_plugin.so
58
lib/dovecot/lib20_listescape_plugin.so
75
lib/dovecot/lib20_listescape_plugin.la
76
lib/dovecot/lib20_listescape_plugin.a
77
lib/dovecot/lib20_mail_log_plugin.a
59
lib/dovecot/lib20_mail_log_plugin.a
78
lib/dovecot/lib20_mail_log_plugin.la
60
lib/dovecot/lib20_mail_log_plugin.la
79
lib/dovecot/lib20_mail_log_plugin.so
61
lib/dovecot/lib20_mail_log_plugin.so
80
lib/dovecot/lib20_mbox_snarf_plugin.a
62
lib/dovecot/lib20_mbox_snarf_plugin.a
81
lib/dovecot/lib20_mbox_snarf_plugin.la
63
lib/dovecot/lib20_mbox_snarf_plugin.la
82
lib/dovecot/lib20_mbox_snarf_plugin.so
64
lib/dovecot/lib20_mbox_snarf_plugin.so
65
lib/dovecot/lib20_virtual_plugin.a
66
lib/dovecot/lib20_virtual_plugin.la
83
lib/dovecot/lib20_virtual_plugin.so
67
lib/dovecot/lib20_virtual_plugin.so
84
lib/dovecot/lib20_virtual_plugin.la
85
lib/dovecot/lib20_virtual_plugin.a
86
lib/dovecot/lib20_zlib_plugin.so
87
lib/dovecot/lib20_zlib_plugin.a
68
lib/dovecot/lib20_zlib_plugin.a
88
lib/dovecot/lib20_zlib_plugin.la
69
lib/dovecot/lib20_zlib_plugin.la
70
lib/dovecot/lib20_zlib_plugin.so
89
lib/dovecot/lib21_fts_squat_plugin.a
71
lib/dovecot/lib21_fts_squat_plugin.a
90
lib/dovecot/lib21_fts_squat_plugin.la
72
lib/dovecot/lib21_fts_squat_plugin.la
91
lib/dovecot/lib21_fts_squat_plugin.so
73
lib/dovecot/lib21_fts_squat_plugin.so
92
@dirrmtry lib/dovecot
74
lib/dovecot/pop3/lib02_lazy_expunge_plugin.so
75
lib/dovecot/pop3/lib10_quota_plugin.so
76
lib/dovecot/pop3/lib20_autocreate_plugin.so
77
lib/dovecot/pop3/lib20_convert_plugin.so
78
lib/dovecot/pop3/lib20_expire_plugin.so
79
lib/dovecot/pop3/lib20_fts_plugin.so
80
lib/dovecot/pop3/lib20_listescape_plugin.so
81
lib/dovecot/pop3/lib20_mail_log_plugin.so
82
lib/dovecot/pop3/lib20_mbox_snarf_plugin.so
83
lib/dovecot/pop3/lib20_virtual_plugin.so
84
lib/dovecot/pop3/lib20_zlib_plugin.so
85
lib/dovecot/pop3/lib21_fts_squat_plugin.so
93
libexec/dovecot/authtest
86
libexec/dovecot/authtest
94
libexec/dovecot/checkpassword-reply
87
libexec/dovecot/checkpassword-reply
95
libexec/dovecot/convert-tool
88
libexec/dovecot/convert-tool
Lines 110-121 Link Here
110
libexec/dovecot/rawlog
103
libexec/dovecot/rawlog
111
libexec/dovecot/ssl-build-param
104
libexec/dovecot/ssl-build-param
112
libexec/dovecot/threadview
105
libexec/dovecot/threadview
113
@dirrmtry libexec/dovecot
114
sbin/dovecot
106
sbin/dovecot
115
sbin/dovecotpw
107
sbin/dovecotpw
116
@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot.conf %D/etc/dovecot.conf; then rm -f %D/etc/dovecot.conf; fi
117
%%EXAMPLESDIR%%/dovecot.conf
118
@exec if [ ! -f %D/etc/dovecot.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot.conf %D/etc/dovecot.conf; fi
119
%%BDB%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-db.conf %D/etc/dovecot-db.conf; then rm -f %D/etc/dovecot-db.conf; fi
108
%%BDB%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-db.conf %D/etc/dovecot-db.conf; then rm -f %D/etc/dovecot-db.conf; fi
120
%%EXAMPLESDIR%%/dovecot-db.conf
109
%%EXAMPLESDIR%%/dovecot-db.conf
121
%%BDB%%@exec if [ ! -f %D/etc/dovecot-db.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-db.conf %D/etc/dovecot-db.conf; fi
110
%%BDB%%@exec if [ ! -f %D/etc/dovecot-db.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-db.conf %D/etc/dovecot-db.conf; fi
Lines 125-133 Link Here
125
%%LDAP%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-ldap.conf %D/etc/dovecot-ldap.conf; then rm -f %D/etc/dovecot-ldap.conf; fi
114
%%LDAP%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-ldap.conf %D/etc/dovecot-ldap.conf; then rm -f %D/etc/dovecot-ldap.conf; fi
126
%%EXAMPLESDIR%%/dovecot-ldap.conf
115
%%EXAMPLESDIR%%/dovecot-ldap.conf
127
%%LDAP%%@exec if [ ! -f %D/etc/dovecot-ldap.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-ldap.conf %D/etc/dovecot-ldap.conf; fi
116
%%LDAP%%@exec if [ ! -f %D/etc/dovecot-ldap.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-ldap.conf %D/etc/dovecot-ldap.conf; fi
117
%%EXAMPLESDIR%%/dovecot-openssl.cnf
128
%%SQL%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-sql.conf %D/etc/dovecot-sql.conf; then rm -f %D/etc/dovecot-sql.conf; fi
118
%%SQL%%@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot-sql.conf %D/etc/dovecot-sql.conf; then rm -f %D/etc/dovecot-sql.conf; fi
129
%%EXAMPLESDIR%%/dovecot-sql.conf
119
%%EXAMPLESDIR%%/dovecot-sql.conf
130
%%SQL%%@exec if [ ! -f %D/etc/dovecot-sql.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-sql.conf %D/etc/dovecot-sql.conf; fi
120
%%SQL%%@exec if [ ! -f %D/etc/dovecot-sql.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot-sql.conf %D/etc/dovecot-sql.conf; fi
131
%%EXAMPLESDIR%%/dovecot-openssl.cnf
121
@unexec if cmp -s %D/%%EXAMPLESDIR%%/dovecot.conf %D/etc/dovecot.conf; then rm -f %D/etc/dovecot.conf; fi
122
%%EXAMPLESDIR%%/dovecot.conf
123
@exec if [ ! -f %D/etc/dovecot.conf ]; then cp -p %D/%%EXAMPLESDIR%%/dovecot.conf %D/etc/dovecot.conf; fi
132
%%EXAMPLESDIR%%/mkcert.sh
124
%%EXAMPLESDIR%%/mkcert.sh
125
@dirrmtry include/dovecot
126
@dirrmtry lib/dovecot/auth
127
@dirrmtry lib/dovecot/imap
128
@dirrmtry lib/dovecot/lda
129
@dirrmtry lib/dovecot/pop3
130
@dirrmtry lib/dovecot
131
@dirrmtry libexec/dovecot
133
@dirrm %%EXAMPLESDIR%%
132
@dirrm %%EXAMPLESDIR%%
133
@exec install -o root -g wheel -m 0755 -d %D/lib/dovecot/auth

Return to bug 188868