aboutsummaryrefslogtreecommitdiff
path: root/mail/rmilter
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2009-02-16 09:43:04 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2009-02-16 09:43:04 +0000
commit4d7593d252c2fd72887025d92d7c744e3b906970 (patch)
treedb0dd7c211919e941bdcbe5b5059385778af2f73 /mail/rmilter
parent5fd59ba5c900c82801b7ab2ef4bee6f408fe2531 (diff)
downloadports-4d7593d252c2fd72887025d92d7c744e3b906970.tar.gz
ports-4d7593d252c2fd72887025d92d7c744e3b906970.zip
* Add new port rmilter: milter that is designed for using in highly loaded
mail systems and can perform different actions: - clamav scanning - spamassassin spamd scanning - greylisting and ratelimits support (via memcached) - spf check - regexp support
Notes
Notes: svn path=/head/; revision=228491
Diffstat (limited to 'mail/rmilter')
-rw-r--r--mail/rmilter/Makefile48
-rw-r--r--mail/rmilter/distinfo3
-rw-r--r--mail/rmilter/pkg-descr4
3 files changed, 55 insertions, 0 deletions
diff --git a/mail/rmilter/Makefile b/mail/rmilter/Makefile
new file mode 100644
index 000000000000..2fdadeeb9082
--- /dev/null
+++ b/mail/rmilter/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: rmilter
+# Date created: 2007-11-02
+# Whom: vsevolod
+#
+# $FreeBSD$
+#
+
+PORTNAME= rmilter
+PORTVERSION= 1.5.18
+CATEGORIES= mail
+MASTER_SITES= http://cebka.pp.ru/distfiles/
+
+MAINTAINER= vsevolod@FreeBSD.org
+COMMENT= Milter plugin for rambler mail
+
+PLIST_FILES= sbin/rmilter etc/rc.d/rmilter.sh etc/rmilter.conf.sample
+
+HAS_CONFIGURE= yes
+
+.ifdef WITH_DEBUG
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+.ifdef WITH_SENDMAIL
+CONFIGURE_ARGS+= --enable-sendmail
+.endif
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 502102
+IGNORE= using libspf2 requires a thread safe resolver
+.else
+LIB_DEPENDS+= spf2.3:${PORTSDIR}/mail/libspf2
+.endif
+
+CFLAGS+= ${PTHREAD_CFLAGS}
+LIBS+= ${PTHREAD_LIBS}
+
+MAN8= rmilter.8
+
+.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rmilter.sh ${PREFIX}/etc/rc.d/
+ ${INSTALL_PROGRAM} ${WRKSRC}/rmilter ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/rmilter.conf.sample ${PREFIX}/etc/
+ ${INSTALL_MAN} ${WRKSRC}/rmilter.8 ${MAN8PREFIX}/man/man8/
+
+.include <bsd.port.post.mk>
diff --git a/mail/rmilter/distinfo b/mail/rmilter/distinfo
new file mode 100644
index 000000000000..86118b26320d
--- /dev/null
+++ b/mail/rmilter/distinfo
@@ -0,0 +1,3 @@
+MD5 (rmilter-1.5.18.tar.gz) = ca8f21738c28a72064f88361e2301aaf
+SHA256 (rmilter-1.5.18.tar.gz) = d2a7bc8cc81f9f691a8d059eb053ab33f5d149d5c5783eb152713af649df0312
+SIZE (rmilter-1.5.18.tar.gz) = 62805
diff --git a/mail/rmilter/pkg-descr b/mail/rmilter/pkg-descr
new file mode 100644
index 000000000000..bd6e9d8c77d9
--- /dev/null
+++ b/mail/rmilter/pkg-descr
@@ -0,0 +1,4 @@
+Rambler milter is milter plugin that makes clamav, spf, dcc, regexp and
+other checks for incoming e-mail.
+
+WWW: http://cebka.pp.ru/hg/rmilter/