From owner-freebsd-ports@freebsd.org Thu May 28 21:36:52 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 28B2E2FE92F for ; Thu, 28 May 2020 21:36:52 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Y1HQ669Pz4DXK for ; Thu, 28 May 2020 21:36:50 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 2123399B5; Thu, 28 May 2020 23:36:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yeAE4JMuIyze; Thu, 28 May 2020 23:36:46 +0200 (CEST) Received: from [192.168.10.9] (vaio [192.168.10.9]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 9835399B1; Thu, 28 May 2020 23:36:46 +0200 (CEST) Subject: Re: Getting dovecot to use the openssl from ports To: FreeBSD Ports , Carmel NY References: From: Willem Jan Withagen Message-ID: Date: Thu, 28 May 2020 23:36:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: nl X-Rspamd-Queue-Id: 49Y1HQ669Pz4DXK X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wjw@digiware.nl designates 2001:4cb8:90:ffff::3 as permitted sender) smtp.mailfrom=wjw@digiware.nl X-Spamd-Result: default: False [-2.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.956]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.98)[-0.985]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digiware.nl]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.33)[-0.331]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[freebsd.org,outlook.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28878, ipnet:2001:4cb8::/29, country:NL]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 21:36:52 -0000 On 28-5-2020 16:53, Carmel NY wrote: > On Thu, 28 May 2020 16:25:20 +0200, Willem Jan Withagen stated: >> Hi, >> >> I'm trying to get dovecot to use the openssl from ports in >> /usr/local/lib. But whatever I try, en en op with cryptostuff from >> /usr/lib.... >> >> I think the correct way is to set >> etc/make.conf >>     DEFAULT_VERSIONS+=ssl=openssl >> >> En though when making tells me: >>    dovecot-2.3.10.1 depends on file: /usr/local/lib/libcrypto.so.11 - >> found >> >> I end up with: >> /usr/local/libexec/dovecot/imap-login: >>         libdovecot-login.so.0 => >> /usr/local/lib/dovecot/libdovecot-login.so.0 (0x80120a000) >>         libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0 >> (0x801422000) >>         libc.so.7 => /lib/libc.so.7 (0x800825000) >>         libssl.so.8 => /usr/lib/libssl.so.8 (0x8017c5000) >>         libcrypto.so.8 => /lib/libcrypto.so.8 (0x801c00000) >> >> Which the crypto stuff from BASE >> >> But I have available.... >> root@mailserver:/ # ls /usr/local/lib/libcrypto.so.11 >> /usr/local/lib/libcrypto.so.11 >> >> What am I missing here? > How are you attempting to build the port? > I realized this after posting, but I did this by what I'm used to doing since 1993:     cd /usr/ports/mail/dovecot     make install But even if I use poudriere it still uses what is in base. --WjW