[Csync2] [patch] fix build on FreeBSD and Ubuntu 10.04
Andrey Zonov
andrey at zonov.org
Thu Oct 27 17:08:18 CEST 2011
Hi,
I've got a few patches which fixes configuring and building csync2 from git.
Under Ubuntu 10.04 should be fixed configure.ac around checking gnutls [1]
Under FreeBSD need some more patches:
* Fix shebang in autogen.sh [2]
* FreeBSD 8 already has strlcpy(3), so fix it [3]
* Use one equal sign instead of double, to be more compatible with POSIX
Bourne Shell [4]
Platform independent:
* Close listen socket in child. [5]
* Use IPv4 for listen socket [6]. That's because of new systems already
has IPv6 support and may have only link-local addresses and aren't be
connected to the Internet or even local network via IPv6. So pretty fix is
create more than one listen socket.
[1] patch-ubuntu-configure.ac
[2] patch-autogen.sh
[3] patch-strlcpy-configure.ac-rsync.c
[4] patch-posix-shell-configure.ac
[5] patch-close-listen-csync2.c
[6] patch-use-ipv4-csync2.c
--
Andrey Zonov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-autogen.sh
Type: application/x-sh
Size: 270 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-close-listen-csync2.c
Type: text/x-csrc
Size: 258 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-posix-shell-configure.ac
Type: application/octet-stream
Size: 1415 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-strlcpy-configure.ac-rsync.c
Type: text/x-csrc
Size: 823 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ubuntu-configure.ac
Type: application/octet-stream
Size: 1190 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-use-ipv4-csync2.c
Type: text/x-csrc
Size: 408 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/csync2/attachments/20111027/067dd245/attachment-0002.c>
More information about the Csync2
mailing list