ports/83604: MAINTAINER UPDATE: fix for security/amavisd-new installation on 4.11

Blaz Zupan blaz at si.FreeBSD.org
Sun Jul 17 13:30:13 UTC 2005


>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:



More information about the freebsd-ports-bugs mailing list