Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920681

Summary: net-dns/knot: add USE +daemon flag
Product: Gentoo Linux Reporter: xiaojie+bugzillagentoo
Component: Current packagesAssignee: Pierre-Olivier Mercier <nemunaire>
Status: UNCONFIRMED ---    
Severity: enhancement CC: jstein, proxy-maint, xiaojie+bugzillagentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to 3.2.2 ebuild to add a USE +daemon flag
Patch to the installation routine

Description xiaojie+bugzillagentoo 2023-12-25 08:49:06 UTC
Current ebuilds always build the knot server daemon. In some situations, only the utilities are needed.

Reproducible: Always

Steps to Reproduce:
1.Configure
2.Compile
3.
Actual Results:  
Get the knot daemon.

Expected Results:  
Should have a USE variable to only build the utilities.
Comment 1 xiaojie+bugzillagentoo 2023-12-25 08:52:55 UTC
Created attachment 880294 [details, diff]
Patch to 3.2.2 ebuild to add a USE +daemon flag

This (very simple) patch is to the knot-3.2.2.ebuild (current stable). It adds a +daemon USE flag
Comment 2 xiaojie+bugzillagentoo 2023-12-27 11:39:40 UTC
Created attachment 880718 [details, diff]
Patch to the installation routine

Update to the installation routine to avoid failure when no daemon should be configured/compiled/installed.