Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920681 - net-dns/knot: add USE +daemon flag
Summary: net-dns/knot: add USE +daemon flag
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-25 08:49 UTC by xiaojie+bugzillagentoo
Modified: 2023-12-27 11:48 UTC (History)
3 users (show)

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


Attachments
Patch to 3.2.2 ebuild to add a USE +daemon flag (daemon-flag.patch,1.15 KB, patch)
2023-12-25 08:52 UTC, xiaojie+bugzillagentoo
Details | Diff
Patch to the installation routine (63c17eea69.patch,1.48 KB, patch)
2023-12-27 11:39 UTC, xiaojie+bugzillagentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.