summaryrefslogtreecommitdiff
path: root/mail/maildrop
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-06-02 17:40:40 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-06-02 17:40:40 +0000
commit69acddd657db96128c42597193e21572520c3a19 (patch)
tree836e6bd2ec7eb36c0dd4c9ffba325a389347a99e /mail/maildrop
parentAccordingly update third-party headers_more module from 0.08 to 0.09. (diff)
- Update to 2.5.0
- Add new option WITH_DOVECOTAUTH PR: ports/147302 Submitted by: Marko Njezic <mrmax063@maxempire.com>
Notes
Notes: svn path=/head/; revision=255567
Diffstat (limited to 'mail/maildrop')
-rw-r--r--mail/maildrop/Makefile16
-rw-r--r--mail/maildrop/distinfo9
-rw-r--r--mail/maildrop/files/patch-dbobj.h.in14
-rw-r--r--mail/maildrop/pkg-plist1
4 files changed, 22 insertions, 18 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 833a533b3137..90eb25a86a17 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -16,9 +16,11 @@
# NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary
# to use
# MAILDROP_LOG_COLUMNS lenght of 'File:' line in log - 8; default: 72
+# WITH_DOVECOTAUTH=yes Enable optional support for Dovecot Authentication
+# extension (http://wiki.dovecot.org/maildrop/)
PORTNAME= maildrop
-PORTVERSION= 2.4.3
+PORTVERSION= 2.5.0
CATEGORIES= mail
MASTER_SITES= SF/courier/${PORTNAME}/${PORTVERSION}
@@ -76,6 +78,15 @@ USE_FAM= yes
CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}"
.endif
+.if defined(WITH_DOVECOTAUTH)
+PATCH_SITES+= http://www.max.rs/ozone/
+PATCHFILES+= maildrop-2.3.0-dovecotauth.patch.txt
+PATCH_DIST_STRIP= -p1
+PLIST_SUB+= DOVECOTAUTH=""
+.else
+PLIST_SUB+= DOVECOTAUTH="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \
${WRKSRC}/maildrop/log.C
@@ -112,6 +123,9 @@ post-install:
${PREFIX}/etc/quotawarnmsg.sample
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.if defined(WITH_DOVECOTAUTH)
+ ${INSTALL_DATA} ${WRKSRC}/README.dovecotauth ${DOCSDIR}
+.endif
.endif
.if defined(MAILDROP_SUID)
${CHMOD} u+s ${PREFIX}/bin/maildrop
diff --git a/mail/maildrop/distinfo b/mail/maildrop/distinfo
index 612117b12d36..4c8a72d89373 100644
--- a/mail/maildrop/distinfo
+++ b/mail/maildrop/distinfo
@@ -1,3 +1,6 @@
-MD5 (maildrop-2.4.3.tar.bz2) = 15b7528ba5e7ab76e676596af6bcd1c9
-SHA256 (maildrop-2.4.3.tar.bz2) = b4f54f5ff659bf09e197141da5d19097091bc4b05fb19a7f73d1cbb996aed310
-SIZE (maildrop-2.4.3.tar.bz2) = 2413480
+MD5 (maildrop-2.5.0.tar.bz2) = efdd9a1324aa0c5b427a77d305ed5ecb
+SHA256 (maildrop-2.5.0.tar.bz2) = 49a35a29bf57b85e18577c8c270550ae43f5a772dd234d3f3b3564b88c4ef4ad
+SIZE (maildrop-2.5.0.tar.bz2) = 2413245
+MD5 (maildrop-2.3.0-dovecotauth.patch.txt) = f5e0fd910d76c4fba2a5fcdd40c6b375
+SHA256 (maildrop-2.3.0-dovecotauth.patch.txt) = 8a7ad72885da854649ea9057f3276b4377b30f67e647f71ec0ad35597769166f
+SIZE (maildrop-2.3.0-dovecotauth.patch.txt) = 22040
diff --git a/mail/maildrop/files/patch-dbobj.h.in b/mail/maildrop/files/patch-dbobj.h.in
deleted file mode 100644
index 2f67d3a8ebdf..000000000000
--- a/mail/maildrop/files/patch-dbobj.h.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- dbobj.h.in.orig 2000-07-02 08:41:53.000000000 +0900
-+++ dbobj.h.in 2009-07-01 19:58:56.000000000 +0900
-@@ -29,9 +29,9 @@
- #define dbobj_nextkey gdbmobj_nextkey
-
- #define DBNAME "gdbm"
--#endif
-
--#if @USE_DB@
-+#else
-+
- #include "bdbobj/bdbobj.h"
- #define DbObj BDbObj
-
diff --git a/mail/maildrop/pkg-plist b/mail/maildrop/pkg-plist
index 2d8be89c8ac1..e35e0528d097 100644
--- a/mail/maildrop/pkg-plist
+++ b/mail/maildrop/pkg-plist
@@ -14,6 +14,7 @@ etc/quotawarnmsg.sample
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
%%PORTDOCS%%%%DOCSDIR%%/README
+%%DOVECOTAUTH%%%%PORTDOCS%%%%DOCSDIR%%/README.dovecotauth
%%PORTDOCS%%%%DOCSDIR%%/README.html
%%PORTDOCS%%%%DOCSDIR%%/README.imapkeywords.html
%%PORTDOCS%%%%DOCSDIR%%/README.maildirfilter.html