Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663538 - net-misc/kea-1.4.0_p1: missing use flags for mysql or psql
Summary: net-misc/kea-1.4.0_p1: missing use flags for mysql or psql
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-13 20:49 UTC by Christian Ehrig
Modified: 2019-04-23 07:57 UTC (History)
3 users (show)

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


Attachments
proposed patch for the ebuild (wrong_kea_ebuild.patch,726 bytes, patch)
2018-09-28 17:21 UTC, James Browning
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ehrig 2018-08-13 20:49:14 UTC
Kea supports host reservations / lease storage in RDBMS like:

MySQL (--with-mysql)
PostgreSQL (--with-pgsql)

As far as i can see both can be enabled at the same time.
Would be nice to have this option when installing through portage.

Reproducible: Always

Steps to Reproduce:
Check use flags for Kea
Actual Results:  
openssl, samples are supported

Expected Results:  
additionally mysql and postgres are supported

Supported Configure Options can be found here:
https://kea.isc.org/docs/kea-guide.html#configure
Comment 1 James Browning 2018-09-28 17:21:34 UTC
Created attachment 548128 [details, diff]
proposed patch for the ebuild

exported and mangled may or may not apply.
Comment 2 Klemen Mihevc 2018-12-07 16:11:30 UTC
This would be nice to add in to offical ebuild... so i dont forget to manually fix ebuilds before upgrades :) Also while you are at it, you could add support for starting control agent in conf/init script.
Comment 3 Larry the Git Cow gentoo-dev 2018-12-10 09:35:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dede676d94cbf4b67b058fa624750c9c1343ce8

commit 2dede676d94cbf4b67b058fa624750c9c1343ce8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-12-10 09:35:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-12-10 09:35:42 +0000

    net-misc/kea: Added support for mysql and postgresql.
    
    Thanks to James Browning <jamesb.fe80@gmail.com> for the initial patch
    
    Bug: https://bugs.gentoo.org/663538
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-misc/kea/kea-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-12-10 09:37:01 UTC
(In reply to Klemen Mihevc from comment #2)
> Also while you are at it, you could
> add support for starting control agent in conf/init script.

Patches are welcome. Unfortunately I don't have much time to look into this.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-12-10 09:38:02 UTC
Oh, and the mysql/postgresql changes will likely go into the next 1.5.0 (beta, rc or final) release if I don't forget about it :)
Comment 6 James Browning 2019-04-18 23:12:15 UTC
Given that bot 1.5.0 (stable) and 9999 have this integrated now; can this bug be closed?
Comment 7 Christian Ehrig 2019-04-23 07:57:04 UTC
Looks good to me. Can be closed.