Subject: pkg/22840: msmtp for pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bcv@hub3.net>
List: netbsd-bugs
Date: 09/18/2003 00:54:00
>Number: 22840
>Category: pkg
>Synopsis: msmtp is ready to be committed to pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 18 07:55:00 UTC 2003
>Closed-Date:
>Last-Modified:
>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.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:
>Unformatted: