From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 29 15:20:03 2009 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 E70E11065695 for ; Thu, 29 Oct 2009 15:20:03 +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 9DE7C8FC22 for ; Thu, 29 Oct 2009 15:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9TFK3n2009952 for ; Thu, 29 Oct 2009 15:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9TFK3nj009951; Thu, 29 Oct 2009 15:20:03 GMT (envelope-from gnats) Resent-Date: Thu, 29 Oct 2009 15:20:03 GMT Resent-Message-Id: <200910291520.n9TFK3nj009951@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, Petr Rehor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C71D106568B for ; Thu, 29 Oct 2009 15:11:12 +0000 (UTC) (envelope-from reho@rx.cz) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6988FC21 for ; Thu, 29 Oct 2009 15:11:11 +0000 (UTC) Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id 6D7CDCE456F; Thu, 29 Oct 2009 15:11:10 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 59F3C72005A; Thu, 29 Oct 2009 16:11:10 +0100 (CET) Received: from antivir6.iol.cz ([127.0.0.1]) by localhost (antivir6.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id h4KUxteJmJUa; Thu, 29 Oct 2009 16:11:10 +0100 (CET) Received: from port5.iol.cz (unknown [192.168.30.95]) by antivir6.iol.cz (Postfix) with ESMTP id 3830C720058; Thu, 29 Oct 2009 16:11:10 +0100 (CET) Received: from 199.106.broadband4.iol.cz ([85.71.106.199]) by port5.iol.cz with ESMTP; 29 Oct 2009 16:11:10 +0100 Received: from 199.106.broadband4.iol.cz (localhost [127.0.0.1]) by 199.106.broadband4.iol.cz (8.14.3/8.14.3) with ESMTP id n9TFB9TX026357; Thu, 29 Oct 2009 16:11:09 +0100 (CET) (envelope-from reho@199.106.broadband4.iol.cz) Received: (from root@localhost) by 199.106.broadband4.iol.cz (8.14.3/8.14.3/Submit) id n9TFB9gp026356; Thu, 29 Oct 2009 16:11:09 +0100 (CET) (envelope-from reho) Message-Id: <200910291511.n9TFB9gp026356@199.106.broadband4.iol.cz> Date: Thu, 29 Oct 2009 16:11:09 +0100 (CET) From: Petr Rehor To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Petr Rehor Subject: ports/140084: [patch] security/amavisd-milter - minor port improvements X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Petr Rehor List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 15:20:04 -0000 >Number: 140084 >Category: ports >Synopsis: [patch] security/amavisd-milter - minor port improvements >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 29 15:20:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Petr Rehor >Release: FreeBSD 7.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD charon.rx.cz 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Minor port improvements: - Requires rebuild sendmail port or use WITH_SENDMAIL_STATIC_MILTER when sendmail from ports is used and ${LOCALBASE}/lib/libmilter.so.X is not present. See also http://www.freebsd.org/cgi/query-pr.cgi?pr=140080 - Handle WITH_DEBUG properly. - Notice website in pkg-messages. >How-To-Repeat: >Fix: --- amavisd-milter.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/amavisd-milter/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 22 Aug 2009 00:34:47 -0000 1.13 +++ Makefile 29 Oct 2009 14:58:53 -0000 @@ -55,10 +55,26 @@ BROKEN= Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes .endif +.if !defined(SENDMAIL_WITHOUT_MILTER) +.if defined(WITH_SENDMAIL_PORT) +.if !defined(WITH_SENDMAIL_STATIC_MILTER) && !exists(${LOCALBASE}/lib/libmilter.so.${MILTER_SOVER}) +pre-everything:: + @${ECHO_MSG} + @${ECHO_MSG} You must rebuild sendmail port with SENDMAIL_WITH_SHARED_MILTER + @${ECHO_MSG} or set variable WITH_SENDMAIL_STATIC_MILTER + @${FALSE} +.endif +.endif +.endif + .if defined(WITH_SENDMAIL_PORT) CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE} .endif +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} Index: files/pkg-message.in =================================================================== RCS file: /home/ncvs/ports/security/amavisd-milter/files/pkg-message.in,v retrieving revision 1.1 diff -u -r1.1 pkg-message.in --- files/pkg-message.in 13 Nov 2005 16:28:47 -0000 1.1 +++ files/pkg-message.in 29 Oct 2009 14:58:53 -0000 @@ -1,6 +1,9 @@ ******************************************************************* + To configure amavisd-milter, sendmail and amavisd-new point + your browser to %%WEBSITE%% + Enable amavisd-milter in /etc/rc.conf with the following line: amavisd_milter_enable="YES" --- amavisd-milter.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: