[Bug 277332] dns/knot-resolver and dns/knot3 are mutually exclusive due to dns/knot3-lib

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Aug 2024 12:47:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277332

--- Comment #12 from Michael Grimm <trashcan@ellael.org> ---
(In reply to Leo Vandewoestijne from comment #11)

What I did for testing:

#) I created a new port dns/knot3-test made from dns/knot3 and your patch
#) I modified my dns/knot-resolver-current port (knot-resolver-6.0.8) by 
   replacing all dns/knot3-lib references in LIB_DEPENDS to dns/knot3-test
#) poudriere bulk -j <jail> -C dns/knot-resolver-current dns/knot3-test
#) installed both packages in a test jail and started them:

   MW-test> ps Af
     PID TT  STAT    TIME COMMAND
   59023  -  SsJ  0:00.09 /usr/local/sbin/knotd -c
/usr/local/etc/knot/knot.conf -d
   59034  -  IsJ  0:00.00 daemon: /usr/local/sbin/kresd[59035] (daemon)
   59035  -  SJ   0:00.04 /usr/local/sbin/kresd -c
/usr/local/etc/knot-resolver/kresd.conf -n -q /var/run/kresd
   59102  -  SsJ  0:00.00 daemon: /usr/local/sbin/kres-cache-gc[59103] (daemon)
   59103  -  SJ   0:00.01 /usr/local/sbin/kres-cache-gc -c /var/run/kresd -d
1000

What I didn't test: Makefile options in various combinations ;-)

Conclusion: Both ports can be compiled, installed and run in parallel!

Thanks for your efforts, highly appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.