From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 13 16:50:04 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 194A01065670 for ; Tue, 13 Apr 2010 16:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C6E408FC15 for ; Tue, 13 Apr 2010 16:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3DGo3ja016493 for ; Tue, 13 Apr 2010 16:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3DGo30P016492; Tue, 13 Apr 2010 16:50:03 GMT (envelope-from gnats) Resent-Date: Tue, 13 Apr 2010 16:50:03 GMT Resent-Message-Id: <201004131650.o3DGo30P016492@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Wall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DADC0106566B for ; Tue, 13 Apr 2010 16:46:11 +0000 (UTC) (envelope-from fw@inotronic.de) Received: from mail.inotronic.de (mail.inotronic.de [77.73.248.111]) by mx1.freebsd.org (Postfix) with ESMTP id 4B11E8FC13 for ; Tue, 13 Apr 2010 16:46:10 +0000 (UTC) Received: from phosphorus (mail [77.73.248.111]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id o3DGk90w071543; Tue, 13 Apr 2010 18:46:09 +0200 (CEST) (envelope-from fw@inotronic.de) Received: from boron.inotronic.de (boron.inotronic-intern.de [10.1.2.10]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id o3DGjxJ1071535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Apr 2010 18:46:00 +0200 (CEST) (envelope-from fw@inotronic.de) Received: from boron.inotronic-intern.de (fw@localhost [127.0.0.1]) by boron.inotronic.de (8.14.3/8.14.3) with ESMTP id o3DGjxqN071145; Tue, 13 Apr 2010 18:45:59 +0200 (CEST) (envelope-from fw@boron.inotronic-intern.de) Received: (from fw@localhost) by boron.inotronic-intern.de (8.14.3/8.14.3/Submit) id o3DGjw5n071144; Tue, 13 Apr 2010 18:45:58 +0200 (CEST) (envelope-from fw) Message-Id: <201004131645.o3DGjw5n071144@boron.inotronic-intern.de> Date: Tue, 13 Apr 2010 18:45:58 +0200 (CEST) From: Frank Wall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: fw@moov.de Subject: ports/145673: [NEW PORT] mail/spmfilter: Spmfilter is a high-performance mail filtering framework, written in C X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 16:50:04 -0000 >Number: 145673 >Category: ports >Synopsis: [NEW PORT] mail/spmfilter: Spmfilter is a high-performance mail filtering framework, written in C >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: Tue Apr 13 16:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frank Wall >Release: FreeBSD 7.1-RELEASE-p4 amd64 >Organization: >Environment: System: FreeBSD 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009 >Description: spmfilter is a high-performance mail filtering framework, written in C. It attempts to be a general filtering framework for any purposes. Filtering mechanisms are provided by plugins, the API enables spmfilter plugins to access messages as they are being processed by the MTA. This allows them to examine and modify message content and meta-information during the SMTP transaction. Plugins are loaded at runtime and can be processed in any sequence, the processing chain can also be altered by a single plugin, for example if the plugin has to stop further processing (e.g. the clamav-plugin detected malicious software like a virus and the infected message is actually discarded - so further processing is stopped by the plugin). WWW: http://www.spmfilter.org/ Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- spmfilter-0.4.0.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: # # spmfilter # spmfilter/files # spmfilter/files/spmfilter.in # spmfilter/Makefile # spmfilter/distinfo # spmfilter/pkg-descr # spmfilter/pkg-plist # echo c - spmfilter mkdir -p spmfilter > /dev/null 2>&1 echo c - spmfilter/files mkdir -p spmfilter/files > /dev/null 2>&1 echo x - spmfilter/files/spmfilter.in sed 's/^X//' >spmfilter/files/spmfilter.in << 'ad4aea1fd80b541780ffdb0d2acaa4da' X#!/bin/sh X X# $FreeBSD$ X# X# PROVIDE: spmfilter X# REQUIRE: LOGIN mysql postgresql X# BEFORE: mail X# KEYWORD: shutdown X X# X# Add the following lines to /etc/rc.conf to enable spmfilter: X# X# spmfilter_enable="YES" X# X# See man spmfilter for flags or the config file. X# X X. /etc/rc.subr X Xname=spmfilter Xrcvar=`set_rcvar` X Xcommand=/usr/local/sbin/spmfilter X Xload_rc_config $name X Xspmfilter_enable=${spmfilter_enable-"NO"} Xspmfilter_config=${spmfilter_config-"/usr/local/etc/spmfilter.conf"} Xspmfilter_flags=${spmfilter_flags-"-f ${spmfilter_config}"} X Xrun_rc_command "$1" ad4aea1fd80b541780ffdb0d2acaa4da echo x - spmfilter/Makefile sed 's/^X//' >spmfilter/Makefile << '0b475f0e56329c0afc7ed90331be140e' X# New ports collection makefile for: spmfilter X# Date created: 2010-04-12 X# Whom: Frank Wall X# X# $FreeBSD$ X# X XPORTNAME= spmfilter XPORTVERSION= 0.4.0 XCATEGORIES= mail XMASTER_SITES= http://www.spmfilter.org/attachments/download/51/ X XMAINTAINER= fw@moov.de XCOMMENT= Spmfilter is a high-performance mail filtering framework, written in C X XBUILD_DEPENDS+= cmake>=2.4.5:${PORTSDIR}/devel/cmake \ X gmime>=2.2:${PORTSDIR}/mail/gmime2 \ X libesmtp>=1.0:${PORTSDIR}/mail/libesmtp \ X glib>=2.04:${PORTSDIR}/devel/glib20 \ X pcre>=6.0:${PORTSDIR}/devel/pcre X XRUN_DEPENDS+= gmime>=2.2:${PORTSDIR}/mail/gmime2 \ X libesmtp>=1.0:${PORTSDIR}/mail/libesmtp \ X glib>=2.04:${PORTSDIR}/devel/glib20 \ X pcre>=6.0:${PORTSDIR}/devel/pcre X XUSE_CMAKE= yes X XUSE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} X XUSE_RC_SUBR= spmfilter X XOPTIONS= DB4 "Enable DB4 support" on \ X DEBUG "Enable Debugging" off \ X LDAP "Enable LDAP support" on \ X ZDB "Enable ZDB support" on X X.if !defined(WITH_DB4) || defined(WITHOUT_DB4) XCMAKE_ARGS+= -DWITHOUT_DB4=TRUE X.endif X X.if defined(WITH_DEBUG) XCMAKE_ARGS+= -DENABLE_DEBUG=TRUE X.endif X X.if !defined(WITH_LDAP) || defined(WITHOUT_LDAP) XCMAKE_ARGS+= -DWITHOUT_LDAP=TRUE X.endif X X.if !defined(WITH_ZDB) || defined(WITHOUT_ZDB) XCMAKE_ARGS+= -DWITHOUT_ZDB=TRUE X.endif X XMAN1= spmfilter.1 XMAN5= spmfilter.conf.5 X X.include X Xpost-patch: X @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/cmake/Modules/SMFMacros.cmake X Xpost-install: X ${INSTALL_MAN} ${WRKSRC}/man/spmfilter.1 ${MANPREFIX}/man/man1 X ${INSTALL_MAN} ${WRKSRC}/man/spmfilter.conf.5 ${MANPREFIX}/man/man5 X ${INSTALL_DATA} ${WRKSRC}/spmfilter.conf.sample ${PREFIX}/etc/spmfilter.conf.sample X ${MV} ${PREFIX}/lib/pkgconfig/spmfilter.pc ${PREFIX}/libdata/pkgconfig/spmfilter.pc X X.include 0b475f0e56329c0afc7ed90331be140e echo x - spmfilter/distinfo sed 's/^X//' >spmfilter/distinfo << '08df16adfe7205efc96f340358f95bc1' XMD5 (spmfilter-0.4.0.tar.gz) = ae8adfc86820da98b45758fdd7688907 XSHA256 (spmfilter-0.4.0.tar.gz) = c566c199bd1e4b59dff8f9a186ccaa3b951bc2f2837f838723c8dbdfcc4a3eeb XSIZE (spmfilter-0.4.0.tar.gz) = 52689 08df16adfe7205efc96f340358f95bc1 echo x - spmfilter/pkg-descr sed 's/^X//' >spmfilter/pkg-descr << '6e37cddf188ac9e850631c1ab2e483d1' Xspmfilter is a high-performance mail filtering framework, written in C. X XIt attempts to be a general filtering framework for any purposes. XFiltering mechanisms are provided by plugins, the API enables spmfilter Xplugins to access messages as they are being processed by the MTA. XThis allows them to examine and modify message content and Xmeta-information during the SMTP transaction. Plugins are loaded at Xruntime and can be processed in any sequence, the processing chain Xcan also be altered by a single plugin, for example if the plugin has Xto stop further processing (e.g. the clamav-plugin detected malicious Xsoftware like a virus and the infected message is actually discarded X- so further processing is stopped by the plugin). X XWWW: http://www.spmfilter.org/ 6e37cddf188ac9e850631c1ab2e483d1 echo x - spmfilter/pkg-plist sed 's/^X//' >spmfilter/pkg-plist << '9bf06e9108f7746defeba48d5a2a33b4' Xinclude/spmfilter/smf/smf_core.h Xinclude/spmfilter/smf/smf_lookup.h Xinclude/spmfilter/smf/smf_message.h Xinclude/spmfilter/smf/smf_mime.h Xinclude/spmfilter/smf/smf_session.h Xinclude/spmfilter/smf/smf_settings.h Xinclude/spmfilter/smf/smf_trace.h Xinclude/spmfilter/spmfilter.h Xinclude/spmfilter/spmfilter_config.h Xlibdata/pkgconfig/spmfilter.pc Xlib/spmfilter/libpipe.so Xlib/spmfilter/libpipe.so.0.4.0 Xlib/spmfilter/libsmf.so Xlib/spmfilter/libsmf.so.0.4.0 Xlib/spmfilter/libsmtpd.so Xlib/spmfilter/libsmtpd.so.0.4.0 Xsbin/spmfilter X@unexec if cmp -s %D/etc/spmfilter.conf.sample %D/etc/spmfilter.conf; then rm -f %D/etc/spmfilter.conf; fi Xetc/spmfilter.conf.sample X@dirrmtry include/spmfilter/smf X@dirrmtry include/spmfilter X@dirrmtry lib/pkgconfig X@dirrmtry lib/spmfilter X@dirrmtry %%EXAMPLESDIR%% 9bf06e9108f7746defeba48d5a2a33b4 exit --- spmfilter-0.4.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: