Bug 235949 - net-mgmt/librenms reconsider default options
Summary: net-mgmt/librenms reconsider default options
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
Depends on:
Reported: 2019-02-22 23:18 UTC by Dries Michiels
Modified: 2019-07-27 09:30 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dvl)

APACHEMOD option default to off (811 bytes, patch)
2019-02-22 23:18 UTC, Dries Michiels
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dries Michiels 2019-02-22 23:18:44 UTC
Created attachment 202278 [details]
APACHEMOD option default to off

Hi guys,

When trying a pkg install librenms it pulls in apache.
I don't think this is the right call or dependency for librenms.
It is true one needs a web server to make the application work although NGINX is another perfect candidate.

My question is, could we make APACHEMOD default to off maybe even considering removing the option all together? Installing apache is as easy as pkg install apache24 and pkg install php_mod. Same for NGINX after intalling librenms, pkg install ... :) while it is quiet ugly that apache is installed when I want to use NGINX using packages.

Thanks for considering.
Comment 1 Dan Langille freebsd_committer 2019-07-26 23:59:13 UTC
If we set this off, should we also provide an Nginx option? if so, what?

If we set this off, that's going to break POLA for some people.
Comment 2 Dries Michiels 2019-07-27 09:30:31 UTC
Well, my 2 cents, I think that we should not even provide a web server options. Because it is as easy as "pkg install 'web server I want'". This way, all the flexibility is at the users hand. You are right that this will break POLA for the people using LibreNMS with Apache. And I also have no clear path forward. At least it will require an UPDATING entry. Maybe get some buy-in from portmgr and see what they think about this?