aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-16 09:26:41 +0800
committerleeym <leeym@FreeBSD.org>2004-10-16 09:26:41 +0800
commit25a5ace978a43b9c607a6a080ff5d8884b5e4dfc (patch)
treeeb606fa2eda08c05e3a422f72dc5acaca8fa56f3
parent9d210accbbe79472c1b436b23aed15327937a9cf (diff)
downloadfreebsd-ports-gnome-25a5ace978a43b9c607a6a080ff5d8884b5e4dfc.tar.gz
freebsd-ports-gnome-25a5ace978a43b9c607a6a080ff5d8884b5e4dfc.tar.zst
freebsd-ports-gnome-25a5ace978a43b9c607a6a080ff5d8884b5e4dfc.zip
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/