Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 23:01:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218945] net/ntopng: Fails to specify run-time dependency on databases/redis
Message-ID:  <bug-218945-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218945

            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@FreeBSD.org
          Reporter: john@saltant.com
                CC: madpilot@FreeBSD.org, osa@FreeBSD.org
                CC: madpilot@FreeBSD.org, osa@FreeBSD.org

Expected behavior
-----------------

Installing the net/ntopng port will pull in all dependencies required for t=
he
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=3Dredis>=3D0:databases/redis

Option 2:

    Define a new OPTION called REDIS that is enabled by default and define
REDIS_RUN_DEPENDS=3Dredis>=3D0:databases/redis

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218945-13>