The port is creating hardlinks in stagedir which pollutes the package, making it impossible to install on systems where /usr/local/share and /var/db are on different filesystems (which will be a lot of systems).
stage# find . -name Filebeat-Postgresql-slowlogs.json|xargs ls -i
The COPYTREE_SHARE macro uses cpio -l, which creates links instead of actually copying files.
Note: This probably also applies to sysutils/beats7
Thanks for the report, I will take care of it. Currently also beats7 is scheduled for update (final tests are pending), so I will look also on it.
beats7 does not install anything under /var/db/beats.
I'm also investigating why beats6 need(ed) kibana files under /var/db/beats.
I've got the same problem with hardlink:
===> Installing for beats6-6.8.12
===> Checking if beats6 is already installed
===> Registering installation for beats6-6.8.12
pkg-static: Fail to create hardlink: /var/db/beats/filebeat/kibana/5/dashboard/.pkgtemp.0d3f2380-fa78-11e6-ae9b-81e5311e8cab.json.C1FvaODKD1bT:Cross-device link
*** Error code 70
Previous version of beats6 installs fine.
Any progress on beats6?