aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-13 06:17:17 +0800
committermiwi <miwi@FreeBSD.org>2008-02-13 06:17:17 +0800
commitd87f41204be12694015b3400cfecb1398f405134 (patch)
treec9e10b82d7e6ec42740683c401bc4a59d5089785 /mail
parent440a4554eb002f618012076931a29ba07c6dc6bc (diff)
downloadfreebsd-ports-gnome-d87f41204be12694015b3400cfecb1398f405134.tar.gz
freebsd-ports-gnome-d87f41204be12694015b3400cfecb1398f405134.tar.zst
freebsd-ports-gnome-d87f41204be12694015b3400cfecb1398f405134.zip
Enables the scanning of message attachments in mail received from a POP, IMAP,
or LOCAL account using Clam AntiVirus. It can optionally delete the mail or save it to a designated folder. WWW: http://www.claws-mail.org/plugins.php
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/claws-mail-clamav/Makefile32
-rw-r--r--mail/claws-mail-clamav/distinfo3
-rw-r--r--mail/claws-mail-clamav/pkg-descr5
4 files changed, 41 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index f278cfe8b9a9..d9ad70e6c8b7 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -45,6 +45,7 @@
SUBDIR += claws-mail-att_remover
SUBDIR += claws-mail-attach_warner
SUBDIR += claws-mail-cachesaver
+ SUBDIR += claws-mail-clamav
SUBDIR += claws-mail-etpan_privacy
SUBDIR += claws-mail-fetchinfo
SUBDIR += claws-mail-gtkhtml2_viewer
diff --git a/mail/claws-mail-clamav/Makefile b/mail/claws-mail-clamav/Makefile
new file mode 100644
index 000000000000..c00771f826a3
--- /dev/null
+++ b/mail/claws-mail-clamav/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: claws-mail-clamav
+# Date created: 26 November 2008
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= clamav
+PORTVERSION= 3.3
+CATEGORIES= mail
+MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
+PKGNAMEPREFIX= claws-mail-
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Clamav plugin for claws-mail
+
+BUILD_DEPENDS= claws-mail>=3.3.0:${PORTSDIR}/mail/claws-mail
+RUN_DEPENDS= claws-mail>=3.3.0:${PORTSDIR}/mail/claws-mail
+LIB_DEPENDS= clamav.3:${PORTSDIR}/security/clamav
+
+USE_GMAKE= yes
+USE_XLIB= yes
+USE_AUTOTOOLS= autoconf:261
+
+CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
+ --with-libintl-prefix=${LOCALBASE}
+
+PLIST_FILES= lib/claws-mail/plugins/clamav.a \
+ lib/claws-mail/plugins/clamav.la \
+ lib/claws-mail/plugins/clamav.so
+
+.include <bsd.port.mk>
diff --git a/mail/claws-mail-clamav/distinfo b/mail/claws-mail-clamav/distinfo
new file mode 100644
index 000000000000..957a4b41e50a
--- /dev/null
+++ b/mail/claws-mail-clamav/distinfo
@@ -0,0 +1,3 @@
+MD5 (clamav-3.3.tar.gz) = 0b5ed1907d51bfa28e4e87365ea1a095
+SHA256 (clamav-3.3.tar.gz) = 38a9a1d1731db30494598eeff7119f43f87fde9ddf4d4d5b430c1b4ed09851b0
+SIZE (clamav-3.3.tar.gz) = 380105
diff --git a/mail/claws-mail-clamav/pkg-descr b/mail/claws-mail-clamav/pkg-descr
new file mode 100644
index 000000000000..9f2c5590efd8
--- /dev/null
+++ b/mail/claws-mail-clamav/pkg-descr
@@ -0,0 +1,5 @@
+Enables the scanning of message attachments in mail received from a POP, IMAP,
+or LOCAL account using Clam AntiVirus. It can optionally delete the mail or
+save it to a designated folder.
+
+WWW: http://www.claws-mail.org/plugins.php