[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Patch for Tsocks unifying the platform independent patches required for TOR

Hash: SHA1

Robert Hogan wrote:
> On Monday 20 November 2006 11:48, Ruben Garcia wrote:
>> Hello all
>> I made a unified patch for five of the seven patches mentioned in
>> http://wiki.noreply.org/noreply/TheOnionRouter/TSocksPatches
>> I did not apply the MacOSX or FreeBSD patches, partly because I don't
>> have access to osx or bsd (and therefore can't test them), and partly
>> because when I applied the bsd patch, configure didn't run on linux
>> anymore.
>> The new patch is here:
>> http://giig.ugr.es/~rgarcia/tsocks/
>> I don't consider myself suitable to work actively in tsocks, but since
>> the project is dead, with no changes since 2002, I can keep the current
>> version and apply patches on demand.
>> I'll have a look at the osx and bsd patches and update them so that they
>> apply cleanly to 1.8.1 when I have time.
> I for one would find the bsd patches very useful if you manage to clean them 
> for a system-agnostic install. I distribute the patched tsocks with tork and 
> it currently does not install on bsd.
Do you have access to a bsd machine?
I have never worked in bsd, so I don't know what the standard procedure
to distinguish the systems is.

Would something like

if [uname|grep BSD]
	/* bsd related configure options */
	/* General options */


Please test the uname in a bsd, and post the correct invocation.

I'll then unify the sources. The only changes is that the dynamic
library is in -ldl in Linux and in -lc in bsd.

I have not used automake before, so I don't know how to do this in
configure.in. I'll do it directly in configure, as per the bsd patches.

If somebody with access to osx wants to help, we can integrate the osx
patch as well.

Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org