Bug 186047 - Update mail/dbmail to 3.1.10
Summary: Update mail/dbmail to 3.1.10
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 19:10 UTC by Alan Hicks
Modified: 2014-01-23 23:00 UTC (History)
0 users

See Also:


Attachments
dbmail-319-3110.diff (1006 bytes, patch)
2014-01-23 19:10 UTC, Alan Hicks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hicks 2014-01-23 19:10:00 UTC
Upgrade mail/dbmail to 3.1.10
Minor bugfix:
- IMAP: prevent crash after mailbox delete by concurrent connections
- work-around for retrieving messages with a broken envelope header
- fix timeout behavior in non-threaded servers (#1036)
- IMAP: handle EOF in SSL connections better

Fix: Apply patch
Comment 1 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-23 21:48:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danilo

I'll take it.
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-01-23 22:52:48 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-23 22:52:49 UTC
Author: danilo
Date: Thu Jan 23 22:52:32 2014
New Revision: 340867
URL: http://svnweb.freebsd.org/changeset/ports/340867
QAT: https://qat.redports.org/buildarchive/r340867/

Log:
  - Update from 3.1.9 to 3.1.10
  
  while here
  - Convert all "if's" in options helpers
  
  PR:		ports/186047
  Submitted by:	Alan Hicks <ahicks@p-o.co.uk> (maintainer)

Modified:
  head/mail/dbmail/Makefile
  head/mail/dbmail/distinfo

Modified: head/mail/dbmail/Makefile
==============================================================================
--- head/mail/dbmail/Makefile	Thu Jan 23 22:40:23 2014	(r340866)
+++ head/mail/dbmail/Makefile	Thu Jan 23 22:52:32 2014	(r340867)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	dbmail
-PORTVERSION=	3.1.9
+PORTVERSION=	3.1.10
 CATEGORIES=	mail
 MASTER_SITES=	http://www.dbmail.org/download/3.1/ \
 		http://git.dbmail.eu/paul/dbmail/snapshot/
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgmime-2.6.so:${PORTSDIR}
 		libmhash.so:${PORTSDIR}/security/mhash \
 		libevent-2.0.so:${PORTSDIR}/devel/libevent2
 
-BUILD_DEPENDS+=	asciidoc:${PORTSDIR}/textproc/asciidoc \
+BUILD_DEPENDS=	asciidoc:${PORTSDIR}/textproc/asciidoc \
 		xmlto:${PORTSDIR}/textproc/xmlto \
 		${LOCALBASE}/share/sgml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-450
 
@@ -27,6 +27,8 @@ OPTIONS_DEFINE=	DOCS LDAP SIEVE THREADS
 OPTIONS_DEFAULT=	THREADS
 SIEVE_DESC=	Build with support for Sieve mail sorting language
 
+OPTIONS_SUB=	yes
+
 USE_AUTOTOOLS=	libtool autoheader autoconf
 USE_LDCONFIG=	${PREFIX}/lib/dbmail
 USE_RC_SUBR=	dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved
@@ -43,7 +45,13 @@ MAKE_ARGS+=	mandir=${MANPREFIX}/man
 
 DOCS=		AUTHORS BUGS INSTALL THANKS UPGRADING
 
-.include <bsd.port.options.mk>
+SIEVE_CONFIGURE_WITH=	sieve
+SIEVE_LIB_DEPENDS=	libsieve.so:${PORTSDIR}/mail/libsieve
+
+LDAP_CONFIGURE_WITH=	ldap
+LDAP_USE=		OPENLDAP=yes
+
+THREADS_EXTRA_PATCHES=	${FILESDIR}/extra-patch-acinclude.m4
 
 DBMAIL_USER?=	mailnull
 DBMAIL_GROUP?=	mail
@@ -53,28 +61,6 @@ PLIST_SUB+=	DBMAIL_USER="${DBMAIL_USER}"
 		DBMAIL_GROUP="${DBMAIL_GROUP}" \
 		PIDDIR="${PIDDIR}"
 
-.if ${PORT_OPTIONS:MSIEVE}
-CONFIGURE_ARGS+=--with-sieve=${LOCALBASE}
-LIB_DEPENDS+=	libsieve.so:${PORTSDIR}/mail/libsieve
-PLIST_SUB+=	SIEVE=""
-.else
-CONFIGURE_ARGS+=--without-sieve
-PLIST_SUB+=	SIEVE="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
-USE_OPENLDAP=	yes
-PLIST_SUB+=	LDAP=""
-.else
-CONFIGURE_ARGS+=--without-ldap
-PLIST_SUB+=	LDAP="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MTHREADS}
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-acinclude.m4
-.endif
-
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${STAGEDIR}${PREFIX}/etc/dbmail.conf-dist
 	@${MKDIR} ${STAGEDIR}${DATADIR}
@@ -86,6 +72,6 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${PIDDIR}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/mail/dbmail/distinfo
==============================================================================
--- head/mail/dbmail/distinfo	Thu Jan 23 22:40:23 2014	(r340866)
+++ head/mail/dbmail/distinfo	Thu Jan 23 22:52:32 2014	(r340867)
@@ -1,2 +1,2 @@
-SHA256 (dbmail-3.1.9.tar.gz) = 665f42700654aae767d24647dde284a4df7aec1702a00d1122d55b3f9f4318dd
-SIZE (dbmail-3.1.9.tar.gz) = 2397293
+SHA256 (dbmail-3.1.10.tar.gz) = 7a5b82eb8feb45faf215bebee7fb648092e5eaa71b2d5acd5826ca36d8e63f4f
+SIZE (dbmail-3.1.10.tar.gz) = 2397512
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"