From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 30 15:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4EE993CD; Tue, 30 Apr 2013 15:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 30DFF1867; Tue, 30 Apr 2013 15:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3UFK2JE066052; Tue, 30 Apr 2013 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3UFK1XN066051; Tue, 30 Apr 2013 15:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 30 Apr 2013 15:20:01 GMT Resent-Message-Id: <201304301520.r3UFK1XN066051@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Cc: sem@FreeBSD.org, jaap@NLnetLabs.nl Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2CB2B26D for ; Tue, 30 Apr 2013 15:15:31 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id E1167183D for ; Tue, 30 Apr 2013 15:15:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1UXCHA-0007EB-Bb for FreeBSD-gnats-submit@freebsd.org; Tue, 30 Apr 2013 19:15:29 +0400 Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1UXCEE-0007yS-1X for FreeBSD-gnats-submit@freebsd.org; Tue, 30 Apr 2013 15:12:26 +0000 Message-Id: <1UXCEE-0007yS-1X@internal.tormail.org> Date: Tue, 30 Apr 2013 09:53:48 +0500 From: Jan Beich To: FreeBSD-gnats-submit@freebsd.org X-GNATS-Notify: sem@FreeBSD.org, jaap@NLnetLabs.nl Subject: ports/178262: [patch] dns/unbound, dns/ldns: openssl port iff base version < 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2013 15:20:02 -0000 >Number: 178262 >Category: ports >Synopsis: [patch] dns/unbound, dns/ldns: openssl port iff base version < 1.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 30 15:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Do not depend on security/openssl if openssl in base is sufficient. /head has v1.0.1e /stable/9 has 0.9.8y, 9.1R has 0.9.8x, 9.0R (EOL) has 0.9.8q /stable/8 has 0.9.8y, 8.4R has 0.9.8y, 8.3R has 0.9.8q ecdsa(3) first appeared in 7.0R (EOL) which had 0.9.8e. And unbound has EVP workaround for 0.9.8 since 1.4.18. >How-To-Repeat: >Fix: --- unbound_openssl_base.diff begins here --- Index: dns/ldns/Makefile =================================================================== --- dns/ldns/Makefile (revision 315726) +++ dns/ldns/Makefile (working copy) @@ -234,7 +234,9 @@ MAN1+= ldns-config.1 .endif .if ${PORT_OPTIONS:MGOST} +. if ${OSVERSION} < 1000015 BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl +. endif .else NO_GOST= --disable-gost CONFIGURE_ARGS+=${NO_GOST} Index: dns/unbound/Makefile =================================================================== --- dns/unbound/Makefile (revision 316532) +++ dns/unbound/Makefile (working copy) @@ -68,14 +68,15 @@ PYTHON= "@comment " .endif .if ${PORT_OPTIONS:MGOST} +. if ${OSVERSION} < 1000015 WITH_OPENSSL_PORT= yes +. endif DEPENDS_ARGS+= WITH_GOST=yes .else CONFIGURE_ARGS+=--disable-gost .endif .if ${PORT_OPTIONS:MECDSA} -WITH_OPENSSL_PORT=yes DEPENDS_ARGS+= WITH_ECDSA=yes .else CONFIGURE_ARGS+=--disable-ecdsa --- unbound_openssl_base.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: