From 5772074174307bee72cc64d1d17bf03251414ba9 Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Sat, 22 Mar 2008 11:59:29 +0000 Subject: spamdyke is a filter for monitoring and intercepting SMTP connections between a remote host and a qmail server. Spam is blocked while the remote server (spammer) is still connected; no additional processing or storage is needed. In addition to all of its anti-spam filters, spamdyke also includes a number of features to enhance qmail. Best of all, using spamdyke does not require patching or recompiling qmail! PR: ports/119579 Submitted by: Peter Kieser Approved by: garga (mentor) --- mail/spamdyke/Makefile | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ mail/spamdyke/distinfo | 3 +++ mail/spamdyke/pkg-descr | 12 ++++++++++ 3 files changed, 73 insertions(+) create mode 100644 mail/spamdyke/Makefile create mode 100644 mail/spamdyke/distinfo create mode 100644 mail/spamdyke/pkg-descr (limited to 'mail/spamdyke') diff --git a/mail/spamdyke/Makefile b/mail/spamdyke/Makefile new file mode 100644 index 000000000000..835e00752bd9 --- /dev/null +++ b/mail/spamdyke/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: spamdyke +# Date created: 11 January 2007 +# Whom: Peter Kieser +# +# $FreeBSD$ +# + +PORTNAME= spamdyke +PORTVERSION= 3.1.6 +CATEGORIES= mail +MASTER_SITES= http://www.spamdyke.org/releases/ +EXTRACT_SUFX= .tgz + +MAINTAINER= peter@kieser.ca +COMMENT= A filter for monitoring and intercepting SMTP connections on qmail + +BUILD_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp +RUN_DEPENDS= ${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp + +WRKSRC= ${WRKDIR}/${DISTNAME}/spamdyke + +USE_QMAIL= yes +GNU_CONFIGURE= yes + +ALL_TARGET= spamdyke + +PLIST_FILES= bin/spamdyke + +OPTIONS= TLS "Enable TLS support" On + +.include + +.if defined(WITHOUT_TLS) +CONFIGURE_ARGS+= --disable-tls +.else +CONFIGURE_ARGS+= --enable-tls +.endif + +.if !defined(NOPORTDOCS) +PORTDOCS= Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \ + README.html README_ip_file_format.html \ + README_rdns_directory_format.html README_rdns_file_format.html \ + UPGRADING.txt +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +post-patch: + @${REINPLACE_CMD} -e 's#^CFLAGS :=.*#CFLAGS = ${CFLAGS}#' ${WRKSRC}/Makefile.in + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/spamdyke ${PREFIX}/bin + +.include diff --git a/mail/spamdyke/distinfo b/mail/spamdyke/distinfo new file mode 100644 index 000000000000..fac8753af658 --- /dev/null +++ b/mail/spamdyke/distinfo @@ -0,0 +1,3 @@ +MD5 (spamdyke-3.1.6.tgz) = 5b065f2690f40da3ea765dc671da6dca +SHA256 (spamdyke-3.1.6.tgz) = 3abafc8243819ecacc5b6edee0c5a663efa65762bef7e6f7efa44c8740e221a0 +SIZE (spamdyke-3.1.6.tgz) = 263910 diff --git a/mail/spamdyke/pkg-descr b/mail/spamdyke/pkg-descr new file mode 100644 index 000000000000..b0fe7e3be2bf --- /dev/null +++ b/mail/spamdyke/pkg-descr @@ -0,0 +1,12 @@ +spamdyke is a filter for monitoring and intercepting SMTP +connections between a remote host and a qmail server. Spam +is blocked while the remote server (spammer) is still +connected; no additional processing or storage is needed. + +In addition to all of its anti-spam filters, spamdyke also +includes a number of features to enhance qmail. + +Best of all, using spamdyke does not require patching or +recompiling qmail! + +WWW: http://www.spamdyke.org/ -- cgit v1.2.3