Since the upgrade to 2.0, csync now binds only to IPv6 where that is available on the system. http://lists.linbit.com/pipermail/csync2/2016-April/000020.html
Did you missed to attach a patch to approve? BTW, see no reason to change default $csync2_flags unless something is broken. Please use your own combination in rc.conf(5).
I have no patch because I don't know how to fix this. If it cannot be fixed, then I think FreeBSD should revert to the 1.x versions of csync2. I don't think it is reasonable to assume users no longer require IPv4.
You could set $csync2_flags to whatever you needs in rc.conf(5): csync2_enable=yes csync2_flags="-ii -v -N 127.0.0.1"
Do you think it is acceptable that users upgrading their FreeBSD ports system would be required to use an undocumented hack; which even when used, substantially changes the behaviour of the port from the previous version, since it is no longer possible to bind to multiple addresses? I think that the philosophy of the FreeBSD ports tree would go against such surprise to users, and a more correct approach would be either to fix it (if you possess the knowledge of FreeBSD ip libraries) or revert.
Created attachment 169678 [details] patch-csync2.c Try rebuilding csync2 with this patch in /usr/ports/net/csync2/files/.
I can confirm that before the patch I see this: # netstat -na | grep 30865 tcp6 0 0 *.30865 *.* LISTEN and after the patch I see: # netstat -na | grep 30865 tcp46 0 0 *.30865 *.* LISTEN Thanks for your work. I've reported it upstream to see if it might get merged.
Looks like nothing to approve because upstream has merged the patch? Anyway I'm okay with that change and thanks for quick fix.
A commit references this bug: Author: tijl Date: Wed Apr 27 20:05:11 UTC 2016 New revision: 414130 URL: https://svnweb.freebsd.org/changeset/ports/414130 Log: Rather than listening on two sockets, one for IPv4 and one for IPv6 the csync server listens on one IPv6 socket and uses IPv4 mapped IPv6 addresses to support IPv4. This IPv6 feature is disabled by default on FreeBSD so add a patch to enable it on the server socket. PR: 208928 Tested by: ari@ish.com.au Approved by: alexey@renatasystems.org (maintainer) Changes: head/net/csync2/Makefile head/net/csync2/files/patch-csync2.c