Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 20:09:28 +0100
From:      "R.I.Pienaar" <rip@devco.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55877: new port for msmtp
Message-ID:  <E19qHHs-0006nW-00@mx1.devco.net>
Resent-Message-ID: <200308221910.h7MJAE61096798@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55877
>Category:       ports
>Synopsis:       new port for msmtp
>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:   Fri Aug 22 12:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     R.I.Pienaar
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.8-STABLE 


	
>Description:
	SMTP 'plugin' for MUAs

>How-To-Repeat:
	
>Fix:

Please close previous PR #55070 as it is an older version of this port and requires a security upgrade.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	msmtp
#	msmtp/files
#	msmtp/files/patch-aa
#	msmtp/Makefile
#	msmtp/distinfo
#	msmtp/pkg-descr
#	msmtp/pkg-plist
#
echo c - msmtp
mkdir -p msmtp > /dev/null 2>&1
echo c - msmtp/files
mkdir -p msmtp/files > /dev/null 2>&1
echo x - msmtp/files/patch-aa
sed 's/^X//' >msmtp/files/patch-aa << 'END-of-msmtp/files/patch-aa'
X*** Makefile.orig	Thu Aug 21 22:28:13 2003
X--- Makefile	Thu Aug 21 22:28:44 2003
X***************
X*** 3,18 ****
X  # 
X  
X  # GNU/Linux and GNU/Hurd
X- CC = gcc
X- CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -D_GNU_SOURCE -Wall -O2
X- LFLAGS = -lssl -lcrypto -s
X- EXTRAOBJS = 
X- 
X- # FreeBSD, NetBSD, OpenBSD
X  #CC = gcc
X! #CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall -O2
X  #LFLAGS = -lssl -lcrypto -s
X  #EXTRAOBJS = 
X  
X  # SunOS
X  #CC = cc
X--- 3,18 ----
X  # 
X  
X  # GNU/Linux and GNU/Hurd
X  #CC = gcc
X! #CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -D_GNU_SOURCE -Wall -O2
X  #LFLAGS = -lssl -lcrypto -s
X  #EXTRAOBJS = 
X+ 
X+ # FreeBSD, NetBSD, OpenBSD
X+ CC = gcc
X+ CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall -O2 -I/usr/local/include
X+ LFLAGS = -lssl -lcrypto -s -L/usr/local/lib
X+ EXTRAOBJS = getopt.o getopt1.o
X  
X  # SunOS
X  #CC = cc
END-of-msmtp/files/patch-aa
echo x - msmtp/Makefile
sed 's/^X//' >msmtp/Makefile << 'END-of-msmtp/Makefile'
X# Ports collection makefile for:  msmtp
X# Date created:                   30 Jul 2003
X# Whom:                           R.I.Pienaar <rip@devco.net>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	msmtp
XPORTVERSION=	0.4.2
XCATEGORIES=	mail
XMASTER_SITES=	http://belnet.dl.sourceforge.net/sourceforge/msmtp/
X
XMAINTAINER=	rip@devco.net
XCOMMENT=	SMTP "plugin" for MUAs
X
XUSE_GETOPT_LONG= yes
X
XMAN1=		msmtp.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/msmtp ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/msmtp.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-msmtp/Makefile
echo x - msmtp/distinfo
sed 's/^X//' >msmtp/distinfo << 'END-of-msmtp/distinfo'
XMD5 (msmtp-0.4.2.tar.gz) = 050b077df6f5dca3067f34c8069744df
END-of-msmtp/distinfo
echo x - msmtp/pkg-descr
sed 's/^X//' >msmtp/pkg-descr << 'END-of-msmtp/pkg-descr'
Xmsmtp -- SMTP plugin for MUAs
X
XThis is a simple program that works as an "SMTP plugin" for Mutt and probably 
Xother MUAs (mail user agents).  msmtp forwards mails to an SMTP server (for 
Xexample at a free mail provider) which does the delivery.  
X
XFeatures include:
X    * SMTP AUTH methods PLAIN, LOGIN and CRAM-MD5
X    * TLS encrypted connections
X    * IPv6 support
X    * robustness
X    * detailed error messages (including the full answer of the SMTP server) 
X      if something goes wrong
X    * sendmail compatible exit codes (which most MUAs understand).
X
XSimply tell your MUA to call msmtp instead of /usr/sbin/sendmail 
X
XWWW: http://msmtp.sourceforge.net/
END-of-msmtp/pkg-descr
echo x - msmtp/pkg-plist
sed 's/^X//' >msmtp/pkg-plist << 'END-of-msmtp/pkg-plist'
Xbin/msmtp
END-of-msmtp/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19qHHs-0006nW-00>