Date: Tue, 15 Jul 2003 08:45:31 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54491: New port: mail/esmtp Message-ID: <E19cJZ5-0009uD-MF@voodoo.oberon.net> Resent-Message-ID: <200307150650.h6F6oHYo061912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54491 >Category: ports >Synopsis: New port: mail/esmtp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jul 14 23:50:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-STABLE i386 >Organization: Oberon.net >Environment: >Description: New port: mail/esmtp ----------------------- It supersedes PR/54431 ----------------------- Here is the new version: 0.4.1 esmtp is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail compatible syntax. It's based on libESMTP supporting the AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the StartTLS SMTP extensions. These are the esmtp features: * fully sendmail command line compatible, * supports the AUTH SMTP extension, with the CRAM-MD5 and * NTLM SASL mechanisms, * support the StartTLS SMTP extension, * requires no administration privileges, * individual user configuration, * does not receive mail, expand aliases or manage a queue. >How-To-Repeat: >Fix: # 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: # # mail/esmtp # mail/esmtp/Makefile # mail/esmtp/distinfo # mail/esmtp/files # mail/esmtp/files/patch-lexer.c # mail/esmtp/files/patch-esmtprc.5 # mail/esmtp/pkg-plist # mail/esmtp/pkg-descr # echo c - mail/esmtp mkdir -p mail/esmtp > /dev/null 2>&1 echo x - mail/esmtp/Makefile sed 's/^X//' >mail/esmtp/Makefile << 'END-of-mail/esmtp/Makefile' X# New ports collection makefile for: esmtp X# Date created: 12.07.2003 X# Whom: Kirill Ponomarew <ponomarew@oberon.net> X# X# $FreeBSD$ X# X XPORTNAME= esmtp XPORTVERSION= 0.4.1 XCATEGORIES= mail XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= ponomarew@oberon.net XCOMMENT= Relay-only Mail Transfer Agent with sendmail compatible syntax X XLIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp X XUSE_BZIP2= yes XGNU_CONFIGURE= yes XUSE_GETOPT_LONG= yes XUSE_OPENSSL= yes XUSE_REINPLACE= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib" X XDOC_FILES= README XMAN1= esmtp.1 XMAN5= esmtprc.5 X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's|/usr/bin|${LOCALBASE}/bin|g' \ X ${WRKSRC}/sample.esmtprc X @${REINPLACE_CMD} -e \ X 's|sendmail(1)|sendmail(8)|g ; \ X s|/etc|${PREFIX}/etc|g' \ X ${WRKSRC}/${PORTNAME}.1 X @${REINPLACE_CMD} -e \ X 's|/etc|${PREFIX}/etc|g' \ X ${WRKSRC}/parser.c ${WRKSRC}/parser.y X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 X ${INSTALL_MAN} ${WRKSRC}/esmtprc.5 ${PREFIX}/man/man5 X ${INSTALL_DATA} ${WRKSRC}/sample.esmtprc \ X ${PREFIX}/etc/esmtprc.sample X @${ECHO} "------------------------------------------------------------" X @${ECHO} "Sample of configuration file placed at" X @${ECHO} "${PREFIX}/etc/esmtprc.sample" X @${ECHO} "------------------------------------------------------------" X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for doc in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-mail/esmtp/Makefile echo x - mail/esmtp/distinfo sed 's/^X//' >mail/esmtp/distinfo << 'END-of-mail/esmtp/distinfo' XMD5 (esmtp-0.4.1.tar.bz2) = 57b124dc6b2fffac4d2a7283a1a7f771 END-of-mail/esmtp/distinfo echo c - mail/esmtp/files mkdir -p mail/esmtp/files > /dev/null 2>&1 echo x - mail/esmtp/files/patch-lexer.c sed 's/^X//' >mail/esmtp/files/patch-lexer.c << 'END-of-mail/esmtp/files/patch-lexer.c' X--- lexer.c.orig Sat Jul 12 09:26:44 2003 X+++ lexer.c Sat Jul 12 09:27:04 2003 X@@ -20,7 +20,9 @@ X #include <string.h> X #include <errno.h> X #include <stdlib.h> X+#ifdef HAVE_STDINT_H X #include <stdint.h> /* May break IA64 test-noansi-r */ X+#endif X X /* end standard C headers. */ X END-of-mail/esmtp/files/patch-lexer.c echo x - mail/esmtp/files/patch-esmtprc.5 sed 's/^X//' >mail/esmtp/files/patch-esmtprc.5 << 'END-of-mail/esmtp/files/patch-esmtprc.5' X--- esmtprc.5.orig Tue Jul 15 07:57:07 2003 X+++ esmtprc.5 Tue Jul 15 07:58:05 2003 X@@ -96,8 +96,8 @@ X place a %T. The mail message's \fBFrom\fR address will be inserted where you X place an %F. X X-Some common MDAs are "/usr/bin/procmail -d %T", X-"/usr/bin/deliver" and "/usr/lib/mail.local %T". X+Some common MDAs are "/usr/local/bin/procmail -d %T" X+and "/usr/libexec/mail.local %T". X X .SH SEE ALSO X esmtp(1) END-of-mail/esmtp/files/patch-esmtprc.5 echo x - mail/esmtp/pkg-plist sed 's/^X//' >mail/esmtp/pkg-plist << 'END-of-mail/esmtp/pkg-plist' Xbin/esmtp Xetc/esmtprc.sample X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-mail/esmtp/pkg-plist echo x - mail/esmtp/pkg-descr sed 's/^X//' >mail/esmtp/pkg-descr << 'END-of-mail/esmtp/pkg-descr' Xesmtp is a user configurable relay-only Mail Transfer Agent X(MTA) with a sendmail compatible syntax. It's based on libESMTP Xsupporting the AUTH (including the CRAM-MD5 and NTLM SASL Xmechanisms) and the StartTLS SMTP extensions. X XThese are the esmtp features: X X * fully sendmail command line compatible, X * supports the AUTH SMTP extension, with the CRAM-MD5 and X * NTLM SASL mechanisms, X * support the StartTLS SMTP extension, X * requires no administration privileges, X * individual user configuration, X * does not receive mail, expand aliases or manage a queue. X XWWW: http://esmtp.sourceforge.net END-of-mail/esmtp/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19cJZ5-0009uD-MF>