diff options
author | edwin <edwin@FreeBSD.org> | 2003-03-31 09:11:28 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-03-31 09:11:28 +0000 |
commit | 62459b71ece0a683b747d255b318b326373ff520 (patch) | |
tree | 16e081dde43b02248f2a679437415e2e638f973e /mail/mailfront | |
parent | 6e540d251f5730e298df38e9a59d8f44d606b8d6 (diff) | |
download | FreeBSD-ports-62459b71ece0a683b747d255b318b326373ff520.zip FreeBSD-ports-62459b71ece0a683b747d255b318b326373ff520.tar.gz |
mail/mailfront: Mail server network protocol front-ends
This is mailfront, a package containing customizeable network
front-ends for mail servers. It contains complete SMTP and
POP3 front-ends as well as an authentication module for
IMAP.
Two SMTP back-ends are provided. One delivers mail to
qmail-queue, mimicking most of the behavior of qmail-smtpd,
with the addition of support for SMTP AUTH. The other
rejects all SMTP commands if $SMTPREJECT is set, and execs
its command line otherwise (in order to run the above
program).
Author: Bruce Guenter <bruceg@em.ca>
WWW: http://untroubled.org/mailfront/
PR: ports/48902,ports/49973
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'mail/mailfront')
-rw-r--r-- | mail/mailfront/Makefile | 39 | ||||
-rw-r--r-- | mail/mailfront/Makefile.orig | 39 | ||||
-rw-r--r-- | mail/mailfront/distinfo | 1 | ||||
-rw-r--r-- | mail/mailfront/distinfo.orig | 1 | ||||
-rw-r--r-- | mail/mailfront/pkg-descr | 13 | ||||
-rw-r--r-- | mail/mailfront/pkg-plist | 22 | ||||
-rw-r--r-- | mail/mailfront/pkg-plist.orig | 19 |
7 files changed, 134 insertions, 0 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile new file mode 100644 index 0000000..44448e1 --- /dev/null +++ b/mail/mailfront/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: mailfront +# Date created: 03 Mar 2003 +# Whom: Sergei Kolobov <sergei@kolobov.com> +# +# $FreeBSD$ +# + +PORTNAME= mailfront +PORTVERSION= 0.85 +CATEGORIES= mail +MASTER_SITES= http://untroubled.org/mailfront/ + +MAINTAINER= sergei@kolobov.com +COMMENT= Mail server network protocol front-ends + +BUILD_DEPENDS= ${LOCALBASE}/include/cvm/module.h:${PORTSDIR}/devel/bglibs + +BGLIBS_ROOT?= ${LOCALBASE} +QMAIL_ROOT?= /var/qmail + +CFLAGS+= -I${BGLIBS_ROOT}/include +LDFLAGS+= -L${BGLIBS_ROOT}/lib + +DOCS= ANNOUNCEMENT NEWS README TODO *.html + +pre-build: + ${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin + ${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc + ${ECHO_CMD} ${CC} ${LDFLAGS} > ${WRKSRC}/conf-ld + ${ECHO_CMD} ${QMAIL_ROOT} > ${WRKSRC}/conf-qmail + +do-install: + cd ${WRKSRC} && ./installer +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/mail/mailfront/Makefile.orig b/mail/mailfront/Makefile.orig new file mode 100644 index 0000000..577e302 --- /dev/null +++ b/mail/mailfront/Makefile.orig @@ -0,0 +1,39 @@ +# New ports collection makefile for: mailfront +# Date created: 03 Mar 2003 +# Whom: Sergei Kolobov <sergei@kolobov.com> +# +# $FreeBSD$ +# + +PORTNAME= mailfront +PORTVERSION= 0.81 +CATEGORIES= mail +MASTER_SITES= http://untroubled.org/mailfront/ + +MAINTAINER= sergei@kolobov.com +COMMENT= Mail server network protocol front-ends + +BUILD_DEPENDS= ${LOCALBASE}/include/cvm/module.h:${PORTSBASE}/devel/bglibs + +BGLIBS_ROOT?= ${LOCALBASE} +QMAIL_ROOT?= /var/qmail + +CFLAGS+= -I${BGLIBS_ROOT}/include +LDFLAGS+= -L${BGLIBS_ROOT}/lib + +DOCS= ANNOUNCEMENT NEWS README TODO *.html + +pre-build: + ${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin + ${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc + ${ECHO_CMD} ${CC} ${LDFLAGS} > ${WRKSRC}/conf-ld + ${ECHO_CMD} ${QMAIL_ROOT} > ${WRKSRC}/conf-qmail + +do-install: + cd ${WRKSRC} && ./installer +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/mail/mailfront/distinfo b/mail/mailfront/distinfo new file mode 100644 index 0000000..83a739a --- /dev/null +++ b/mail/mailfront/distinfo @@ -0,0 +1 @@ +MD5 (mailfront-0.85.tar.gz) = 04848ea36740d1280016161d419bf7d2 diff --git a/mail/mailfront/distinfo.orig b/mail/mailfront/distinfo.orig new file mode 100644 index 0000000..8819c29 --- /dev/null +++ b/mail/mailfront/distinfo.orig @@ -0,0 +1 @@ +MD5 (mailfront-0.81.tar.gz) = 5c4d9c51663feebf9fc3179167773259 diff --git a/mail/mailfront/pkg-descr b/mail/mailfront/pkg-descr new file mode 100644 index 0000000..ff5b607 --- /dev/null +++ b/mail/mailfront/pkg-descr @@ -0,0 +1,13 @@ +This is mailfront, a package containing customizeable network front-ends +for mail servers. It contains complete SMTP and POP3 front-ends as well +as an authentication module for IMAP. + +Two SMTP back-ends are provided. One delivers mail to qmail-queue, +mimicking most of the behavior of qmail-smtpd, with the addition of +support for SMTP AUTH. The other rejects all SMTP commands if +$SMTPREJECT is set, and execs its command line otherwise (in order to +run the above program). + + +Author: Bruce Guenter <bruceg@em.ca> +WWW: http://untroubled.org/mailfront/ diff --git a/mail/mailfront/pkg-plist b/mail/mailfront/pkg-plist new file mode 100644 index 0000000..928da337 --- /dev/null +++ b/mail/mailfront/pkg-plist @@ -0,0 +1,22 @@ +bin/imapfront-auth +bin/pop3front-auth +bin/pop3front-maildir +bin/qmqpfront-qmail +bin/qmtpfront-qmail +bin/smtpfront-echo +bin/smtpfront-qmail +bin/smtpfront-reject +%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCEMENT +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/cvm-sasl.html +%%PORTDOCS%%%%DOCSDIR%%/imapfront.html +%%PORTDOCS%%%%DOCSDIR%%/mailfront.html +%%PORTDOCS%%%%DOCSDIR%%/mailrules.html +%%PORTDOCS%%%%DOCSDIR%%/mailrules2.html +%%PORTDOCS%%%%DOCSDIR%%/pop3front.html +%%PORTDOCS%%%%DOCSDIR%%/qmail-backend.html +%%PORTDOCS%%%%DOCSDIR%%/qmail-validate.html +%%PORTDOCS%%%%DOCSDIR%%/smtpfront.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% diff --git a/mail/mailfront/pkg-plist.orig b/mail/mailfront/pkg-plist.orig new file mode 100644 index 0000000..be828f5 --- /dev/null +++ b/mail/mailfront/pkg-plist.orig @@ -0,0 +1,19 @@ +bin/imapfront-auth +bin/pop3front-auth +bin/pop3front-maildir +bin/smtpfront-echo +bin/smtpfront-qmail +bin/smtpfront-reject +%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCEMENT +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/cvm-sasl.html +%%PORTDOCS%%%%DOCSDIR%%/imapfront.html +%%PORTDOCS%%%%DOCSDIR%%/mailfront.html +%%PORTDOCS%%%%DOCSDIR%%/mailrules.html +%%PORTDOCS%%%%DOCSDIR%%/pop3front.html +%%PORTDOCS%%%%DOCSDIR%%/qmail-backend.html +%%PORTDOCS%%%%DOCSDIR%%/qmail-validate.html +%%PORTDOCS%%%%DOCSDIR%%/smtpfront.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |