This plugin uses Clam AntiVirus to scan all messages that are

received from an IMAP, LOCAL or POP account.

When a message attachment is found to contain a virus it can be
deleted or saved in a specially designated folder.

Options can be found in /Configuration/Preferences/Plugins/Clam AntiVirus.

WWW:	http://www.claws-mail.org/plugins.php

PR:		ports/152758
Submitted by:	Pawel Pekala <c0rn at o2.pl>
This commit is contained in:
Martin Wilke 2010-12-17 09:24:56 +00:00
parent a0c2461170
commit 922fda732e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266490
6 changed files with 76 additions and 0 deletions

View file

@ -51,6 +51,7 @@
SUBDIR += claws-mail-attach_warner
SUBDIR += claws-mail-bsfilter
SUBDIR += claws-mail-cachesaver
SUBDIR += claws-mail-clamd
SUBDIR += claws-mail-fancy
SUBDIR += claws-mail-fetchinfo
SUBDIR += claws-mail-gtkhtml2_viewer

View file

@ -0,0 +1,46 @@
# New ports collection makefile for: claws-mail-clamd
# Date created: 2010-12-01
# Whom: Pawel Pekala <c0rn@o2.pl>
#
# $FreeBSD$
#
PORTNAME= clamd
PORTVERSION= 3.5
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
MAINTAINER= c0rn@o2.pl
COMMENT= This plugin scans messages using clamd (Clam AV)
BUILD_DEPENDS= claws-mail>=3.7.8:${PORTSDIR}/mail/claws-mail
RUN_DEPENDS= claws-mail>=3.7.8:${PORTSDIR}/mail/claws-mail \
clamd:${PORTSDIR}/security/clamav
LICENSE= GPLv3
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_ICONV= yes
MAKE_JOBS_SAFE= yes
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@${ECHO}
@${ECHO_CMD} "********************************************************************************"
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} "********************************************************************************"
@${ECHO}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (clamd-3.5.tar.gz) = 5c15ab75d6decd3cb6428c31d76479238a90df1e6b31be259b6f761420e017db
SIZE (clamd-3.5.tar.gz) = 376200

View file

@ -0,0 +1,9 @@
his plugin uses Clam AntiVirus to scan all messages that are
received from an IMAP, LOCAL or POP account.
When a message attachment is found to contain a virus it can be
deleted or saved in a specially designated folder.
Options can be found in /Configuration/Preferences/Plugins/Clam AntiVirus.
WWW: http://www.claws-mail.org/plugins.php

View file

@ -0,0 +1,4 @@
Due to licensing issues this plugin does not link against any libraries
from clamav. The plugin therefore requires a running clamav daemon running
on either localhost or somewhere else which allows the plugin access via
a unix or a TCP socket.

View file

@ -0,0 +1,14 @@
lib/claws-mail/plugins/clamd.so
lib/claws-mail/plugins/clamd.la
lib/claws-mail/plugins/clamd.a
%%NLS%%share/locale/cs/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/en_GB/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/es/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/fi/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/fr/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/hu/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/id/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/it/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/sk/LC_MESSAGES/clamd.mo
%%NLS%%share/locale/uk/LC_MESSAGES/clamd.mo