mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
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. WWW: http://www.spmfilter.org/ PR: ports/146182 Submitted by: Axel Steiner <ast at treibsand.com> Approved by: wxs@ (mentor)
This commit is contained in:
parent
9ca8fcc7df
commit
12f37185c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254513
@ -646,6 +646,7 @@
|
||||
SUBDIR += spamstats
|
||||
SUBDIR += spfval
|
||||
SUBDIR += spmfilter
|
||||
SUBDIR += spmfilter-clamav
|
||||
SUBDIR += spmfilter-spamassassin
|
||||
SUBDIR += spruce
|
||||
SUBDIR += sqlgrey
|
||||
|
49
mail/spmfilter-clamav/Makefile
Normal file
49
mail/spmfilter-clamav/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: spmfilter-clamav
|
||||
# Date created: 2010-04-30
|
||||
# Whom: Axel Steiner <ast@treibsand.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= spmfilter-clamav
|
||||
PORTVERSION= 0.1.1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.spmfilter.org/attachments/download/59/
|
||||
|
||||
MAINTAINER= ast@treibsand.com
|
||||
COMMENT= ClamAV plugin for spmfilter
|
||||
|
||||
BUILD_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
|
||||
|
||||
RUN_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
|
||||
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
|
||||
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
|
||||
|
||||
USE_LDCONFIG= ${PREFIX}/lib/spmfilter
|
||||
|
||||
OPTIONS= DEBUG "Enable Debugging" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CMAKE_ARGS+= -DENABLE_DEBUG=TRUE
|
||||
.endif
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|share/man|man|' \
|
||||
${WRKSRC}/cmake/Modules/SMFMacros.cmake
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}/contrib
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/contrib/virus-notify.txt ${DOCSDIR}/contrib
|
||||
.endif
|
||||
.include <bsd.port.post.mk>
|
3
mail/spmfilter-clamav/distinfo
Normal file
3
mail/spmfilter-clamav/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (spmfilter-clamav-0.1.1.tar.gz) = 10e4151465ae7df00e7fc1dceb82d32b
|
||||
SHA256 (spmfilter-clamav-0.1.1.tar.gz) = 7b68b9b7347bf5787fe63da77e733c7a67c40c82d6c87760f8f5d658573dc8a9
|
||||
SIZE (spmfilter-clamav-0.1.1.tar.gz) = 9065
|
9
mail/spmfilter-clamav/pkg-descr
Normal file
9
mail/spmfilter-clamav/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
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.
|
||||
|
||||
WWW: http://www.spmfilter.org/
|
3
mail/spmfilter-clamav/pkg-plist
Normal file
3
mail/spmfilter-clamav/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
lib/spmfilter/libclamav.so
|
||||
lib/spmfilter/libclamav.so.0.1.1
|
||||
@dirrmtry lib/spmfilter
|
Loading…
Reference in New Issue
Block a user