pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/msmtp Initial import of msmtp, an SMTP plugin for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6488164b91d9
branches:  trunk
changeset: 461672:6488164b91d9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Sep 19 09:24:29 2003 +0000

description:
Initial import of msmtp, an SMTP plugin for MUAs, provided by
Bryan Carter Vyhmeister in PR 22840.

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.

diffstat:

 mail/msmtp/DESCR            |  17 +++++++++++++++++
 mail/msmtp/Makefile         |  25 +++++++++++++++++++++++++
 mail/msmtp/PLIST            |   5 +++++
 mail/msmtp/distinfo         |   5 +++++
 mail/msmtp/patches/patch-aa |  25 +++++++++++++++++++++++++
 5 files changed, 77 insertions(+), 0 deletions(-)

diffs (97 lines):

diff -r c117f159bc21 -r 6488164b91d9 mail/msmtp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/msmtp/DESCR  Fri Sep 19 09:24:29 2003 +0000
@@ -0,0 +1,17 @@
+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.
diff -r c117f159bc21 -r 6488164b91d9 mail/msmtp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/msmtp/Makefile       Fri Sep 19 09:24:29 2003 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/19 09:24:29 wiz Exp $
+#
+
+DISTNAME=              msmtp-0.5.0
+CATEGORIES=            mail
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=msmtp/}
+
+MAINTAINER=            bcv%hub3.net@localhost
+HOMEPAGE=              http://msmtp.sourceforge.net/
+COMMENT=               SMTP plugin for MUAs
+
+USE_BUILDLINK2=                yes
+
+EGDIR=                  ${PREFIX}/share/examples/msmtp
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/msmtp ${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/msmtp.1 ${PREFIX}/man/man1
+
+post-install:
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/msmtprc.example ${EGDIR}
+
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c117f159bc21 -r 6488164b91d9 mail/msmtp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/msmtp/PLIST  Fri Sep 19 09:24:29 2003 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/19 09:24:29 wiz Exp $
+bin/msmtp
+man/man1/msmtp.1
+share/examples/msmtp/msmtprc.example
+@dirrm share/examples/msmtp
diff -r c117f159bc21 -r 6488164b91d9 mail/msmtp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/msmtp/distinfo       Fri Sep 19 09:24:29 2003 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/19 09:24:29 wiz Exp $
+
+SHA1 (msmtp-0.5.0.tar.gz) = c9f5d96e5c12b4ab8c371a818ad68395bffcd92d
+Size (msmtp-0.5.0.tar.gz) = 41147 bytes
+SHA1 (patch-aa) = 73b5d5c098e10539681c594c26c47585e3d396f0
diff -r c117f159bc21 -r 6488164b91d9 mail/msmtp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/msmtp/patches/patch-aa       Fri Sep 19 09:24:29 2003 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/09/19 09:24:29 wiz Exp $
+--- Makefile   Wed Sep 17 23:53:37 2003
++++ Makefile.new       Wed Sep 17 23:54:06 2003
+@@ -3,15 +3,15 @@
+ # 
+ 
+ # GNU/Linux and GNU/Hurd
+-CC = gcc
+-CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -D_GNU_SOURCE -Wall -O2
+-LFLAGS = -lssl -lcrypto -s
+-EXTRAOBJS = 
++#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
++CFLAGS += -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall
++LFLAGS = -lssl -lcrypto -s
+ #EXTRAOBJS = 
+ 
+ # SunOS



Home | Main Index | Thread Index | Old Index