diff options
author | garga <garga@FreeBSD.org> | 2010-06-03 01:40:40 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2010-06-03 01:40:40 +0800 |
commit | f8205abaa78ae6feaa47c7490dd5adf0f97d1f8a (patch) | |
tree | 1b628123c58932383a8c7e2733dd8ef1f8887774 /mail | |
parent | 3705830c9489a08a139ea9e8699c0ff10e34adda (diff) | |
download | freebsd-ports-gnome-f8205abaa78ae6feaa47c7490dd5adf0f97d1f8a.tar.gz freebsd-ports-gnome-f8205abaa78ae6feaa47c7490dd5adf0f97d1f8a.tar.zst freebsd-ports-gnome-f8205abaa78ae6feaa47c7490dd5adf0f97d1f8a.zip |
- Update to 2.5.0
- Add new option WITH_DOVECOTAUTH
PR: ports/147302
Submitted by: Marko Njezic <mrmax063@maxempire.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/maildrop/Makefile | 16 | ||||
-rw-r--r-- | mail/maildrop/distinfo | 9 | ||||
-rw-r--r-- | mail/maildrop/files/patch-dbobj.h.in | 14 | ||||
-rw-r--r-- | mail/maildrop/pkg-plist | 1 |
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 |