From nobody Thu Jan 18 23:56:04 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TGKQL2kYnz57KVp for ; Thu, 18 Jan 2024 23:56:10 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from egress.chen.org.nz (egress.chen.org.nz [170.75.172.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4TGKQK2SBQz4Y7X for ; Thu, 18 Jan 2024 23:56:09 +0000 (UTC) (envelope-from jonc@chen.org.nz) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jonc@chen.org.nz designates 170.75.172.82 as permitted sender) smtp.mailfrom=jonc@chen.org.nz Received: from mail.chen.org.nz (unknown [210.54.37.164]) by egress.chen.org.nz (Postfix) with ESMTP id 454B1111E14 for ; Fri, 19 Jan 2024 12:55:53 +1300 (NZDT) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id C2E5B295DF for ; Fri, 19 Jan 2024 12:56:05 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on ametrine.inside.chen.org.nz Received: from [192.168.1.10] (jade.inside.chen.org.nz [192.168.1.10]) by mail.chen.org.nz (Postfix) with ESMTPS id B615829700 for ; Fri, 19 Jan 2024 12:56:05 +1300 (NZDT) Message-ID: <4ee3809c-feff-4e47-aa9c-d37538b2b84e@chen.org.nz> Date: Fri, 19 Jan 2024 12:56:04 +1300 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: security/cyrus-sasl2 To: ports@freebsd.org References: <1cb1c069d28707cbf966628be50c85e5@chen.org.nz> <87r0ie783n.wl-herbert@gojira.at> Content-Language: en-US From: Jonathan Chen In-Reply-To: <87r0ie783n.wl-herbert@gojira.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[chen.org.nz]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4TGKQK2SBQz4Y7X On 19/01/24 08:30, Herbert J. Skuhra wrote: > On Thu, 18 Jan 2024 19:52:53 +0100,jonc@chen.org.nz wrote: >> >> Hi, >> >> I've started seeing the following in my system logs on my recently built cyrus-sasl 2.1.28_3: >> unable to dlopen /usr/local/lib/sasl2/libotp.so.3: Shared object "libopie.so.8" not found, required by "libotp.so.3" >> >> Does cyrus-sasl2 required a dependency declaration on security/opie? > > Did you run 'make delete-old-libs' after upgrading to stable/14 or main? > Have you tried to rebuild security/cyrus-sasl2 after removing > libopie.so.8? How did you build/install cyrus-sasl? My copy was built using ports-mgmnt/synth; ie in a clean-build environment. > You can build libotp.so without security/opie, but does it work as > before? > > Without security/opie: > > checking OTP... enabled > checking for opiechallenge in -lopie... no > checking for OPIE... no > > % ldd ./libotp.so.3 > /libotp.so.3: > libcrypto.so.30 => /lib/libcrypto.so.30 (0x3dce37fc000) > libc.so.7 => /lib/libc.so.7 (0x3dce2b8b000) > libthr.so.3 => /lib/libthr.so.3 (0x3dce21f7000) > > With security/opie: > > checking OTP... enabled > checking for opiechallenge in -lopie... yes > checking opie.h usability... yes > checking opie.h presence... no > > % ldd ./libotp.so.3 > /libotp.so.3: > libcrypto.so.30 => /lib/libcrypto.so.30 (0xe0a4748000) > libopie.so.8 => /usr/local/lib/libopie.so.8 (0xe0a599c000) > libc.so.7 => /lib/libc.so.7 (0xe0a3751000) > libthr.so.3 => /lib/libthr.so.3 (0xe0a6519000) > libmd.so.6 => /lib/libmd.so.6 (0xe0a79ca000) It looks like there was a implicit dependency on security/opie that has now been removed. If security/cyrus-sasl2 has an optional dependency on security/opie, it should be reflected in OPTIONS or have it as a mandatory requirement. Cheers. -- Jonathan Chen