ports/71414: [PATCH] port mail/serialmail SMTP AUTH

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Mon Sep 6 03:30:26 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list