From owner-freebsd-ports@FreeBSD.ORG Wed Jan 28 06:14:29 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F52CD75 for ; Wed, 28 Jan 2015 06:14:29 +0000 (UTC) Received: from nskntqsrv02p.mx.bigpond.com (nskntqsrv02p.mx.bigpond.com [61.9.168.234]) by mx1.freebsd.org (Postfix) with ESMTP id E04EFE26 for ; Wed, 28 Jan 2015 06:14:28 +0000 (UTC) Received: from nskntcmgw05p ([61.9.169.165]) by nskntmtas06p.mx.bigpond.com with ESMTP id <20150128055805.ZSYR7536.nskntmtas06p.mx.bigpond.com@nskntcmgw05p> for ; Wed, 28 Jan 2015 05:58:06 +0000 Received: from hermes.heuristicsystems.com.au ([203.41.22.114]) by nskntcmgw05p with BigPond Outbound id lHy51p00T2ThMyb01Hy55L; Wed, 28 Jan 2015 05:58:05 +0000 X-Authority-Analysis: v=2.0 cv=W5W6pGqk c=1 sm=1 a=tBIanQelQkU72CJWnm+MWA==:17 a=XD52yEjQpfAA:10 a=IkcTkHD0fZMA:10 a=GHIR_BbyAAAA:8 a=YNv0rlydsVwA:10 a=7QogMqrNwcamKKCFcw8A:9 a=QEXdDO2ut3YA:10 a=tBIanQelQkU72CJWnm+MWA==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id t0S5vDtn065678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 28 Jan 2015 16:57:18 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <54C87A38.3070909@heuristicsystems.com.au> Date: Wed, 28 Jan 2015 16:57:12 +1100 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "freebsd-ports@freebsd.org" Subject: Sprinkling WITH_OPENSSL_BASE in ports, ratbox build failure. Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 06:14:29 -0000 ratbox generated an unusual error message today, via portmaster on a 10.1Stable, amd64 system "Dependency error: this port wants the OpenSSL library from the FreeBSD base system. You can't build against it, while a newer version is installed by a port. Please deinstall the port or undefine WITH_OPENSSL_BASE. *** Error code 1" Unfortunately there is no option to select port or base system per make showconfig. WITH_OPENSSL_BASE isn't defined, and the port is being built on a fresh machine... # cd /usr/ports/irc/ircd-ratbox && make -V OPENSSL_USE_BASE but it isn't defined by my system # cd /usr/ports/irc/ircd-ratbox && make -V WITH_OPENSSL_BASE yes # grep OPENSSL_BASE /etc/make*; grep OPENSSL_BASE /etc/src*; grep OPENSSL_BASE /usr/local/etc/ports.conf # # pkg info | grep ratbox # I use the openssl port for two reasons, firstly I select non-default options and secondly it is way easier to update a port than a system. Typically we reboot an internal server when we need to replace the UPS batteries, around 2+ years and external servers when a relevant CVE or SA is issued. However commenting out the recently inserted WITH_OPENSSL_BASE=yes from the Makefile enables the build to complete and uses the correct crypto and ssl libraries. Shouldn't it be an option base or port? Or is the openssl port going to go away? Regards, Dewayne