Skip site navigation (1)Skip section navigation (2)
Date:      6 Sep 2004 03:13:41 -0000
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sergei@FreeBSD.org
Subject:   ports/71414: [PATCH] port mail/serialmail SMTP AUTH
Message-ID:  <20040906031341.23082.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200409060330.i863UQBE012560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71414
>Category:       ports
>Synopsis:       [PATCH] port mail/serialmail SMTP AUTH
>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:   Mon Sep 06 03:30:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 5.3-BETA3 i386
>Organization:
>Environment:
System: FreeBSD exxodus.here.here 5.3-BETA3 FreeBSD 5.3-BETA3 #2: Sat Sep 4 15:24:14 BRT 2004 root@exxodus.here.here:/usr/obj/usr/src/sys/LIOUX i386


>Description:

	I made a little patch for the serialmail port. This adds
CRAM-MD5, PLAIN and LOGIN authentication support to serialmail.
The patch is referenced in the qmail page http://www.qmail.org/

        More information on the patch used can be found at

http://www.ingorohloff.de/soft/

        I've been successfully using this patch for a while now.
The email you're seeing has been sent using it. :)

        I hope you find this useful. Let me know if you need
anything.

>How-To-Repeat:
	n.a.
>Fix:

--- patch-serialmail begins here ---
diff -ruN /usr/ports/mail/serialmail/Makefile serialmail/Makefile
--- /usr/ports/mail/serialmail/Makefile	Thu Oct 23 03:42:46 2003
+++ serialmail/Makefile	Fri Aug  6 00:21:26 2004
@@ -26,6 +26,8 @@
 
 ALL_TARGET=	it
 
+OPTIONS=	AUTH "Add CRAM-MD5, PLAIN and LOGIN authentication" OFF
+
 PROGRAMS=	serialqmtp serialsmtp maildirserial setlock
 SCRIPTS=	maildirqmtp maildirsmtp
 MAN1=		maildirqmtp.1 maildirserial.1 maildirsmtp.1 serialqmtp.1 \
@@ -48,4 +50,12 @@
 	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_AUTH)
+PATCH_SITES=	http://www.ingorohloff.de/soft/
+PATCHFILES=	serialmail-auth.patch
+PATCH_DIST_STRIP=	-p1
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/mail/serialmail/distinfo serialmail/distinfo
--- /usr/ports/mail/serialmail/distinfo	Wed Jul 28 21:34:36 2004
+++ serialmail/distinfo	Thu Aug  5 23:36:28 2004
@@ -1,2 +1,4 @@
 MD5 (serialmail-0.75.tar.gz) = e6a3049863ae8577b1780fcd9fbc98a9
 SIZE (serialmail-0.75.tar.gz) = 55079
+MD5 (serialmail-auth.patch) = 71eab909047c7151d42ce5bb6757f272
+SIZE (serialmail-auth.patch) = 24469
--- patch-serialmail ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040906031341.23082.qmail>