Date: Sun, 13 Jul 2003 10:59:59 +0200 From: Kirill Ponomarew <ponomarew@oberon.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54431: New port: mail/esmtp Message-ID: <E19bci7-000HaH-1H@voodoo.oberon.net> Resent-Message-ID: <200307130910.h6D9AAMX034880@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54431 >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: Sun Jul 13 02:10:09 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kirill Ponomarew >Release: FreeBSD 4.8-STABLE i386 >Organization: Oberon.net >Environment: >Description: New port: mail/esmtp 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/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 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 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 ${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_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.tar.bz2) = fea8d6f031bc505d1650cc37804c2190 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/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?E19bci7-000HaH-1H>