Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933508 - net-dns/nsd-4.9.1: No indication that USE=mmap is experimental
Summary: net-dns/nsd-4.9.1: No indication that USE=mmap is experimental
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 06:06 UTC by Thomas Arnett
Modified: 2024-06-05 04:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnett 2024-06-04 06:06:15 UTC
The configure script states that `--enable-mmap` is experimental. This option is mapped to the `mmap` USE flag; this is a global flag, and `equery u nsd` doesn't mention its experimental status. This could be improved by overriding the flag description in `metadata.xml`, using a local flag like `mmap-experimental`, and/or making the nsd ebuild print a warning if the flag is enabled.
Comment 1 Joshua Kinard gentoo-dev 2024-06-04 15:23:06 UTC
I can make 'mmap' a local USE for this package and override the description.  Thanks for the catch!
Comment 2 Larry the Git Cow gentoo-dev 2024-06-05 04:25:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659bd85db80d1a68d6270e445f8a9b2ca4a39979

commit 659bd85db80d1a68d6270e445f8a9b2ca4a39979
Author:     Joshua Kinard <kumba@gentoo.org>
AuthorDate: 2024-06-05 04:22:35 +0000
Commit:     Joshua Kinard <kumba@gentoo.org>
CommitDate: 2024-06-05 04:24:15 +0000

    net-dns/nsd: Fix several minor issues w/ 4.9.1's ebuild
    
    Corrects an issue found in a local USE flag description,
    add 'mmap' as a local USE flag so we can annotate that it's
    experimental, and fix a misquoted variable in the USE munin
    case.
    
    Closes: https://bugs.gentoo.org/933508
    Closes: https://bugs.gentoo.org/933509
    Closes: https://bugs.gentoo.org/933534
    Signed-off-by: Joshua Kinard <kumba@gentoo.org>

 net-dns/nsd/metadata.xml     | 3 ++-
 net-dns/nsd/nsd-4.9.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)