Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559610 - Request for new USE flags on net-analyzer/fail2ban
Summary: Request for new USE flags on net-analyzer/fail2ban
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-04 18:29 UTC by Ellison Marks
Modified: 2015-09-12 06:46 UTC (History)
0 users

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 Ellison Marks 2015-09-04 18:29:27 UTC
At the moment, fail2ban may sometimes print a message on install reminding you that you should install pyinotify or gamin in order to use those polling methods, that you need python[sqlite] in order to use the persistent database feature, and that you need systemd[python] in order to track logins from the systemd journal. While this is moderately useful it still requires a bit of fiddling when I'm doing a reinstall to get right. This is a request to add four new use flags to net-analyzer/fail2ban, pyinotify, gamin, sqlite and systemd, which would activate the appropriate dependencies, as follows:

pyinotify -> dev-python/pyinotify
gamin     -> app-admin/gamin
sqlite    -> dev-lang/python[sqlite]
systemd   -> sys-apps/systemd[python] (looking at the existing dependencies, this one may be unnecessary)

This would allow such dependencies to be expressed in package.use files, instead of having to remember to install the packages manually, or add them to the world file, where they don't exactly belong.

Reproducible: Always

Steps to Reproduce:
1. Install net-analyzer/fail2ban
Actual Results:  
Various optional dependencies were not installed.

Expected Results:  
Optional dependencies should be installed based on use flags.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-09-11 15:49:48 UTC
These sound like runtime-only deps.  As of right now, there is a policy-level ban on using USE flags to specify runtime-only deps in packages.

I'm assigning it to the maintainers of fail2ban, but likely this bug will be closed RESO/INVA for the reason above.
Comment 2 Ellison Marks 2015-09-12 06:24:23 UTC
I see, thank you. Basically, I was thinking about in terms of, for example, the vim-syntax use flag, which seems very similar to this.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-09-12 06:46:04 UTC
The ebuild tells you what to do to get things working the way you want. So that might mean setting USE=sqlite on dev-lang/python. You want the ebuild not to say that but instead set USE=sqlite on net-analyzer/fail2ban, and then re-emerge two packages instead of one. How is that progress?