1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add msmtp 0.4.2, an SMTP "plugin" for MUAs.

PR:		55877
Submitted by:	R.I.Pienaar <rip@devco.net>
This commit is contained in:
Neil Blakey-Milner 2003-08-22 19:27:55 +00:00
parent 7fdd98bd02
commit 164732e5e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87511
6 changed files with 83 additions and 0 deletions

View File

@ -158,6 +158,7 @@
SUBDIR += movemail
SUBDIR += mreport
SUBDIR += msgconvert
SUBDIR += msmtp
SUBDIR += mulberry
SUBDIR += mutt
SUBDIR += mutt-devel

25
mail/msmtp/Makefile Normal file
View File

@ -0,0 +1,25 @@
# Ports collection makefile for: msmtp
# Date created: 22 Aug 2003
# Whom: R.I.Pienaar <rip@devco.net>
#
# $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 <bsd.port.mk>

1
mail/msmtp/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (msmtp-0.4.2.tar.gz) = 050b077df6f5dca3067f34c8069744df

37
mail/msmtp/files/patch-aa Normal file
View File

@ -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

18
mail/msmtp/pkg-descr Normal file
View File

@ -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/

1
mail/msmtp/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/msmtp