From nobody Tue Feb 27 13:37:08 2024 X-Original-To: freebsd-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 4Tkdnx34p5z5Bj0l for ; Tue, 27 Feb 2024 13:37:25 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:701:1000::435d]) (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 4Tkdnw3vRYz4Jls for ; Tue, 27 Feb 2024 13:37:24 +0000 (UTC) (envelope-from trashcan@ellael.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ellael.org header.s=dkim header.b=rXNQsc8B; dmarc=pass (policy=quarantine) header.from=ellael.org; spf=pass (mx1.freebsd.org: domain of trashcan@ellael.org designates 2001:41d0:701:1000::435d as permitted sender) smtp.mailfrom=trashcan@ellael.org Received: from smtpclient.apple (p200300FB4F01BC01257bD061Ab3f79B2.dip0.t-ipconnect.de [IPv6:2003:fb:4f01:bc01:257b:d061:ab3f:79b2]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 4Tkdnq20xZz1fXl; Tue, 27 Feb 2024 14:37:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellael.org; s=dkim; t=1709041040; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pUEDuIZj9Yymz8x1Pmmclxn8hVUWtM0aNmfU0JjNMQ4=; b=rXNQsc8BLbKnT4eeb24HyVN0HRBICsTalND2v8uI1JAEUmzjA1HQOe35ziyLV5B/F7dBM/ JjM6IDIEibkzCBPS+rjYu1NQyE4DVYLfwbqeNbHOm3M9EOkMoyNVzfmS7gvYVSDhS2Awif eNxeQiUxRLzjc1qcE+59QpSuIO0cnFsSRpAIh2yxfP9S2hWoNfnIXd+2e1Ne0FVdDh7fS8 Cw4hRkx5KbxpaYmJQY+KN9ZLOZV49HAt+76tkFaN8JE1yGmlgQJMBVkaItw+7yxurYrb0l iKOlywtjDyrJaF7/26hKWJa4RuDZfHx4LqaQ0nfCzwkUjB5xZuqznr/lTBhO0A== Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: dns/knot3 and dns/knot-resolver do not get along with From: Michael Grimm In-Reply-To: <6F77C083-4AC6-4592-88C3-626D138B10D0@yahoo.com> Date: Tue, 27 Feb 2024 14:37:08 +0100 Cc: FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <22AAFA97-0276-44C7-A88B-8AD9CB2A972C@ellael.org> References: <79302DD2-2673-4745-82B3-06BEEC907DAE.ref@yahoo.com> <79302DD2-2673-4745-82B3-06BEEC907DAE@yahoo.com> <6C622E06-4CFC-4296-B0C8-6279F6BD3FDB@ellael.org> <6F77C083-4AC6-4592-88C3-626D138B10D0@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3774.400.31) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[ellael.org,quarantine]; R_DKIM_ALLOW(-0.20)[ellael.org:s=dkim]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:701:1000::435d]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[ellael.org:+]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2001:41d0:701:1000::435d:from] X-Rspamd-Queue-Id: 4Tkdnw3vRYz4Jls Mark Millard wrote: > On Feb 26, 2024, at 01:06, Michael Grimm wrote: >> Possible solutions: >>=20 >> 1) dns/knot3-lib should store its libraries and includes into a = different location as dns/knot3 does >=20 > A variation of that is that dns/knot-resolver has its own files > in its own locations for such, no dns/knot3-lib port involved. >=20 >> 2) discard dns/knot3-lib and make dns/knot3 and dns/knot-resolver = mutually dependent >> 3) =E2=80=A6? >=20 > "..." might be: dns/knot3 uses the files from dns/knot3-lib instead of > installing its own and so has both a build dependency on dns/knot3-lib > and a run-time dependency on dns/knot3-lib . dns/knot-resolver also > then has such ( and no dependency on dns/knot3 ). The run-time = dependency > leads to installation of either dns/knot3 or dns/knot-resolver first > installing dns/knot3-lib if it is not already installed. Uninstalling > dns/knot3-lib would lead to both dns/knot3 or dns/knot-resolver being > uninstalled if both were installed. The build time dependencies lead = to > dns/knot3-lib being built first and being installed before builds of > either dns/knot3 or dns/knot-resolver if dns/knot3-lib is not already > installed. (In poudriere such build time install of dns/knot3-lib is > temporary and internal to the build activity.) >=20 > This allows both dns/knot3 and dns/knot-resolver to be installed > in the same jail "simultaneously". (It does not matter which is > installed first vs. second in the sequence of installs.) >=20 > I do not know which way is simpler to support. That likely is = dependent > on details I'm ignorant of. All look to be technically possible. FYI: I do prefer your "=E2=80=A6" solution and opened = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277332 Thanks for your input and kind regards, Michael