diff options
author | petef <petef@FreeBSD.org> | 2003-05-10 12:24:57 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-05-10 12:24:57 +0000 |
commit | 8d3af331bc150a69db693072238df7e995e5b5e5 (patch) | |
tree | 46ac6a01b4342b32bae2f5f27828b9cb0769ec8a | |
parent | c031f2a0d410a1f855d2f7ebe2f2f10efdde753c (diff) | |
download | FreeBSD-ports-8d3af331bc150a69db693072238df7e995e5b5e5.zip FreeBSD-ports-8d3af331bc150a69db693072238df7e995e5b5e5.tar.gz |
Add qmail-autoresponder 0.96.1, rate-limited autoresponder for qmail.
PR: 50287
Submitted by: Sergei Kolobov <sergei@kolobov.com>
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/qmail-autoresponder/Makefile | 52 | ||||
-rw-r--r-- | mail/qmail-autoresponder/distinfo | 1 | ||||
-rw-r--r-- | mail/qmail-autoresponder/pkg-descr | 14 | ||||
-rw-r--r-- | mail/qmail-autoresponder/pkg-plist | 8 |
5 files changed, 76 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 89986ec..ad1a5a9 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -236,6 +236,7 @@ SUBDIR += qconfirm SUBDIR += qmHandle SUBDIR += qmail + SUBDIR += qmail-autoresponder SUBDIR += qmail-conf SUBDIR += qmail-contrib SUBDIR += qmail-ldap diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile new file mode 100644 index 0000000..a318a88 --- /dev/null +++ b/mail/qmail-autoresponder/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: qmail-autoresponder +# Date created: 25 Mar 2003 +# Whom: Sergei Kolobov <sergei@kolobov.com> +# +# $FreeBSD$ +# +# Compile-time options: +# WITH_MYSQL=yes enable support for MySQL +# + +PORTNAME= qmail-autoresponder +PORTVERSION= 0.96.1 +CATEGORIES= mail +MASTER_SITES= http://untroubled.org/qmail-autoresponder/ + +MAINTAINER= sergei@kolobov.com +COMMENT= Rate-limited autoresponder for qmail + +BUILD_DEPENDS= ${BGLIBS_ROOT}/include/iobuf/iobuf.h:${PORTSDIR}/devel/bglibs + +BGLIBS_ROOT?= ${LOCALBASE} + +PROGS= qmail-autoresponder +MAN1= qmail-autoresponder.1 +DOCS= NEWS README TODO procedure.txt + +.if defined(WITH_MYSQL) +PROGS+= qmail-autoresponder-mysql +DOCS+= schema.mysql +PLIST_SUB+= MYSQL="" +.else +PLIST_SUB+= MYSQL="@comment " +.endif + +ALL_TARGET= ${PROGS} + +pre-build: + ${ECHO_CMD} "${BGLIBS_ROOT}/include" > ${WRKSRC}/conf-bgincs + ${ECHO_CMD} "${BGLIBS_ROOT}/lib" > ${WRKSRC}/conf-bglibs + ${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin + ${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + +do-install: + cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/mail/qmail-autoresponder/distinfo b/mail/qmail-autoresponder/distinfo new file mode 100644 index 0000000..c941ca5 --- /dev/null +++ b/mail/qmail-autoresponder/distinfo @@ -0,0 +1 @@ +MD5 (qmail-autoresponder-0.96.1.tar.gz) = e845b37ef3e2b85aa0ca51d1e54f661b diff --git a/mail/qmail-autoresponder/pkg-descr b/mail/qmail-autoresponder/pkg-descr new file mode 100644 index 0000000..64249f1 --- /dev/null +++ b/mail/qmail-autoresponder/pkg-descr @@ -0,0 +1,14 @@ +Rate-limited autoresponder for qmail: +- Limits rate of automatic responses (defaults to a maximum of one + message every hour). +- Will not respond to nearly every type of mailing list or bulk email. +- Will not respond to bounce messages or MAILER-DAEMON. +- Bounces looping messages. +- Can insert the original subject into the response. +- Can copy original message into response. +- Can use links in the rate-limiting data directory to limit inode usage + to a single inode. +- Optional support for MySQL + +Author: Bruce Guenter <bruceg@em.ca> +WWW: http://untroubled.org/qmail-autoresponder/ diff --git a/mail/qmail-autoresponder/pkg-plist b/mail/qmail-autoresponder/pkg-plist new file mode 100644 index 0000000..f7c9ebd --- /dev/null +++ b/mail/qmail-autoresponder/pkg-plist @@ -0,0 +1,8 @@ +bin/qmail-autoresponder +%%MYSQL%%bin/qmail-autoresponder-mysql +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/procedure.txt +%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql +%%PORTDOCS%%@dirrm %%DOCSDIR%% |