Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2007 21:40:04 +0200 (CEST)
From:      Petr Rehor <prehor@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/116587: [maintainer update] security/amavisd-milter to 1.3.1
Message-ID:  <200709231940.l8NJe4W7027124@charon.rx.cz>
Resent-Message-ID: <200709231950.l8NJo1oH005768@freefall.freebsd.org>

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

>Number:         116587
>Category:       ports
>Synopsis:       [maintainer update] security/amavisd-milter to 1.3.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 23 19:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Petr Rehor
>Release:        FreeBSD 6.0-RELEASE-c3 i386
>Organization:
>Environment:
System: FreeBSD charon.rx.cz 6.0-RELEASE-c3 FreeBSD 6.0-RELEASE-c3 #0: Tue Nov 8 20:44:39 UTC 2005 root@marvin.rx.cz:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update amavisd-milter to 1.3.1 and fix ports/115270: security/amavisd-milter
does not work when using sendmail from ports.
>How-To-Repeat:
>Fix:
Patch attached with submission follows.

--- amavisd-milter.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/amavisd-milter/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	21 Dec 2006 15:30:10 -0000	1.8
+++ Makefile	23 Sep 2007 19:35:33 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	amavisd-milter
-PORTVERSION=	1.2.1
+PORTVERSION=	1.3.1
 CATEGORIES=	security mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -48,19 +48,14 @@
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITH_SENDMAIL_BASE) && \
-    !defined(WITH_SENDMAIL_PORT) && \
-    !exists(${LOCALBASE}/lib/libmilter.a)
-WITH_SENDMAIL_BASE=yes
-.endif
+.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
 
-.if defined(WITH_SENDMAIL_BASE)
-.if !exists(/usr/lib/libmilter.a)
+.if defined(WITH_SENDMAIL_BASE) && !exists(/usr/lib/libmilter.a)
 BROKEN=		Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
 .endif
-.else
-BUILD_DEPENDS+=	${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
-CONFIGURE_ARGS+=--with-sendmail=${LOCALBASE}
+
+.if defined(WITH_SENDMAIL_PORT)
+CONFIGURE_ARGS+=--with-sendmail=${MILTERBASE}
 .endif
 
 post-install:
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/amavisd-milter/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	21 Dec 2006 15:30:10 -0000	1.8
+++ distinfo	23 Sep 2007 19:35:46 -0000
@@ -1,3 +1,3 @@
-MD5 (amavisd-milter-1.2.1.tar.gz) = 920b4d9db48da287395b2b0312968bc1
-SHA256 (amavisd-milter-1.2.1.tar.gz) = bebed14fa28afae4269dd18d5c2f79549a4551d46480859e0ed7627bf7ab12d1
-SIZE (amavisd-milter-1.2.1.tar.gz) = 157587
+MD5 (amavisd-milter-1.3.1.tar.gz) = 631e928ccea79a5f394fd483c9959b77
+SHA256 (amavisd-milter-1.3.1.tar.gz) = bbdc93005339872fd0173e60e3ce90df8d42049da8b6a6bf27e215ead5bbcd27
+SIZE (amavisd-milter-1.3.1.tar.gz) = 159605
--- amavisd-milter.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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