Date: Sun, 19 Jun 2005 21:39:48 +0200 (CEST) From: Petr Rehor <prehor@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82427: [NEW PORT] security/amavisd-milter: Milter for amavisd-new Message-ID: <200506191939.j5JJdmaR051973@charon.rx.cz> Resent-Message-ID: <200506191940.j5JJeDM2070018@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82427 >Category: ports >Synopsis: [NEW PORT] security/amavisd-milter: Milter for amavisd-new >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: Sun Jun 19 19:40:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Petr Rehor >Release: FreeBSD 5.3-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD charon.rx.cz 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Sun Dec 5 01:31:43 UTC >Description: amavisd-milter is a sendmail milter for amavisd-new version 2.2.0 and above which use the new AM.PDP protocol. Full amavisd-new functionality is available, including adding spam and virus information header fields, modifying Subject, adding address extensions and removing certain recipients from delivery while delivering the same message to the rest. WWW: http://sourceforge.net/projects/amavisd-milter/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- amavisd-milter-1.0.2.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: # # amavisd-milter # amavisd-milter/pkg-descr # amavisd-milter/Makefile # amavisd-milter/files # amavisd-milter/files/amavisd-milter.sh.in # amavisd-milter/files/pkg-message.in # amavisd-milter/distinfo # amavisd-milter/pkg-plist # echo c - amavisd-milter mkdir -p amavisd-milter > /dev/null 2>&1 echo x - amavisd-milter/pkg-descr sed 's/^X//' >amavisd-milter/pkg-descr << 'END-of-amavisd-milter/pkg-descr' Xamavisd-milter is a sendmail milter for amavisd-new version 2.2.0 and above Xwhich use the new AM.PDP protocol. Full amavisd-new functionality is Xavailable, including adding spam and virus information header fields, Xmodifying Subject, adding address extensions and removing certain recipients Xfrom delivery while delivering the same message to the rest. X XWWW: http://sourceforge.net/projects/amavisd-milter/ END-of-amavisd-milter/pkg-descr echo x - amavisd-milter/Makefile sed 's/^X//' >amavisd-milter/Makefile << 'END-of-amavisd-milter/Makefile' X# New ports collection makefile for: amavisd-milter X# Date created: 2005-06-08 X# Whom: Petr Rehor <prehor@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= amavisd-milter XPORTVERSION= 1.0.2 XCATEGORIES= security XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= prehor@gmail.com XCOMMENT= Milter for amavisd-new X XRUN_DEPENDS= amavisd:${PORTSDIR}/security/amavisd-new X X# Shared defaults with security/amavisd-new XAMAVISUSER?= vscan XAMAVISDIR?= /var/amavis X XGNU_CONFIGURE= yes XUSE_RCORDER= ${PORTNAME}.sh X XSUB_FILES= pkg-message XSUB_LIST= AMAVISUSER=${AMAVISUSER} \ X AMAVISDIR=${AMAVISDIR} \ X XDOCS= AUTHORS CHANGES INSTALL LICENSE README TODO XDOCSDIR= ${PREFIX}/share/doc/${PORTNAME} X X.include <bsd.port.pre.mk> X XPLIST_SUB+= RC_DIR=${RC_DIR} \ X RC_SUFX=${RC_SUFX} \ X DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for f in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-amavisd-milter/Makefile echo c - amavisd-milter/files mkdir -p amavisd-milter/files > /dev/null 2>&1 echo x - amavisd-milter/files/amavisd-milter.sh.in sed 's/^X//' >amavisd-milter/files/amavisd-milter.sh.in << 'END-of-amavisd-milter/files/amavisd-milter.sh.in' X#!/bin/sh X# X# $FreeBSD$ X# X X# PROVIDE: amavisd-milter X# REQUIRE: amavisd X# BEFORE: mail X# KEYWORD: FreeBSD shutdown X X# X# Add the following lines to /etc/rc.conf to enable amavisd-milter: X# X#amavisd_milter_enable="YES" X# X X# Set defaults Xamavisd_milter_enable="NO" Xamavisd_milter_flags="" Xamavisd_milter_pidfile="%%AMAVISGROUP%%/amavisd-milter.pid" Xamavisd_milter_user="%%AMAVISUSER%%" X X. %%RC_SUBR%% X Xname="amavisd_milter" Xrcvar=`set_rcvar` X Xcommand="%%PREFIX%%/sbin/amavisd-milter" Xrequired_files="%%PREFIX%%/etc/amavisd.conf" X Xload_rc_config $name Xrun_rc_command "$1" END-of-amavisd-milter/files/amavisd-milter.sh.in echo x - amavisd-milter/files/pkg-message.in sed 's/^X//' >amavisd-milter/files/pkg-message.in << 'END-of-amavisd-milter/files/pkg-message.in' X X******************************************************************* X X Enable amavisd-milter in /etc/rc.conf with the following line: X X amavisd_milter_enable="YES" X X******************************************************************* X END-of-amavisd-milter/files/pkg-message.in echo x - amavisd-milter/distinfo sed 's/^X//' >amavisd-milter/distinfo << 'END-of-amavisd-milter/distinfo' XMD5 (amavisd-milter-1.0.2.tar.gz) = b661a4b8cf2986e5c6aa2a86d61d04c3 XSIZE (amavisd-milter-1.0.2.tar.gz) = 126640 END-of-amavisd-milter/distinfo echo x - amavisd-milter/pkg-plist sed 's/^X//' >amavisd-milter/pkg-plist << 'END-of-amavisd-milter/pkg-plist' X@comment $FreeBSD$ X@unexec %%RC_DIR%%/etc/rc.d/amavisd-milter%%RC_SUFX%% stop 2>&1 >/dev/null || true Xsbin/amavisd-milter X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/CHANGES X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/TODO X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-amavisd-milter/pkg-plist exit --- amavisd-milter-1.0.2.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?200506191939.j5JJdmaR051973>