From fw@inotronic.de  Tue Apr 13 16:46:11 2010
Return-Path: <fw@inotronic.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DADC0106566B
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <fw@moov.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: fw@moov.de
Subject: [NEW PORT] mail/spmfilter: Spmfilter is a high-performance mail filtering framework, written in C
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    sahil
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 16:50:03 UTC 2010
>Closed-Date:    Tue Apr 27 02:44:43 UTC 2010
>Last-Modified:  Tue Apr 27 02:44:43 UTC 2010
>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 <fw@moov.de>
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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->sahil 
Responsible-Changed-By: sahil 
Responsible-Changed-When: Wed Apr 21 03:19:50 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145673 
State-Changed-From-To: open->analyzed 
State-Changed-By: sahil 
State-Changed-When: Sun Apr 25 21:14:58 UTC 2010 
State-Changed-Why:  
There are a few issues with this port; I will send submitter a revision 
soon. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145673 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145673: commit references a PR
Date: Tue, 27 Apr 2010 02:32:08 +0000 (UTC)

 sahil       2010-04-27 02:31:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail                 Makefile 
   Added files:
     mail/spmfilter       Makefile distinfo pkg-descr pkg-plist 
     mail/spmfilter/files spmfilter.in 
   Log:
   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
   
   WWW: http://www.spmfilter.org/
   
   PR:             ports/145673
   Submitted by:   Frank Wall <fw at moov.de>
   Reworked by:    sahil@ (myself)
   Approved by:    wxs@ (mentor)
   
   Revision  Changes    Path
   1.1018    +1 -0      ports/mail/Makefile
   1.1       +102 -0    ports/mail/spmfilter/Makefile (new)
   1.1       +3 -0      ports/mail/spmfilter/distinfo (new)
   1.1       +31 -0     ports/mail/spmfilter/files/spmfilter.in (new)
   1.1       +11 -0     ports/mail/spmfilter/pkg-descr (new)
   1.1       +23 -0     ports/mail/spmfilter/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: sahil 
State-Changed-When: Tue Apr 27 02:44:42 UTC 2010 
State-Changed-Why:  
Committed, after rework. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145673 
>Unformatted:
