Hi!
I've patched torsocks-v2.0.0-rc3 to compile on NetBSD.
There is one warning left: syscall.c: In function 'handle_mmap': syscall.c:88:9: warning: cast from pointer to integer of different size
and I haven't done any functional tests yet. What is the easiest way to do that?
Attached are the patches I've used to get this far.
Some additional comments: The package installs a few files where it shouldn't:
share/DEBUG share/SOCKS5 share/socks-extensions.txt
These belong in share/doc/torsocks instead, I guess.
And what is the point of src.old inside the tarball?
Cheers, Thomas