ports/147794: [PATCH] security/amavisd-new should not insist Berkeley DB 4.2
Xin LI
delphij at FreeBSD.org
Fri Jun 11 19:20:03 UTC 2010
>Number: 147794
>Category: ports
>Synopsis: [PATCH] security/amavisd-new should not insist Berkeley DB 4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 11 19:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 8.0-STABLE i386
>Organization:
iXsystems, Inc.
>Environment:
System: FreeBSD freefall.freebsd.org 8.0-STABLE FreeBSD 8.0-STABLE #42 r204803: Sat Mar 6 21:21:56 UTC 2010 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
Revision 1.78 of Makefile have:
USE_BDB=42
Which causes Berkeley DB 4.2 be always installed regardless whether
higher versions being installed. This is unnecessary and undesirable.
>How-To-Repeat:
>Fix:
The attached patch change the behavior to accept at least 4.2.
(Note that 4.3 or 4.4 _may_ have some performance issues but at
least it worked just fine with 4.6).
--- amavisd-new.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/amavisd-new/Makefile,v
retrieving revision 1.78
diff -u -p -r1.78 Makefile
--- Makefile 8 Jun 2010 07:10:55 -0000 1.78
+++ Makefile 11 Jun 2010 19:11:12 -0000
@@ -106,7 +106,7 @@ AMAVIS_NOMILTER="@comment "
.endif
.if defined(WITH_BDB)
-USE_BDB= 42
+USE_BDB= 42+
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
.endif
--- amavisd-new.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list