Here are ebuilds and a patch for the current stable tor (0.1.2.19) and the current testing one (0.2.0.17-alpha).
Created attachment 141531 [details] tor-0.1.2.19 ebuild This compiles on amd64, but I haven't tested it for stability.
Created attachment 141533 [details] tor-0.2.0.17-alpha ebuild This compiles on amd64, but I haven't tested it for stability.
Created attachment 141534 [details] patch for tor version 0.2.* This applies successfully to tor-0.2.0.17-alpha but I don't know if it is needed nor if it works as I haven't tested the ebuilds yet.
Created attachment 141536 [details, diff] patch for tor version 0.2.* See previous comment.
They both seem to work (though I notice the headers need cleanup). The alpha version didn't seem to work at first but it did after I ran "tor --hash-password". Though I don't know if the events are actually related.
I'm not sure the patch for the alpha version is working. Logging seems to stop once the logs rotate. Sending SIGHUP manually causes logging to resume, but I thought that the patch handled this.
0.1.2.19 is bumped
Created attachment 160193 [details] Changed Filename Version-bump.
The latest version (0.2.0.29-rc) compiles and runs fine on amd64 with gcc --version gcc (Gentoo 4.3.1-r1 p1.1) 4.3.1 sys-libs/glibc Installed versions: 2.8_p20080602(2.2)(nls -crosscompile_opts_headers-only -debug -gd -glibc-compat20 -glibc-omitfp -hardened -multilib -profile -selinux -vanilla)
0.2.0.30 is stable now, and should work with the 0.2.0.29_rc ebuild attached here (does for me, x86). https://www.torproject.org/download.html.en#Dev shows it as stable for 'source tarballs', although there are no packages/etc yet. Debian seems to have 0.2.0.30 in their repository. Should probably get the ebuild into the tree at least, and work on stabilization.
Sorry, this bug got off my radar...will bump tor soon for bug 233612