From owner-freebsd-ports@freebsd.org Wed Apr 24 05:39:15 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90469158CE96 for ; Wed, 24 Apr 2019 05:39:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 11F4F73B5B for ; Wed, 24 Apr 2019 05:39:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: by mailman.ysv.freebsd.org (Postfix) id C66A4158CE95; Wed, 24 Apr 2019 05:39:14 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4F88158CE94 for ; Wed, 24 Apr 2019 05:39:14 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "eg.sd.rdtc.ru", Issuer "eg.sd.rdtc.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B9FC73B59; Wed, 24 Apr 2019 05:39:13 +0000 (UTC) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: ports@FreeBSD.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x3O5d8Nn018121 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 24 Apr 2019 12:39:08 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: OpenSSL engines directory path To: "ports@FreeBSD.org" References: <57e6736e-efc1-6b34-58e4-8293f13b8919@grosbein.net> Cc: portmgr@freebsd.org From: Eugene Grosbein Message-ID: <6b8f2407-d81a-354b-2054-43b2f30fd66d@grosbein.net> Date: Wed, 24 Apr 2019 12:39:04 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <57e6736e-efc1-6b34-58e4-8293f13b8919@grosbein.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 0B9FC73B59 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.959,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2019 05:39:15 -0000 24.04.2019 12:24, Eugene Grosbein wrote: > Hi! > > FreeBSD 12+ has OpenSSL version that supports loading additional "engines" (shared libraries). > Default path for engines in FreeBSD is /usr/lib/engines currently. > The path for security/openssl111 port (needed for FreeBSD 11) is ${LOCALBASE}/lib/engines-1.1 > > Please consider updating ports/Mk/Uses/ssl.conf with something like OPENSSLENGINES > that should equal to ${OPENSSLLIB}/engines when SSL_DEFAULT is "base" > and for openssl111 it should be ${OPENSSLLIB}/engines-1.1 > > This would help porting engines. Ports should install files inside ${LOCALBASE}, so we really need some variable that should expand to /usr/local/lib/engines-1.1 when SSL_DEFAULT is "openssl111" for FreeBSD 11 or when SSL_DEFAULT is either "base" or "openssl111" for FreeBSD 12+