Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 13:06:44 +0200 (CEST)
From:      Axel Steiner <ast@treibsand.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146182: [NEW PORT] mail/spmfilter-clamav: ClamAV plugin for spmfilter	
Message-ID:  <201004301106.o3UB6iQp038540@havanna.treibsand.com>
Resent-Message-ID: <201004301110.o3UBA2Bs022080@freefall.freebsd.org>

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

>Number:         146182
>Category:       ports
>Synopsis:       [NEW PORT] mail/spmfilter-clamav: ClamAV plugin for spmfilter
>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:   Fri Apr 30 11:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Axel Steiner
>Release:        FreeBSD 7.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD havanna.treibsand.com 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
spmfilter-clamav is a plugin for spmfilter that enables spmfilter to check mails 
with the Clam AntiVirus open source toolkit for viruses. The major goal of this 
plugin is to provide an easy way for virus-scanning emails. If ClamAV detects 
malicious software like viruses the affected email is discarded by the plugin. 
Optionally notifications can be enabled to inform the recipients and sender 
(configurable) about the discarded message. 
	
>How-To-Repeat:
	
>Fix:

	

--- spmfilter-clamav-0.1.1.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:
#
#	/usr/ports/mail/spmfilter-clamav/
#	/usr/ports/mail/spmfilter-clamav/Makefile
#	/usr/ports/mail/spmfilter-clamav/distinfo
#	/usr/ports/mail/spmfilter-clamav/pkg-descr
#	/usr/ports/mail/spmfilter-clamav/pkg-plist
#
echo c - /usr/ports/mail/spmfilter-clamav/
mkdir -p /usr/ports/mail/spmfilter-clamav/ > /dev/null 2>&1
echo x - /usr/ports/mail/spmfilter-clamav/Makefile
sed 's/^X//' >/usr/ports/mail/spmfilter-clamav/Makefile << '1c258324b96c9608722c8fbd57266046'
X# New ports collection makefile for:	spmfilter-clamav
X# Date created:				30 April 2010
X# Whom:					Axel Steiner <ast@treibsand.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spmfilter-clamav
XPORTVERSION=	0.1.1
XCATEGORIES=	mail
XMASTER_SITES=	http://www.spmfilter.org/attachments/download/59/
X
XMAINTAINER=	ast@treibsand.com
XCOMMENT=	ClamAV plugin for spmfilter
X
XBUILD_DEPENDS=	spmfilter>=0.4:${PORTSDIR}/mail/spmfilter \
X		glib>=2.04:${PORTSDIR}/devel/glib20
X
XRUN_DEPENDS=	spmfilter>=0.4:${PORTSDIR}/mail/spmfilter \
X		glib>=2.04:${PORTSDIR}/devel/glib20
X
XUSE_CMAKE=	yes
XCMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
X		-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
X
XUSE_LDCONFIG=	${PREFIX}/lib/spmfilter
X
XOPTIONS=	DEBUG	"Enable Debugging"	off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_DEBUG)
XCMAKE_ARGS+=    -DENABLE_DEBUG=TRUE
X.endif
X
XMAN1=           ${PORTNAME}.1
XMANCOMPRESSED=  yes
X
XDOCS=		contrib/virus-notify.txt README
XPORTDOCS=	*
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|share/man|man|' \
X		${WRKSRC}/cmake/Modules/SMFMacros.cmake
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X.include <bsd.port.post.mk>
1c258324b96c9608722c8fbd57266046
echo x - /usr/ports/mail/spmfilter-clamav/distinfo
sed 's/^X//' >/usr/ports/mail/spmfilter-clamav/distinfo << '115a9d5172dd0622af1753c509a7d2f7'
XMD5 (spmfilter-clamav-0.1.1.tar.gz) = 10e4151465ae7df00e7fc1dceb82d32b
XSHA256 (spmfilter-clamav-0.1.1.tar.gz) = 7b68b9b7347bf5787fe63da77e733c7a67c40c82d6c87760f8f5d658573dc8a9
XSIZE (spmfilter-clamav-0.1.1.tar.gz) = 9065
115a9d5172dd0622af1753c509a7d2f7
echo x - /usr/ports/mail/spmfilter-clamav/pkg-descr
sed 's/^X//' >/usr/ports/mail/spmfilter-clamav/pkg-descr << '9396550fca738a435677f464c4ea64e0'
Xspmfilter-clamav is a plugin for spmfilter that enables spmfilter 
Xto check mails with the Clam AntiVirus open source toolkit for 
Xviruses. The major goal of this plugin is to provide an easy way 
Xfor virus-scanning emails. If ClamAV detects malicious software 
Xlike viruses the affected email is discarded by the plugin. 
XOptionally notifications can be enabled to inform the recipients
Xand sender (configurable) about the discarded message. 
X
XWWW: http://www.spmfilter.org/
9396550fca738a435677f464c4ea64e0
echo x - /usr/ports/mail/spmfilter-clamav/pkg-plist
sed 's/^X//' >/usr/ports/mail/spmfilter-clamav/pkg-plist << '2cf132e44edcd6311d97ebf1fc462c1f'
Xlib/spmfilter/libclamav.so
Xlib/spmfilter/libclamav.so.0.1.1
2cf132e44edcd6311d97ebf1fc462c1f
exit
--- spmfilter-clamav-0.1.1.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?201004301106.o3UB6iQp038540>