summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/msmtp/DESCR17
-rw-r--r--mail/msmtp/Makefile25
-rw-r--r--mail/msmtp/PLIST5
-rw-r--r--mail/msmtp/distinfo5
-rw-r--r--mail/msmtp/patches/patch-aa25
5 files changed, 77 insertions, 0 deletions
diff --git a/mail/msmtp/DESCR b/mail/msmtp/DESCR
new file mode 100644
index 00000000000..9b274c8c7c2
--- /dev/null
+++ b/mail/msmtp/DESCR
@@ -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 --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
new file mode 100644
index 00000000000..3b42ca85c5a
--- /dev/null
+++ b/mail/msmtp/Makefile
@@ -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
+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 --git a/mail/msmtp/PLIST b/mail/msmtp/PLIST
new file mode 100644
index 00000000000..4fab0dd1fb3
--- /dev/null
+++ b/mail/msmtp/PLIST
@@ -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 --git a/mail/msmtp/distinfo b/mail/msmtp/distinfo
new file mode 100644
index 00000000000..153e6f315d4
--- /dev/null
+++ b/mail/msmtp/distinfo
@@ -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 --git a/mail/msmtp/patches/patch-aa b/mail/msmtp/patches/patch-aa
new file mode 100644
index 00000000000..5f22780338f
--- /dev/null
+++ b/mail/msmtp/patches/patch-aa
@@ -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