Date: Fri, 11 Jun 2010 19:15:48 GMT From: Xin LI <delphij@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gabor@FreeBSD.org Subject: ports/147794: [PATCH] security/amavisd-new should not insist Berkeley DB 4.2 Message-ID: <201006111915.o5BJFmQY044375@freefall.freebsd.org> Resent-Message-ID: <201006111920.o5BJK2ug044431@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006111915.o5BJFmQY044375>