diff options
author | erwin <erwin@FreeBSD.org> | 2003-07-15 08:50:52 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-07-15 08:50:52 +0000 |
commit | 7a173fc7c835335a9ff74c7c5c121f76de82e672 (patch) | |
tree | ff2a97cec8a1ac68a0bc70b10f504527b9555b59 /mail/esmtp | |
parent | 281b1cb92f9a5d9bb3bf65d4d72447a3b0aa4f1e (diff) | |
download | FreeBSD-ports-7a173fc7c835335a9ff74c7c5c121f76de82e672.zip FreeBSD-ports-7a173fc7c835335a9ff74c7c5c121f76de82e672.tar.gz |
Add esmtp 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.
PR: 54491
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Diffstat (limited to 'mail/esmtp')
-rw-r--r-- | mail/esmtp/Makefile | 62 | ||||
-rw-r--r-- | mail/esmtp/distinfo | 1 | ||||
-rw-r--r-- | mail/esmtp/files/patch-esmtprc.5 | 13 | ||||
-rw-r--r-- | mail/esmtp/files/patch-lexer.c | 12 | ||||
-rw-r--r-- | mail/esmtp/pkg-descr | 16 | ||||
-rw-r--r-- | mail/esmtp/pkg-plist | 4 |
6 files changed, 108 insertions, 0 deletions
diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile new file mode 100644 index 0000000..b536221 --- /dev/null +++ b/mail/esmtp/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: esmtp +# Date created: 12.07.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= esmtp +PORTVERSION= 0.4.1 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ponomarew@oberon.net +COMMENT= Relay-only Mail Transfer Agent with sendmail compatible syntax + +LIB_DEPENDS= esmtp.6:${PORTSDIR}/mail/libesmtp + +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GETOPT_LONG= yes +USE_OPENSSL= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +DOC_FILES= README +MAN1= esmtp.1 +MAN5= esmtprc.5 + +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/bin|${LOCALBASE}/bin|g' \ + ${WRKSRC}/sample.esmtprc + @${REINPLACE_CMD} -e \ + 's|sendmail(1)|sendmail(8)|g ; \ + s|/etc|${PREFIX}/etc|g' \ + ${WRKSRC}/${PORTNAME}.1 + @${REINPLACE_CMD} -e \ + 's|/etc|${PREFIX}/etc|g' \ + ${WRKSRC}/parser.c ${WRKSRC}/parser.y + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/esmtprc.5 ${PREFIX}/man/man5 + ${INSTALL_DATA} ${WRKSRC}/sample.esmtprc \ + ${PREFIX}/etc/esmtprc.sample + @${ECHO} "------------------------------------------------------------" + @${ECHO} "Sample of configuration file placed at" + @${ECHO} "${PREFIX}/etc/esmtprc.sample" + @${ECHO} "------------------------------------------------------------" + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/mail/esmtp/distinfo b/mail/esmtp/distinfo new file mode 100644 index 0000000..218ddc5 --- /dev/null +++ b/mail/esmtp/distinfo @@ -0,0 +1 @@ +MD5 (esmtp-0.4.1.tar.bz2) = 57b124dc6b2fffac4d2a7283a1a7f771 diff --git a/mail/esmtp/files/patch-esmtprc.5 b/mail/esmtp/files/patch-esmtprc.5 new file mode 100644 index 0000000..03e7745 --- /dev/null +++ b/mail/esmtp/files/patch-esmtprc.5 @@ -0,0 +1,13 @@ +--- esmtprc.5.orig Tue Jul 15 07:57:07 2003 ++++ esmtprc.5 Tue Jul 15 07:58:05 2003 +@@ -96,8 +96,8 @@ + place a %T. The mail message's \fBFrom\fR address will be inserted where you + place an %F. + +-Some common MDAs are "/usr/bin/procmail -d %T", +-"/usr/bin/deliver" and "/usr/lib/mail.local %T". ++Some common MDAs are "/usr/local/bin/procmail -d %T" ++and "/usr/libexec/mail.local %T". + + .SH SEE ALSO + esmtp(1) diff --git a/mail/esmtp/files/patch-lexer.c b/mail/esmtp/files/patch-lexer.c new file mode 100644 index 0000000..1b0f2d1 --- /dev/null +++ b/mail/esmtp/files/patch-lexer.c @@ -0,0 +1,12 @@ +--- lexer.c.orig Sat Jul 12 09:26:44 2003 ++++ lexer.c Sat Jul 12 09:27:04 2003 +@@ -20,7 +20,9 @@ + #include <string.h> + #include <errno.h> + #include <stdlib.h> ++#ifdef HAVE_STDINT_H + #include <stdint.h> /* May break IA64 test-noansi-r */ ++#endif + + /* end standard C headers. */ + diff --git a/mail/esmtp/pkg-descr b/mail/esmtp/pkg-descr new file mode 100644 index 0000000..54bca43 --- /dev/null +++ b/mail/esmtp/pkg-descr @@ -0,0 +1,16 @@ +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. + +WWW: http://esmtp.sourceforge.net diff --git a/mail/esmtp/pkg-plist b/mail/esmtp/pkg-plist new file mode 100644 index 0000000..91f4b9c --- /dev/null +++ b/mail/esmtp/pkg-plist @@ -0,0 +1,4 @@ +bin/esmtp +etc/esmtprc.sample +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |