From 164732e5e044804764d727fc97f4d14b82928556 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Fri, 22 Aug 2003 19:27:55 +0000 Subject: Add msmtp 0.4.2, an SMTP "plugin" for MUAs. PR: 55877 Submitted by: R.I.Pienaar --- mail/msmtp/Makefile | 25 +++++++++++++++++++++++++ mail/msmtp/distinfo | 1 + mail/msmtp/files/patch-aa | 37 +++++++++++++++++++++++++++++++++++++ mail/msmtp/pkg-descr | 18 ++++++++++++++++++ mail/msmtp/pkg-plist | 1 + 5 files changed, 82 insertions(+) create mode 100644 mail/msmtp/Makefile create mode 100644 mail/msmtp/distinfo create mode 100644 mail/msmtp/files/patch-aa create mode 100644 mail/msmtp/pkg-descr create mode 100644 mail/msmtp/pkg-plist (limited to 'mail/msmtp') diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile new file mode 100644 index 000000000000..bf65b15b4d94 --- /dev/null +++ b/mail/msmtp/Makefile @@ -0,0 +1,25 @@ +# Ports collection makefile for: msmtp +# Date created: 22 Aug 2003 +# Whom: R.I.Pienaar +# +# $FreeBSD$ +# + +PORTNAME= msmtp +PORTVERSION= 0.4.2 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= msmtp + +MAINTAINER= rip@devco.net +COMMENT= SMTP \"plugin\" for MUAs + +USE_GETOPT_LONG= yes + +MAN1= msmtp.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/msmtp ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/msmtp.1 ${PREFIX}/man/man1 + +.include diff --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo new file mode 100644 index 000000000000..f5a03795fed9 --- /dev/null +++ b/mail/msmtp/distinfo @@ -0,0 +1 @@ +MD5 (msmtp-0.4.2.tar.gz) = 050b077df6f5dca3067f34c8069744df diff --git a/mail/msmtp/files/patch-aa b/mail/msmtp/files/patch-aa new file mode 100644 index 000000000000..1b3eb4e9b22a --- /dev/null +++ b/mail/msmtp/files/patch-aa @@ -0,0 +1,37 @@ +*** Makefile.orig Thu Aug 21 22:28:13 2003 +--- Makefile Thu Aug 21 22:28:44 2003 +*************** +*** 3,18 **** + # + + # GNU/Linux and GNU/Hurd +- CC = gcc +- CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -D_GNU_SOURCE -Wall -O2 +- LFLAGS = -lssl -lcrypto -s +- EXTRAOBJS = +- +- # FreeBSD, NetBSD, OpenBSD + #CC = gcc +! #CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall -O2 + #LFLAGS = -lssl -lcrypto -s + #EXTRAOBJS = + + # SunOS + #CC = cc +--- 3,18 ---- + # + + # GNU/Linux and GNU/Hurd + #CC = gcc +! #CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -D_GNU_SOURCE -Wall -O2 + #LFLAGS = -lssl -lcrypto -s + #EXTRAOBJS = ++ ++ # FreeBSD, NetBSD, OpenBSD ++ CC = gcc ++ CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall -O2 -I${LOCALBASE}/include ++ LFLAGS = -lssl -lcrypto -s -L${LOCALBASE}/lib ++ EXTRAOBJS = getopt.o getopt1.o + + # SunOS + #CC = cc diff --git a/mail/msmtp/pkg-descr b/mail/msmtp/pkg-descr new file mode 100644 index 000000000000..1267b722b24b --- /dev/null +++ b/mail/msmtp/pkg-descr @@ -0,0 +1,18 @@ +msmtp -- SMTP plugin for MUAs + +This is a simple program that works as an "SMTP plugin" for Mutt and probably +other MUAs (mail user agents). msmtp forwards mails to an SMTP server (for +example at a free mail provider) which does the delivery. + +Features include: + * SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5 + * TLS encrypted connections + * IPv6 support + * robustness + * detailed error messages (including the full answer of the SMTP server) + if something goes wrong + * sendmail compatible exit codes (which most MUAs understand). + +Simply tell your MUA to call msmtp instead of /usr/sbin/sendmail + +WWW: http://msmtp.sourceforge.net/ diff --git a/mail/msmtp/pkg-plist b/mail/msmtp/pkg-plist new file mode 100644 index 000000000000..7444eda35175 --- /dev/null +++ b/mail/msmtp/pkg-plist @@ -0,0 +1 @@ +bin/msmtp -- cgit v1.2.3