Date: Tue, 27 Feb 2024 14:37:08 +0100 From: Michael Grimm <trashcan@ellael.org> To: Mark Millard <marklmi@yahoo.com> Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: dns/knot3 and dns/knot-resolver do not get along with Message-ID: <22AAFA97-0276-44C7-A88B-8AD9CB2A972C@ellael.org> In-Reply-To: <6F77C083-4AC6-4592-88C3-626D138B10D0@yahoo.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <marklmi@yahoo.com> wrote: > On Feb 26, 2024, at 01:06, Michael Grimm <trashcan@ellael.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22AAFA97-0276-44C7-A88B-8AD9CB2A972C>