Created attachment 157631 [details] [patch] pmacct.patch When building with PGSQL=on on poudriere it missed lpq. checking for PQconnectdb in -lpq... no configure: error: ERROR: missing PQ library. Refer to: http://www.postgresql.org - The rc.d script has been modified so it can run multiple daemons, as explained in the comment of the script. It's needed for listening on multiple interfaces. The script is mostly a copy of rc.d/openvpn.
We don't want to use the symlink style method for running multiple instances. Better implementation examples can be found in: www/apache22/files/apache22.in (profiles) security/snort/files/snort.in (interfaces) The patch for multi-instance support, as it currently stands, is rejected. I've committed your fix for postgres/LIB_DEPENDS, thank you!
A commit references this bug: Author: zi Date: Thu Jun 11 15:25:42 UTC 2015 New revision: 389227 URL: https://svnweb.freebsd.org/changeset/ports/389227 Log: - Add LIB_DEPENDS for postgres support - Do not bump PORTREVISION as this is a NOOP by default PR: 200786 Submitted by: Niels Kristensen <niels@kristensen.io> Changes: head/net-mgmt/pmacct/Makefile
Created attachment 157647 [details] revised rc.d script based on the snort example I've revised the rc.d patch to use the style of the snort implementation.
Any news on this one?
Feedback please!
(In reply to w.schwarzenfeld from comment #5) Can you verify that the patch for multiple instances is functional?
I have the need for multiple instances and will test it.
A commit references this bug: Author: pi Date: Fri Feb 9 19:15:43 UTC 2018 New revision: 461328 URL: https://svnweb.freebsd.org/changeset/ports/461328 Log: net-mgmt/pmacct: update 1.6.1 -> 1.6.2, allow per-interface instances PR: 200786 Submitted by: Niels Kristensen <niels@kristensen.io> Relnotes: http://www.pmacct.net/ChangeLog-1.6.2 Changes: head/UPDATING head/net-mgmt/pmacct/Makefile head/net-mgmt/pmacct/distinfo head/net-mgmt/pmacct/files/pkg-message.in head/net-mgmt/pmacct/files/pmacctd.in head/net-mgmt/pmacct/pkg-plist
Committed, thanks!