Bug 252131 - net-mgmt/flow-tools: wrong config path for nfilter
Summary: net-mgmt/flow-tools: wrong config path for nfilter
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-25 14:31 UTC by Anton Menshutin
Modified: 2021-02-13 12:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Menshutin 2020-12-25 14:31:28 UTC
flow-nfilter can not load filters definitions because search path is wrong:

flow-nfilter: open(/usr/local/etc/sym/ip-prot.sym): No such file or directory
flow-nfilter: open(/usr/local/etc/sym/tcp-port.sym): No such file or directory
flow-nfilter: open(/usr/local/etc/sym/asn.sym): No such file or directory
flow-nfilter: open(/usr/local/etc/sym/tag.sym): No such file or directory
flow-nfilter: open(/usr/local/etc/cfg/filter.cfg): No such file or directory
flow-nfilter: ftfil_load(): failed
flow-print: ftiheader_read(): Warning, short read while loading header top.
flow-print: ftiheader_read(): failed
flow-print: ftio_init(): failed

Correct path should be /usr/local/etc/flow-tools. This is the path where all definitions are installed. And there is no sym or cfg subfolders.
Comment 1 commit-hook freebsd_committer 2021-02-13 12:38:06 UTC
A commit references this bug:

Author: bofh
Date: Sat Feb 13 12:37:53 UTC 2021
New revision: 565131
URL: https://svnweb.freebsd.org/changeset/ports/565131

Log:
  net-mgmt/flow-tools: Fix config path

  - Fix errors with python3.7 [1]

  PR:	251054 [1] , 252131
  Submitted by:	vladimir.pushkar@gmail.com [1]
  Reported by:	may@vlant.ru , andrew.hotlab@hotmail.com [1]

Changes:
  head/net-mgmt/flow-tools/Makefile
  head/net-mgmt/flow-tools/distinfo
  head/net-mgmt/flow-tools/files/patch-lib_ftxlate.c
  head/net-mgmt/flow-tools/files/patch-src_acl2.c
  head/net-mgmt/flow-tools/pkg-plist