summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-10-16 01:26:41 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-10-16 01:26:41 +0000
commitaf86081561acd4715d3195884a44eb1e559c7403 (patch)
tree686147bc9211b3dec6c2fe90479b957029ad21b2
parentThis port really is broken on 4.X. (diff)
Add clamassassin
Clamassassin is a simple virus filter wrapper for ClamAV for use in procmail filters and similiar applications. Clamassassin's interface is similiar to that of spamassassin, making it easy to implement for those familiar with that tool. Clamassassin is designed with an emphasis on security, robustness and simplicity. PR: 72698 Submitted by: Matt <matt@xtaz.net>
-rw-r--r--security/Makefile1
-rw-r--r--security/clamassassin/Makefile36
-rw-r--r--security/clamassassin/distinfo2
-rw-r--r--security/clamassassin/pkg-descr7
4 files changed, 46 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 321115775117..4c961bea7cda 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -42,6 +42,7 @@
SUBDIR += chkrootkit
SUBDIR += chrootuid
SUBDIR += cksfv
+ SUBDIR += clamassassin
SUBDIR += clamav
SUBDIR += clamav-devel
SUBDIR += clamsmtp
diff --git a/security/clamassassin/Makefile b/security/clamassassin/Makefile
new file mode 100644
index 000000000000..99f5c82707b4
--- /dev/null
+++ b/security/clamassassin/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: clamassassin
+# Date created: 16 October 2004
+# Whom: Matt <matt@xtaz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clamassassin
+PORTVERSION= 1.2.2
+CATEGORIES= security
+MASTER_SITES= http://drivel.com/clamassassin/
+
+MAINTAINER= ports@freebsd.org
+COMMENT= A simple virus filter wrapper for ClamAV
+
+BUILD_DEPENDS= sigtool:${PORTSDIR}/security/clamav
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PLIST_FILES= bin/clamassassin
+
+GNU_CONFIGURE= yes
+
+OPTIONS= CLAMDSCAN "Scanning using clamd" on \
+ SUBREWRITE "Mail subject rewriting" off
+
+.include <bsd.port.pre.mk>
+
+.if !defined (WITHOUT_CLAMDSCAN)
+CONFIGURE_ARGS+= --enable-clamdscan
+.endif
+
+.if defined (WITH_SUBREWRITE)
+CONFIGURE_ARGS+= --enable-subject-rewrite
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/clamassassin/distinfo b/security/clamassassin/distinfo
new file mode 100644
index 000000000000..7b4276783d3e
--- /dev/null
+++ b/security/clamassassin/distinfo
@@ -0,0 +1,2 @@
+MD5 (clamassassin-1.2.2.tar.gz) = 38fb2ef866fbef72df627352d2069032
+SIZE (clamassassin-1.2.2.tar.gz) = 33748
diff --git a/security/clamassassin/pkg-descr b/security/clamassassin/pkg-descr
new file mode 100644
index 000000000000..922c0b822cfb
--- /dev/null
+++ b/security/clamassassin/pkg-descr
@@ -0,0 +1,7 @@
+Clamassassin is a simple virus filter wrapper for ClamAV for use in procmail
+filters and similiar applications. Clamassassin's interface is similiar to
+that of spamassassin, making it easy to implement for those familiar with
+that tool. Clamassassin is designed with an emphasis on security, robustness
+and simplicity.
+
+WWW: http://drivel.com/clamassassin/