From gslin@Infomath.math.NCTU.edu.tw  Thu Aug 15 13:28:55 2002
Return-Path: <gslin@Infomath.math.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2EC8137B405
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Aug 2002 13:28:46 -0700 (PDT)
Received: from Infomath.math.NCTU.edu.tw (infomath.Math.NCTU.edu.tw [140.113.22.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ADB6043E77
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Aug 2002 13:28:45 -0700 (PDT)
	(envelope-from gslin@Infomath.math.NCTU.edu.tw)
Received: from localhost (localhost [127.0.0.1])
	by Infomath.math.NCTU.edu.tw (Postfix) with ESMTP
	id E2BD658C0; Fri, 16 Aug 2002 04:28:37 +0800 (CST)
Received: by Infomath.math.NCTU.edu.tw (Postfix, from userid 1000)
	id 8F7EF582A; Fri, 16 Aug 2002 04:28:37 +0800 (CST)
Message-Id: <20020815202837.8F7EF582A@Infomath.math.NCTU.edu.tw>
Date: Fri, 16 Aug 2002 04:28:37 +0800 (CST)
From: Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw>
Reply-To: Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: gslin@Infomath.math.NCTU.edu.tw
Subject: Update port: security/amavisd
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41695
>Category:       ports
>Synopsis:       Update port: security/amavisd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obraun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 15 13:30:01 PDT 2002
>Closed-Date:    Wed Aug 21 14:31:50 PDT 2002
>Last-Modified:  Wed Aug 21 14:31:50 PDT 2002
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD Infomath.math.NCTU.edu.tw 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 #4: Fri Aug 16 02:01:21 CST 2002 root@Infomath.math.NCTU.edu.tw:/usr/obj/usr/src/sys/INFOMATH i386


	
>Description:
	Add variables WARNSENDER, WARNRECIP, and WARNADMIN.
	(Thanks Oliver Braun)

	Add variables SMTPPORT.

	Please close ports/41654.
	
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/security/amavisd/Makefile amavisd/Makefile
--- /usr/ports/security/amavisd/Makefile	Thu Aug  8 03:21:42 2002
+++ amavisd/Makefile	Fri Aug 16 04:23:10 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	amavisd
 PORTVERSION=	20020531
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	amavis
@@ -33,14 +34,24 @@
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 GNU_CONFIGURE=	yes
+USE_PERL5=	yes
 
-AMAVISUSER?=	vscan
 AMAVISGROUP?=	vscan
+AMAVISUSER?=	vscan
+SMTPPORT?=	10025
+STARTSCRIPT=	amavisd.sh
+WARNADMIN?=	yes
+WARNRECIP?=	no
+WARNSENDER?=	no
+
+CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc	\
+			--with-amavisuser=${AMAVISUSER}:${AMAVISGROUP}	\
+			--with-smtp-port=${SMTPPORT}	\
+			--with-warnsender=${WARNSENDER} \
+			--with-warnrecip=${WARNRECIP}	\
+			--with-warnadmin=${WARNADMIN}
 
-CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/etc --with-amavisuser=${AMAVISUSER}:${AMAVISGROUP}
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-
-STARTSCRIPT=	amavisd.sh
 
 .if defined(WITH_POSTFIX)
 CONFIGURE_ARGS+=	--enable-postfix
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obraun 
Responsible-Changed-By: obraun 
Responsible-Changed-When: Wed Aug 21 11:28:38 PDT 2002 
Responsible-Changed-Why:  
I'll handle this since part of it was submitted by me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41695 
State-Changed-From-To: open->closed 
State-Changed-By: obraun 
State-Changed-When: Wed Aug 21 14:31:13 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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