aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-autoresponder
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-10 12:24:57 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-10 12:24:57 +0000
commit2c9ec0c46381aad5a1a5beb5d207ba5cd9fe8501 (patch)
tree67f0552f410a22486c209accdebd8513547a6111 /mail/qmail-autoresponder
parentc2db628f69151d903dff18d0fdcb1d99763416dc (diff)
downloadports-2c9ec0c46381aad5a1a5beb5d207ba5cd9fe8501.tar.gz
ports-2c9ec0c46381aad5a1a5beb5d207ba5cd9fe8501.zip
Notes
Diffstat (limited to 'mail/qmail-autoresponder')
-rw-r--r--mail/qmail-autoresponder/Makefile52
-rw-r--r--mail/qmail-autoresponder/distinfo1
-rw-r--r--mail/qmail-autoresponder/pkg-descr14
-rw-r--r--mail/qmail-autoresponder/pkg-plist8
4 files changed, 75 insertions, 0 deletions
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 <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 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 <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 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%%