NetBSD Problem Report #22840
Received: (qmail 8205 invoked by uid 605); 18 Sep 2003 07:54:04 -0000
Message-Id: <200309180754.h8I7s0327707@i75.bsdjournal.net>
Date: Thu, 18 Sep 2003 00:54:00 -0700 (PDT)
From: bcv@hub3.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: bcv@hub3.net
To: gnats-bugs@gnats.netbsd.org
Subject: msmtp for pkgsrc
X-Send-Pr-Version: 3.95
>Number: 22840
>Category: pkg
>Synopsis: msmtp is ready to be committed to pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 18 07:55:00 +0000 2003
>Closed-Date: Fri Sep 19 09:26:57 +0000 2003
>Last-Modified: Fri Sep 19 09:28:00 +0000 2003
>Originator: Bryan Carter Vyhmeister
>Release: NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD i75.bsdjournal.net 1.6.1 NetBSD 1.6.1 (GENERIC_LAPTOP) #0: Tue Apr 8 12:21:37 UTC 2003 autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/i386/OBJ/autobuild/netbsd-1-6/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
Attached is a shell archive of msmtp, an SMTP plugin for MUAs such as
mutt. It is ready to be committed to pkgsrc. If for some reason the
shell archive does not work properly, a tarball is available from the
following site:
http://www.bsdjournal.net/msmtp.tar.gz
(Thanks to Juan RP and Quentin Garnier on tech-pkg@ for all their help.)
>How-To-Repeat:
>Fix:
Commit the pkgsrc entry. Shell archive below:
# 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/Makefile
# ./msmtp/PLIST
# ./msmtp/DESCR
# ./msmtp/distinfo
# ./msmtp/patches
# ./msmtp/patches/patch-aa
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./msmtp
mkdir -p ./msmtp > /dev/null 2>&1
echo x - ./msmtp/Makefile
sed 's/^X//' >./msmtp/Makefile << 'END-of-./msmtp/Makefile'
X# $NetBSD$
X
XDISTNAME= msmtp-0.5.0
XCATEGORIES= mail
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=msmtp/}
X
XMAINTAINER= bcv@hub3.net
XHOMEPAGE= http://msmtp.sourceforge.net/
XCOMMENT= SMTP plugin for MUAs
X
XUSE_BUILDLINK2= yes
X
XEGDIR= ${PREFIX}/share/examples/msmtp
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/msmtp ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/msmtp.1 ${PREFIX}/man/man1
X
Xpost-install:
X ${INSTALL_DATA_DIR} ${EGDIR}
X ${INSTALL_DATA} ${WRKSRC}/msmtprc.example ${EGDIR}
X
X.include "../../security/openssl/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-./msmtp/Makefile
echo x - ./msmtp/PLIST
sed 's/^X//' >./msmtp/PLIST << 'END-of-./msmtp/PLIST'
X@comment $NetBSD$
Xbin/msmtp
Xman/man1/msmtp.1
Xshare/examples/msmtp/msmtprc.example
X@dirrm share/examples/msmtp
END-of-./msmtp/PLIST
echo x - ./msmtp/DESCR
sed 's/^X//' >./msmtp/DESCR << 'END-of-./msmtp/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
END-of-./msmtp/DESCR
echo x - ./msmtp/distinfo
sed 's/^X//' >./msmtp/distinfo << 'END-of-./msmtp/distinfo'
X$NetBSD$
X
XSHA1 (msmtp-0.5.0.tar.gz) = c9f5d96e5c12b4ab8c371a818ad68395bffcd92d
XSize (msmtp-0.5.0.tar.gz) = 41147 bytes
XSHA1 (patch-aa) = f48d31a6772efc1185bea646d6975e1bf8d53287
END-of-./msmtp/distinfo
echo c - ./msmtp/patches
mkdir -p ./msmtp/patches > /dev/null 2>&1
echo x - ./msmtp/patches/patch-aa
sed 's/^X//' >./msmtp/patches/patch-aa << 'END-of-./msmtp/patches/patch-aa'
X$NetBSD$
X--- Makefile Wed Sep 17 23:53:37 2003
X+++ Makefile.new Wed Sep 17 23:54:06 2003
X@@ -3,15 +3,15 @@
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+#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+CFLAGS = -DHAVE_VASPRINTF -DHAVE_GETOPT_LONG -Wall -O2
X+LFLAGS = -lssl -lcrypto -s
X #EXTRAOBJS =
X
X # SunOS
END-of-./msmtp/patches/patch-aa
exit
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/22840 CVS commit: pkgsrc/mail/msmtp
Date: Fri, 19 Sep 2003 09:24:32 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Fri Sep 19 09:24:31 UTC 2003
Update of /cvsroot/pkgsrc/mail/msmtp
In directory minbar.netbsd.org:/tmp/cvs-serv23204
Log Message:
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.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/mail/msmtp/DESCR
N pkgsrc/mail/msmtp/Makefile
N pkgsrc/mail/msmtp/PLIST
N pkgsrc/mail/msmtp/distinfo
N pkgsrc/mail/msmtp/patches/patch-aa
No conflicts created by this import
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Fri Sep 19 05:26:14 EDT 2003
State-Changed-Why:
Committed with slight changes -- thanks!
[Removed trailing whitespace in slash, and changed CFLAGS line
to add the options instead of overwriting the CFLAGS value.]
From: Thomas Klausner <wiz@netbsd.org>
To: bcv@hub3.net, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/22840
Date: Fri, 19 Sep 2003 11:23:40 +0200
On Fri, Sep 19, 2003 at 09:26:56AM -0000, Thomas Klausner wrote:
> [Removed trailing whitespace in slash, and changed CFLAGS line
s/slash/DESCR/
Thomas
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.