Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581976 - net-misc/kea-1.0.0: support mysql, OpenSSL/Botan and Google Test Framework
Summary: net-misc/kea-1.0.0: support mysql, OpenSSL/Botan and Google Test Framework
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-03 16:01 UTC by Kim B. Sindalsen
Modified: 2017-05-08 11:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc/kea-1.0.0.ebuild (kea-1.0.0.ebuild.txt,1.44 KB, text/plain)
2016-05-03 16:01 UTC, Kim B. Sindalsen
Details
Update to net-misc/kea-1.0.0.ebuild to support some USE-flags (kea.patch,1.55 KB, patch)
2016-05-06 15:32 UTC, Kim B. Sindalsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim B. Sindalsen 2016-05-03 16:01:50 UTC
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.
Comment 1 SpanKY gentoo-dev 2016-05-05 01:38:17 UTC
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 ?
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2016-05-05 08:20:26 UTC
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?
Comment 3 Kim B. Sindalsen 2016-05-06 15:32:06 UTC
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.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2016-07-13 10:11:41 UTC
(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.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2017-05-08 11:23:01 UTC
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.