Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926843 - net-dns/dnsmasq-2.90: build with support for nftables sets
Summary: net-dns/dnsmasq-2.90: build with support for nftables sets
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-12 15:13 UTC by GriffOn
Modified: 2024-03-13 20:57 UTC (History)
1 user (show)

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


Attachments
dnsmasq_nftset.patch (dnsmasq.patch,941 bytes, patch)
2024-03-12 15:32 UTC, GriffOn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description GriffOn 2024-03-12 15:13:59 UTC
dnsmasq add --nftset option to support nftables, see: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=47aefca5e405b4b6627ef952fdc42e61b1baa770

It's enabled by building with `-DHAVE_NFTSET` and depends net-firewall/nftables(provide libnftables )

There should be a USE flag like nftset to enable this feature.

Reproducible: Always
Comment 1 GriffOn 2024-03-12 15:32:20 UTC
Created attachment 887485 [details, diff]
dnsmasq_nftset.patch

I add the nftset USE flag in the ebuild. It works well.
Comment 2 GriffOn 2024-03-13 13:03:52 UTC
I made a pullrequest but it fails in ci check:
nonsolvable depset(bdepend) keyword(~s390) stable profile (default/linux/s390/17.0) (3 total): solutions: [ net-firewall/nftables ]

The nftset USE makes it depend on nftables which does not have keyword ~s390 .

It seems need remove keyword ~s390 from dnsmasq or add ~s390 for nftables, but the latter may lead to other keyword fails.