aboutsummaryrefslogtreecommitdiffstats
path: root/mail/rmilter
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2009-02-16 17:43:04 +0800
committervsevolod <vsevolod@FreeBSD.org>2009-02-16 17:43:04 +0800
commit8eecb321e1de510696f75364d0834cf97eae3052 (patch)
tree903055408f0a8f8614309c39d964cd27d8721695 /mail/rmilter
parent441ce64155feb737939a42d91086869d9c373e05 (diff)
downloadfreebsd-ports-gnome-8eecb321e1de510696f75364d0834cf97eae3052.tar.gz
freebsd-ports-gnome-8eecb321e1de510696f75364d0834cf97eae3052.tar.zst
freebsd-ports-gnome-8eecb321e1de510696f75364d0834cf97eae3052.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
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/