Lines 16-24
Link Here
|
16 |
# NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary |
16 |
# NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary |
17 |
# to use |
17 |
# to use |
18 |
# MAILDROP_LOG_COLUMNS lenght of 'File:' line in log - 8; default: 72 |
18 |
# MAILDROP_LOG_COLUMNS lenght of 'File:' line in log - 8; default: 72 |
|
|
19 |
# WITH_DOVECOTAUTH=yes Enable optional support for Dovecot Authentication |
20 |
# extension (http://wiki.dovecot.org/maildrop/) |
19 |
|
21 |
|
20 |
PORTNAME= maildrop |
22 |
PORTNAME= maildrop |
21 |
PORTVERSION= 2.4.3 |
23 |
PORTVERSION= 2.5.0 |
22 |
CATEGORIES= mail |
24 |
CATEGORIES= mail |
23 |
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION} |
25 |
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION} |
24 |
|
26 |
|
Lines 76-81
Link Here
|
76 |
CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}" |
78 |
CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}" |
77 |
.endif |
79 |
.endif |
78 |
|
80 |
|
|
|
81 |
.if defined(WITH_DOVECOTAUTH) |
82 |
PATCH_SITES+= http://www.max.rs/ozone/ |
83 |
PATCHFILES+= maildrop-2.3.0-dovecotauth.patch.txt |
84 |
PATCH_DIST_STRIP= -p1 |
85 |
PLIST_SUB+= DOVECOTAUTH="" |
86 |
.else |
87 |
PLIST_SUB+= DOVECOTAUTH="@comment " |
88 |
.endif |
89 |
|
79 |
post-patch: |
90 |
post-patch: |
80 |
@${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \ |
91 |
@${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \ |
81 |
${WRKSRC}/maildrop/log.C |
92 |
${WRKSRC}/maildrop/log.C |
Lines 112-117
Link Here
|
112 |
${PREFIX}/etc/quotawarnmsg.sample |
123 |
${PREFIX}/etc/quotawarnmsg.sample |
113 |
.if !defined(NOPORTDOCS) |
124 |
.if !defined(NOPORTDOCS) |
114 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
125 |
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} |
|
|
126 |
.if defined(WITH_DOVECOTAUTH) |
127 |
${INSTALL_DATA} ${WRKSRC}/README.dovecotauth ${DOCSDIR} |
128 |
.endif |
115 |
.endif |
129 |
.endif |
116 |
.if defined(MAILDROP_SUID) |
130 |
.if defined(MAILDROP_SUID) |
117 |
${CHMOD} u+s ${PREFIX}/bin/maildrop |
131 |
${CHMOD} u+s ${PREFIX}/bin/maildrop |