ports/114971: [PATCH] mail/mutt-devel: Add knob for SMTP support

Herbert J. Skuhra h.skuhra at gmail.com
Fri Jul 27 17:50:02 UTC 2007


>Number:         114971
>Category:       ports
>Synopsis:       [PATCH] mail/mutt-devel: Add knob for SMTP support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 17:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Herbert J. Skuhra
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD oslo.ath.cx 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Jul 14 10:15:17 CEST 2007     herbert at oslo.ath.cx:/usr/obj/usr/src/sys/PC1  i386
>Description:
Mutt >1.5.15 (devel) comes with internal smtp support:

--enable-smtp           include internal SMTP relay support


 
>How-To-Repeat:

>Fix:
The attached patch* adds a knob for mutt's internal smtp support.
You have to define WITH_MUTT_SMTP to enable this option.


* http://norway.ath.cx/freebsd/mutt_smtp.diff


Patch attached with submission follows:

--- Makefile.bak	2007-07-27 19:10:34.000000000 +0200
+++ Makefile	2007-07-27 19:16:59.000000000 +0200
@@ -104,6 +104,9 @@
 # If you want to enable the `greeting' option define:
 #  WITH_MUTT_GREETING_PATCH
 #
+# If you want to enable the internal SMTP relay support define:
+#  WITH_MUTT_SMTP
+# 
 
 PORTNAME=	mutt-devel
 PORTVERSION=	1.5.16
@@ -339,6 +342,11 @@
 	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-reverse_reply
 .endif
 
+.if defined(WITH_MUTT_SMTP)
+CONFIGURE_ARGS+=	--enable-smtp
+.else
+CONFIGURE_ARGS+=	--disable-smtp
+.endif
 .if defined(WITHOUT_MUTT_FLOCK)
 CONFIGURE_ARGS+=	--disable-flock
 .else


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list