From owner-freebsd-ports@freebsd.org Thu Feb 27 20:46:09 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 0F48B24DF90 for ; Thu, 27 Feb 2020 20:46:09 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48T4Sw2ytSz4hJj for ; Thu, 27 Feb 2020 20:46:08 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0531E24DF8A; Thu, 27 Feb 2020 20:46:08 +0000 (UTC) Delivered-To: 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 F0C4424DF88 for ; Thu, 27 Feb 2020 20:46:07 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48T4Ss6pfrz4hDR for ; Thu, 27 Feb 2020 20:46:05 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lj1-x22a.google.com with SMTP id d10so746619ljl.9 for ; Thu, 27 Feb 2020 12:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RSbc3yTRtttR0nu19fWpnANG/v3oAT28QwjaOZIFSU4=; b=UzJfRd4OBOSOjXAFWdlXTrGfepCMMDJ6pF+xUdEggYURwbliDpNEPifVPXJBYJILrp OxTCTZOa4oQINOp3vu8kD0auKI+8vYfOHFZnqmufUlnwSENOeuaTlm+yPmC1poPGWpch XTFUd+J4hKqes7ZYsC62XeJP8kan1nz7qOK54FbAplrctfQDYbbHIhqBmsHoypJCUymK CVFPI1JsaCxo6C9oRyEO0wZYTcu8GR8ZI4MAq+bYtjOdqFH+Q+LRD7xRnxtbbqq4n2Sv 9u5DTNRwf5cWUrlDBPNs9F052/JIb1MBRijPD84JyAnsjsjadDyqUcRqL9V/J066Z7qA FqWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RSbc3yTRtttR0nu19fWpnANG/v3oAT28QwjaOZIFSU4=; b=J+gU1CSRqJwlNPteIiWO0U3MJ9MxB5HcvPhFuPd718Pnx9A2Rzf0+OGG1HpyVa7eYn esBmz5ZyAIE3q0A6aRTCmfbjkNXUg+zNqGqzOu30yfh7hiT1upAMr5pfDqrLQ30qQbsR NWNrkXJkWOOkqT4Jk2eGc2lf0PoUvq4TW9/3SK3neJl/fu+odu5HNyGPbu23TPbjTwoI CtWhTr8bkMJZYBKd/hyhilXawuinUUR2kk4h24AqwfjaXYKJ318OKVi/SjsDJnDDwJBj 71/pY4rvgPApRyUYo5yffhOvxhEG0Wgw8iTxei4fcVZuUOVd3y5vqPVotaJQ/lbI593u MM5Q== X-Gm-Message-State: ANhLgQ3+yX8Rg3RMCdOBNNvXFuE35Rpty28tsaulyqMRjU4aG94rEmmJ dS+ddRWW2VqWDNTVpNZCYxT/hrZ/m77Rxut0gJqLYQ== X-Google-Smtp-Source: ADFU+vtXoaqbzbI0BwkIDrjYmt1u4f/XPzc50AIcoP+xFlUiy0JPrAvrbavPgp7WVjUHTwmemGC2RpnLCxskA/BLxIY= X-Received: by 2002:a2e:974d:: with SMTP id f13mr546644ljj.239.1582836363544; Thu, 27 Feb 2020 12:46:03 -0800 (PST) MIME-Version: 1.0 References: <75330ed3-5f85-ea63-b8df-c73b5426b5a8@digiware.nl> <0104ac5e-8d50-4a7e-ee6e-20c3a0167700@digiware.nl> In-Reply-To: <0104ac5e-8d50-4a7e-ee6e-20c3a0167700@digiware.nl> From: Freddie Cash Date: Thu, 27 Feb 2020 12:45:51 -0800 Message-ID: Subject: Re: About protocols in openssl To: Willem Jan Withagen Cc: Pete Wright , Miroslav Lachman <000.fbsd@quip.cz>, "ports@freebsd.org" X-Rspamd-Queue-Id: 48T4Ss6pfrz4hDR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UzJfRd4O; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fjwcash@gmail.com designates 2a00:1450:4864:20::22a as permitted sender) smtp.mailfrom=fjwcash@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[a.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-8.94), ipnet: 2a00:1450::/32(-2.41), asn: 15169(-1.67), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 27 Feb 2020 20:46:09 -0000 On Thu, Feb 27, 2020, 12:37 PM Willem Jan Withagen, wrote: > > Interesting, but not quite what I want.... > It is not for personal usage, but for ports that I have commited to the > ports collection, and want to upgrade. > And yes, fixing openssl works for this problem, but it is not only my > problem. > > I maintain these Ceph ports, and now upstream uses a python module that > expects SSlv3 to be available in the openssl that encounters on the system. > And the question is how to accommodate that? > Short of embedding my own openssl libs with the ceph-libs, thus creating > a huge maintenance problem. > > I could also argue that switching of SSLv3 in a generic library is sort > of impractical, even if it is a protocol that we want to erradicate. > But I guess that the maintainers of openssl have decided that this is > the smart thing to do. > And I'm in peace with that, but now require an escape from this catch-22. > > --WjW > There's no mechanism in the ports tree framework for port X to depend on feature Y being enabled in port Z. All you can do is add a pkg-message alert to your ceph port saying the use needs to compile the openssl port with SSLv3 enabled. You could create a slave port for openssl that has that option enabled, then depend on that slave port. But that might create dependency issues elsewhere. Sub-packages might (eventually) allow you to work around this. Cheers, Freddie Typos due to smartphone keyboard. >