Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 15:27:17 +0200 (CEST)
From:      Blaz Zupan <blaz@si.FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83604: MAINTAINER UPDATE: fix for security/amavisd-new installation on 4.11
Message-ID:  <20050717132717.6B68455475@titanic.medinet.si>
Resent-Message-ID: <200507171330.j6HDUC30021790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83604
>Category:       ports
>Synopsis:       MAINTAINER UPDATE: fix for security/amavisd-new installation on 4.11
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 17 13:30:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Blaz Zupan
>Release:        FreeBSD 4.11-RELEASE i386
>Organization:
>Environment:

	
>Description:

Installation of port fails on FreeBSD 4.11 if sendmail milter support is
enabled, because the startup script is installed to /etc/rc.d instead of
/usr/local/etc/rc.d.

>How-To-Repeat:
	
>Fix:

diff -urN amavisd-new.orig/Makefile amavisd-new/Makefile
--- amavisd-new.orig/Makefile	Wed Jul  6 10:47:09 2005
+++ amavisd-new/Makefile	Sun Jul 17 15:21:08 2005
@@ -8,6 +8,7 @@
 
 PORTNAME=	amavisd-new
 PORTVERSION=	2.3.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.ijs.si/software/amavisd/ \
@@ -77,7 +78,11 @@
 .endif
 
 .if defined(WITH_MILTER) && !defined(AMAVIS_NOAMAVIS)
+.if ${OSVERSION} >= 500037
 USE_RCORDER+=	amavis-milter.sh
+.else
+USE_RC_SUBR+=	amavis-milter.sh
+.endif
 .else
 AMAVIS_NOMILTER="@comment "
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050717132717.6B68455475>