[Bug 218945] net/ntopng: Fails to specify run-time dependency on databases/redis
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 28 23:01:04 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218945
Bug ID: 218945
Summary: net/ntopng: Fails to specify run-time dependency on
databases/redis
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: easy, needs-patch, needs-qa
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: john at saltant.com
CC: madpilot at FreeBSD.org, osa at FreeBSD.org
CC: madpilot at FreeBSD.org, osa at FreeBSD.org
Expected behavior
-----------------
Installing the net/ntopng port will pull in all dependencies required for the
typical configuration.
Observed behavior
-----------------
net/ntopng nominally requires databases/redis but registers no dependency on
it.
% pkg info -D ntopng | grep -A2 requires
ntopng requires to connect to a redis server to work. Please install redis
server from databases/redis or use -r option via ntopng_flags to specify a
remote one.
% pkg info -d ntopng
ntopng-2.4.2017.01.20_1:
ndpi-1.8.2016.07.13_1
libzmq4-4.1.5
GeoIP-1.6.10
luajit-2.0.4_1
curl-7.54.0
json-c-0.12.1
gettext-runtime-0.19.8.1_1
sqlite3-3.18.0
rrdtool-1.6.0_1
mysql56-client-5.6.36
How to reproduce
----------------
1. pkg install net/ntopng
2. Read the pkg-message
3. Check the dependencies of net/ntopng
Work-around
-----------
1. pkg install databases/redis
Fix
---
Option 1:
Unconditionally define RUN_DEPENDS=redis>=0:databases/redis
Option 2:
Define a new OPTION called REDIS that is enabled by default and define
REDIS_RUN_DEPENDS=redis>=0:databases/redis
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list