[Pkg-anonymity-tools] Bug#768140: torsocks: FTBFS on kfreebsd-*
Steven Chamberlain
steven at pyro.eu.org
Fri Nov 7 14:00:26 UTC 2014
intrigeri at debian.org wrote:
> The fix for #766306 makes torsocks FTBFS on kfreebsd-*:
> https://buildd.debian.org/status/package.php?p=torsocks
Hi,
SO_DOMAIN was only accepted into POSIX earlier this year:
http://austingroupbugs.net/view.php?id=840
it seems to be only available yet on Linux and Solaris.
For FreeBSD I came up with the attached, hackish workaround
using SO_TYPE (widely available), and out of the available
protocols in PF_LOCAL (= AF_UNIX), assume that only
SOCK_{DGRAM,SEQPACKET,STREAM} are candidates for fd passing.
Perhaps someone has a better idea?
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd.patch
Type: text/x-diff
Size: 1056 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-anonymity-tools/attachments/20141107/ded803c2/attachment.patch>
More information about the Pkg-anonymity-tools
mailing list