Created attachment 433106 [details] net-misc/kea-1.0.0.ebuild Had a go at updating the ebuild for net-misc/kea to support building for MySQL-support, OpenSSL/Botan and Google Test Framework by USE-flags and installing config-files. Don't know if it's sane/done right (and don't know really what package to rely on for MySQL-support) - but *builds for me* Haven't really done any real testing running the server with/without MySQL-server yet.
i don't think USE=gtest makes sense. pretty sure you want USE=test instead. afaik, gtest is only needed when running kea's own testsuite ?
I'd like to see USE=samples or similar used for the configuration files rather than installing them unconditionally. Could you upload your changes as a unified diff, rather then as a complete ebuild file please? The proposed changes are sane and will be implemented, just a few ebuild style changes to make. Can we consider EAPI=6 for this one?
Created attachment 433430 [details, diff] Update to net-misc/kea-1.0.0.ebuild to support some USE-flags Updates to the existing net-misc/kea-1.0.0.ebuild to add support for MySQL, to choose between Botan/OpenSSL-support and to choose whether or not to install sample-configs.
(In reply to Kim B. Sindalsen from comment #3) > Updates to the existing net-misc/kea-1.0.0.ebuild to add support for MySQL, > to choose between Botan/OpenSSL-support and to choose whether or not to > install sample-configs. Thank you. This removes the Gentoo branding still, but I see no explanation as to why. Perhaps unintentional? Bit surprised to not see use_with for the gtest dependency, I would be tempted to use: use_with test gtest Would that work or is the configure script not amenable to the --without-gtest call? Later bug #583162 has PostgreSQL as well as MySQL support, but they depend directly on the client libraries where you depend on DBD. Just need to figure out who is right to pick the right style.
I've taken what I could from your improvement suggestions. Attempting to turn off gtest broke the configuration script and it bailed at compile time, so leaving that out. The USE=samples has been taken up and the OpenSSL vs Botan selector is now in the tree also. I'll leave the MySQL/PostgreSQL support for the other bug. Thank you for your contribution to Gentoo Linux :) Last but not least, my apologies for the delay in picking these up.