Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 00:16:16 +0100
From:      "Pawel Pekala" <c0rn@o2.pl>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/152758: [NEW PORT] mail/claws-mail-clamd
Message-ID:  <1291245376.87632@caprica.slowicza.org>
Resent-Message-ID: <201012012320.oB1NK96L087904@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152758
>Category:       ports
>Synopsis:       [NEW PORT] mail/claws-mail-clamd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 01 23:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 8.1-RELEASE #2: Sat Aug 21 18:46:54 CEST 2010
    corn@caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC



>Description:


Add new port for claws-mail clamav plugin.

This plugin adds ability to scan incoming emails
with attachments for viruses using clamav
AV software.



>How-To-Repeat:





>Fix:


--- claws-mail-clamd.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	claws-mail-clamd
#	claws-mail-clamd/pkg-descr
#	claws-mail-clamd/Makefile
#	claws-mail-clamd/pkg-plist
#	claws-mail-clamd/distinfo
#	claws-mail-clamd/pkg-message
#
echo c - claws-mail-clamd
mkdir -p claws-mail-clamd > /dev/null 2>&1
echo x - claws-mail-clamd/pkg-descr
sed 's/^X//' >claws-mail-clamd/pkg-descr << '0fb7db1d4b31b40606c0577d641f40d4'
Xhis plugin uses Clam AntiVirus to scan all messages that are
Xreceived from an IMAP, LOCAL or POP account.
X
XWhen a message attachment is found to contain a virus it can be
Xdeleted or saved in a specially designated folder.
X
XOptions can be found in /Configuration/Preferences/Plugins/Clam AntiVirus.
X
XWWW:	http://www.claws-mail.org/plugins.php
0fb7db1d4b31b40606c0577d641f40d4
echo x - claws-mail-clamd/Makefile
sed 's/^X//' >claws-mail-clamd/Makefile << 'dcb3ef6069846dacc910ff5b7503d176'
X# New ports collection makefile for:	claws-mail-clamd
X# Date created:		2010-12-01
X# Whom:			Pawel Pekala <c0rn@o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	clamd
XPORTVERSION=	3.5
XCATEGORIES=	mail
XMASTER_SITES=	http://www.claws-mail.org/downloads/plugins/
XPKGNAMEPREFIX=	claws-mail-
X
XMAINTAINER=	c0rn@o2.pl
XCOMMENT=	This plugin scans messages using clamd (Clam AV)
X
XBUILD_DEPENDS=	claws-mail>=3.7.7:${PORTSDIR}/mail/claws-mail
XRUN_DEPENDS=	claws-mail>=3.7.7:${PORTSDIR}/mail/claws-mail \
X		clamd:${PORTSDIR}/security/clamav
X
XLICENSE=	GPLv3
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_ICONV=	yes
XMAKE_JOBS_SAFE=	yes
X
X.if defined(WITHOUT_NLS)
XCONFIGURE_ARGS+=--disable-nls
XPLIST_SUB+=	NLS="@comment "
X.else
XUSE_GETTEXT=	yes
XPLIST_SUB+=	NLS=""
X.endif
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-install:
X	@${ECHO}
X	@${ECHO_CMD} "********************************************************************************"
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_CMD} "********************************************************************************"
X	@${ECHO}
X
X.include <bsd.port.mk>
dcb3ef6069846dacc910ff5b7503d176
echo x - claws-mail-clamd/pkg-plist
sed 's/^X//' >claws-mail-clamd/pkg-plist << '28fa0776c1f9c0639b62fe5158a13344'
Xlib/claws-mail/plugins/clamd.so
Xlib/claws-mail/plugins/clamd.la
Xlib/claws-mail/plugins/clamd.a
X%%NLS%%share/locale/cs/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/en_GB/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/es/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/fi/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/fr/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/hu/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/id/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/it/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/pt_BR/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/sk/LC_MESSAGES/clamd.mo
X%%NLS%%share/locale/uk/LC_MESSAGES/clamd.mo
28fa0776c1f9c0639b62fe5158a13344
echo x - claws-mail-clamd/distinfo
sed 's/^X//' >claws-mail-clamd/distinfo << '2a7a828db9a951f91c1b1e9964c5a723'
XSHA256 (clamd-3.5.tar.gz) = 5c15ab75d6decd3cb6428c31d76479238a90df1e6b31be259b6f761420e017db
XSIZE (clamd-3.5.tar.gz) = 376200
2a7a828db9a951f91c1b1e9964c5a723
echo x - claws-mail-clamd/pkg-message
sed 's/^X//' >claws-mail-clamd/pkg-message << '67c8f6f863a0e138d710106d20ddd316'
XDue to licensing issues this plugin does not link against any libraries
Xfrom clamav. The plugin therefore requires a running clamav daemon running
Xon either localhost or somewhere else which allows the plugin access via
Xa unix or a TCP socket.
67c8f6f863a0e138d710106d20ddd316
exit

--- claws-mail-clamd.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1291245376.87632>