summaryrefslogtreecommitdiff
path: root/mail/mailfront
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 09:11:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-31 09:11:28 +0000
commitdf8ac69196ad4f955284be5eaca64438d0041ec5 (patch)
tree33e3a60ac68fc1bb9e7a23dd2469b60867a1de2b /mail/mailfront
parentdevel/bglibs: One stop library package by Bruce Guenter (diff)
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>
Notes
Notes: svn path=/head/; revision=77819
Diffstat (limited to 'mail/mailfront')
-rw-r--r--mail/mailfront/Makefile39
-rw-r--r--mail/mailfront/Makefile.orig39
-rw-r--r--mail/mailfront/distinfo1
-rw-r--r--mail/mailfront/distinfo.orig1
-rw-r--r--mail/mailfront/pkg-descr13
-rw-r--r--mail/mailfront/pkg-plist22
-rw-r--r--mail/mailfront/pkg-plist.orig19
7 files changed, 134 insertions, 0 deletions
diff --git a/mail/mailfront/Makefile b/mail/mailfront/Makefile
new file mode 100644
index 000000000000..44448e18bebb
--- /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 000000000000..577e30297525
--- /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 000000000000..83a739a8bf85
--- /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 000000000000..8819c294372c
--- /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 000000000000..ff5b60765047
--- /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 000000000000..928da33712f5
--- /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 000000000000..be828f58e604
--- /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%%