From 2c9ec0c46381aad5a1a5beb5d207ba5cd9fe8501 Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sat, 10 May 2003 12:24:57 +0000 Subject: Add qmail-autoresponder 0.96.1, rate-limited autoresponder for qmail. PR: 50287 Submitted by: Sergei Kolobov --- mail/qmail-autoresponder/Makefile | 52 ++++++++++++++++++++++++++++++++++++++ mail/qmail-autoresponder/distinfo | 1 + mail/qmail-autoresponder/pkg-descr | 14 ++++++++++ mail/qmail-autoresponder/pkg-plist | 8 ++++++ 4 files changed, 75 insertions(+) create mode 100644 mail/qmail-autoresponder/Makefile create mode 100644 mail/qmail-autoresponder/distinfo create mode 100644 mail/qmail-autoresponder/pkg-descr create mode 100644 mail/qmail-autoresponder/pkg-plist (limited to 'mail/qmail-autoresponder') diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile new file mode 100644 index 000000000000..a318a886b58f --- /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 +# +# $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 diff --git a/mail/qmail-autoresponder/distinfo b/mail/qmail-autoresponder/distinfo new file mode 100644 index 000000000000..c941ca567a71 --- /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 000000000000..64249f151f37 --- /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 +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 000000000000..f7c9ebd623ef --- /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%% -- cgit v1.2.3