Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754963 - net-firewall/ipset update MODULES_NAMES to include all current modules
Summary: net-firewall/ipset update MODULES_NAMES to include all current modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 19:10 UTC by Ed Wildgoose
Modified: 2020-11-22 01:09 UTC (History)
2 users (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 Ed Wildgoose 2020-11-16 19:10:28 UTC
Hi, the current net-firewall/ipset-7.6-r1 builds all the ipset modules, but does not actually install all the modules it builds. In particular I wanted to use some of these

This trivial patch adds:
- the net/sched/em_ipset - in kernel since 2013
- the missing: ip_set_hash_ipmac.ko, ip_set_hash_ipmark.ko, ip_set_hash_mac.ko

Grateful if you could apply to the upstream ebuild



diff --git a/net-firewall/ipset/ipset-7.6-r1.ebuild b/net-firewall/ipset/ipset-7.6-r1.ebuild
index b0de78dae51..725649056e1 100644
--- a/net-firewall/ipset/ipset-7.6-r1.ebuild
+++ b/net-firewall/ipset/ipset-7.6-r1.ebuild
@@ -29,7 +29,8 @@ IP_NF_SET_MAX=${IP_NF_SET_MAX:-256}
 BUILD_TARGETS="modules"
 MODULE_NAMES_ARG="kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/ipset"
 MODULE_NAMES="xt_set(kernel/net/netfilter/ipset/:${S}/kernel/net/netfilter/)"
-for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,port{,ip,net}},net{,port{,net},iface,net}},_list_set}; do
+MODULE_NAMES+=" em_ipset(kernel/net/netfilter/ipset/:${S}/kernel/net/sched/)"
+for i in ip_set{,_bitmap_{ip{,mac},port},_hash_{ip{,mac,mark,port{,ip,net}},mac,net{,port{,net},iface,net}},_list_set}; do
        MODULE_NAMES+=" ${i}(${MODULE_NAMES_ARG})"
 done
Comment 1 Larry the Git Cow gentoo-dev 2020-11-22 01:09:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671902081cd0a3582d57b7b3999422ec03aea435

commit 671902081cd0a3582d57b7b3999422ec03aea435
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-11-22 01:08:43 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-11-22 01:08:43 +0000

    net-firewall/ipset: bump to v7.9
    
    Closes: https://bugs.gentoo.org/754963
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-firewall/ipset/ipset-7.9.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)