-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
This is a reply to http://stunnel.mirt.net/pipermail/stunnel-users/2005-June/000541.html but it has nothing to do with oritignal subject, so I send it separately.
CVS version of the FreeBSD port of stunnel can be found at: http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/stunnel/ the files/ subdir contains some changes to the original source. Some of them are FreeBSD specific and need only be applied on FreeBSD, but some are not.
Changes to client.c are related to execvp problems. http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/stunnel/files/patch-src... can be useful.
Changes to common.h are a hack to make it possible for the user to choose ucontext/pthread/fork model at compile time. Log message can be found at: http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/stunnel/files/patch-src... It was invented as a workaround to the ucontext-problems, but is a good feature anyway.
I think it will be great if someday we can use ./configure options like - --with-ucontext, --with-pthread, --with-fork, instead of using this ugly hack :)
Regards, Vasil